semantic-kernel
semantic-kernel copied to clipboard
Suggestion: It is recommended to use Grpc to implement Connectors.Memory.Qdrant, QdrantMemoryStore and QdrantVectorDbClient in order to improve the accessibility performance of Qdrant.
To improve the accessibility performance of Qdrant, it is recommended to use Grpc for implementing Connectors.Memory.Qdrant, QdrantMemoryStore, and QdrantVectorDbClient. I have observed that httpclient becomes slow when the request contains multiple vectors with 1536 dimensions.
I would like to know if the httpclient in SK qdrant connector supports gzip while sending a request (not response).
For your reference, I have provided a simple search sample below:
https://github.com/AwesomeYuer/VectorDataBases.Performance/blob/54d388f4465361231ad44477da18eb65e02deff6/VectorDataBases.Performance/TestContext.cs#L327
original proto file, need modify for .NET/C# in above sample: https://github.com/qdrant/go-client/tree/master/proto
BTW:
Although gRPC support has not been officially released, most other programming languages already support it.
https://github.com/qdrant/qdrant/blob/master/QUICK_START_GRPC.md
Quick Start with Qdrant using GRPC DISCLAIMER: The GRPC API for Qdrant are under development and disabled by default in production builds. Limited functionality is exposed at the moment. This draft tutorial is for testing and internal use only.
@AwesomeYuer once the gRPC is GA we will take a look. Thanks for bringing this up!
grpc client https://github.com/russcam/qdrant-dotnet-client
All .Net issues prior to 1-Dec-2023 are being closed. Please re-open, if this issue is still relevant to the .Net Semantic Kernel 1.x release. In the future all issues that are inactive for more than 90 days will be labelled as 'stale' and closed 14 days later.