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
The VectorizedSearchAsync method allows searching using data that has already been vectorized.
This method takes a vector and an optional VectorSearchOptions class as input. This method is available on the following interfaces:
IVectorizedSearch<TRecord>
IVectorStoreRecordCollection<TKey, TRecord>
Note that IVectorStoreRecordCollection<TKey, TRecord> inherits from IVectorizedSearch<TRecord>.
And this unit test confirms that by grabbing IVectorSearch off the collection interface:
var collection = kernel.Services.GetRequiredService<IVectorStoreRecordCollection<ulong, TestRecord>>();
Assert.NotNull(collection);
Assert.IsType<QdrantVectorStoreRecordCollection<TestRecord>>(collection);
var vectorizedSearch = kernel.Services.GetRequiredService<IVectorizedSearch<TestRecord>>();
However, I'm using Microsoft.SemanticKernel.Connectors.Qdrant version 1.22.0-alpha and the reference is not resolved:
And the source does not show IVectorStoreRecordCollection inheriting from IVectorizedSearch:
[Experimental("SKEXP0001")]
#pragma warning disable CA1711 // Identifiers should not have incorrect suffix
public interface IVectorStoreRecordCollection<TKey, TRecord>
#pragma warning restore CA1711 // Identifiers should not have incorrect suffix
where TKey : notnull
where TRecord : class
{
The text was updated successfully, but these errors were encountered:
@lilhoser, the packages are now published and contains the new vector search capabilities. Apologies again for the delay and confusion.
Check out version 1.24.1 of any of the out of the box connectors, e.g.
Note that the Pinecone connector is the only one that doesn't have VectorSearch implemented yet, as documented in limitations here, but this will follow soon.
This page states:
And this unit test confirms that by grabbing
IVectorSearch
off the collection interface:However, I'm using
Microsoft.SemanticKernel.Connectors.Qdrant
version1.22.0-alpha
and the reference is not resolved:And the source does not show
IVectorStoreRecordCollection
inheriting fromIVectorizedSearch
:The text was updated successfully, but these errors were encountered: