You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create a Qdrant VectorStore object
var vectorStore = new QdrantVectorStore(new QdrantClient("192.168.16.53"));
// Choose a collection from the database and specify the type of key and record stored in it via Generic parameters.
var collection = vectorStore.GetCollection<ulong, Hotel>("skhotels");
// Create the collection if it doesn't exist yet.
await collection.CreateCollectionIfNotExistsAsync();
await collection.CreateCollectionIfNotExistsAsync(); error System.InvalidOperationException:“Distance function 'CosineDistance' for VectorStoreRecordVectorProperty 'DescriptionEmbedding' is not supported by the Qdrant VectorStore.”
Please fix the documentation or sk source code, I will be very grateful.
The text was updated successfully, but these errors were encountered:
SK source code:
docs:
https://learn.microsoft.com/en-us/semantic-kernel/concepts/vector-store-connectors/?pivots=programming-language-csharp#define-your-data-model
https://learn.microsoft.com/en-us/semantic-kernel/concepts/vector-store-connectors/out-of-the-box-connectors/qdrant-connector?pivots=programming-language-csharp#property-name-override
my code:
await collection.CreateCollectionIfNotExistsAsync(); error System.InvalidOperationException:“Distance function 'CosineDistance' for VectorStoreRecordVectorProperty 'DescriptionEmbedding' is not supported by the Qdrant VectorStore.”
Please fix the documentation or sk source code, I will be very grateful.
The text was updated successfully, but these errors were encountered: