Metadata-Version: 2.4
Name: hydrogen-ai-qdrant
Version: 0.1.0
Summary: Qdrant vector store for hydrogen-ai
License: MIT
Author: phillychi3
Author-email: phillychi3@gmail.com
Requires-Python: >=3.9
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: hydrogen-ai (>=0.2.0,<0.3.0)
Requires-Dist: qdrant-client (>=1.15.1,<2.0.0)
Description-Content-Type: text/markdown

# hydrogen-ai-qdrant

Qdrant vector store for [hydrogen-ai](../../README.md).

```bash
pip install hydrogen-ai-qdrant
```

```python
from hai.vectorstores import VectorStoreRetriever, VectorStoreWriter
from hai.vectorstores.qdrant import QdrantStore

store = QdrantStore(url="http://localhost:6333", collection_name="docs")
# or a local file / in-memory instance:
# store = QdrantStore(path="./qdrant_data")
# store = QdrantStore(location=":memory:")

writer = VectorStoreWriter(store=store)
retriever = VectorStoreRetriever(store=store, top_k=5)
```

The collection is created on first use. Its vector size is inferred from the first
embedding unless `embedding_dim` is given.

