An integration of Qdrant ANN vector database backend with Haystack
Project description
qdrant-haystack
An integration of Qdrant vector database with Haystack by deepset.
The library finally allows using Qdrant as a document store, and provides an in-place replacement
for any other vector embeddings store. Thus, you should expect any kind of application to be working
smoothly just by changing the provider to QdrantDocumentStore
.
Installation
qdrant-haystack
might be installed as any other Python library, using pip or poetry:
pip install qdrant-haystack
poetry add qdrant-haystack
Usage
Once installed, you can already start using QdrantDocumentStore
as any other store that supports
embeddings.
from qdrant_haystack import QdrantDocumentStore
document_store = QdrantDocumentStore(
host="localhost",
index="Document",
embedding_dim=512,
recreate_index=True,
)
The list of parameters accepted by QdrantDocumentStore
is complementary to those used in the
official Python Qdrant client.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for qdrant_haystack-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f814936c744bbce113bea97fafe4edf976059c2f576d011ffb5e4c18b4d1130d |
|
MD5 | 21b573206e315b194d877b8b600b51a6 |
|
BLAKE2b-256 | 590b4259df4345d313b94e192f8d4d6ed4dafddd0bd0ed58500cfb8bb481093f |