Support multiple collections (#26)
* Allow passing the collection name in each request to override the default * Allow getting the collection names in QdrantConnector * get vector size from model description * ruff format * add isort * apply pre-commit hooks --------- Co-authored-by: generall <andrey@vasnetsov.com>
This commit is contained in:
@@ -19,3 +19,8 @@ class EmbeddingProvider(ABC):
|
||||
def get_vector_name(self) -> str:
|
||||
"""Get the name of the vector for the Qdrant collection."""
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def get_vector_size(self) -> int:
|
||||
"""Get the size of the vector for the Qdrant collection."""
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user