Skip to content

Make Vyriad qdrant optional #404

@minump

Description

@minump

VectorDB has 2 QdrantClient - only with QDRANT_URL and another with VYRIAD_QDRANT_URL . If VYRIAD_QDRANT_URL is not present,

self.vyriad_qdrant_client = QdrantClient(url=os.environ['VYRIAD_QDRANT_URL'],
this will throw an error.
This is problematic for the self-hosted version as there is no vyraid vectorDB needed.

As a temporary fix : have the vyriad vectorDB in a try-catch code similar to cropwizard.
Later explore better options.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions