Changelog
Features
* Proper support for Async client - https://github.com/qdrant/qdrant-client/pull/319
* Now all methods of regular qdrant client are available in async version.
* All method names, parameters and return types are preserved.
* Both gRPC and REST version are available.
* Improvements of [fastembed](https://github.com/qdrant/fastembed) integration:
* Support the latest v0.1.x version of fastembed: https://github.com/qdrant/fastembed/releases/tag/0.1.0
* Support for encoding of iterators in `add` API, useful for lazy reading of large dataset
* Support for data-level parallelism of the encoding operations
Fixes
* https://github.com/qdrant/qdrant-client/pull/337 - fix: convert score to float in local mode for pydantic
---
Async Qdrant client usage example:
python
from qdrant_client import AsyncQdrantClient, models
import numpy as np
import asyncio
async def main():
client = AsyncQdrantClient(url="http://localhost:6333")
res = await client.search(
collection_name="my_collection",
query_vector=np.random.rand(10).tolist(), type: ignore
limit=10,
)
print(res)
asyncio.run(main())