IVectorSearchable<TRecord> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines an interface for performing vector searches on a vector store.
generic <typename TRecord>
public interface class IVectorSearchable
public interface IVectorSearchable<TRecord>
type IVectorSearchable<'Record> = interface
Public Interface IVectorSearchable(Of TRecord)
Type Parameters
- TRecord
The record data model to use for retrieving data from the store.
- Derived
Methods
GetService(Type, Object) |
Asks the IVectorSearchable<TRecord> for an object of the specified type |
SearchAsync<TInput>(TInput, Int32, VectorSearchOptions<TRecord>, CancellationToken) |
Searches the vector store for records that are similar to the given value. |
Extension Methods
GetRequiredService<TRecord>(IVectorSearchable<TRecord>, Type, Object) |
Asks the IVectorSearchable<TRecord> for an object of the specified type |