v1.6.1
Changelog
Features
-
Proper support for Async client - #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 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
- #337 - fix: convert score to float in local mode for pydantic
Async Qdrant client usage example:
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())