Skip to content

v1.6.1

Compare
Choose a tag to compare
@generall generall released this 16 Oct 17:11
· 222 commits to master since this release

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:

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())