QdrantVectorStoreRecordCollection<TRecord> Class

Definition

Service for storing and retrieving vector records, that uses Qdrant as the underlying storage.

public class QdrantVectorStoreRecordCollection<TRecord> : Microsoft.Extensions.VectorData.IKeywordHybridSearch<TRecord>, Microsoft.Extensions.VectorData.IVectorizedSearch<TRecord>, Microsoft.Extensions.VectorData.IVectorStoreRecordCollection<Guid,TRecord>, Microsoft.Extensions.VectorData.IVectorStoreRecordCollection<ulong,TRecord>
type QdrantVectorStoreRecordCollection<'Record> = class
    interface IVectorStoreRecordCollection<uint64, 'Record>
    interface IVectorizedSearch<'Record>
    interface IVectorStoreRecordCollection<Guid, 'Record>
    interface IKeywordHybridSearch<'Record>
Public Class QdrantVectorStoreRecordCollection(Of TRecord)
Implements IKeywordHybridSearch(Of TRecord), IVectorizedSearch(Of TRecord), IVectorStoreRecordCollection(Of Guid, TRecord), IVectorStoreRecordCollection(Of ULong, TRecord)

Type Parameters

TRecord

The data model to use for adding, updating and retrieving data from storage.

Inheritance
QdrantVectorStoreRecordCollection<TRecord>
Implements
Microsoft.Extensions.VectorData.IKeywordHybridSearch<TRecord> Microsoft.Extensions.VectorData.IVectorizedSearch<TRecord> Microsoft.Extensions.VectorData.IVectorStoreRecordCollection<Guid,TRecord> Microsoft.Extensions.VectorData.IVectorStoreRecordCollection<UInt64,TRecord>

Constructors

Name Description
QdrantVectorStoreRecordCollection<TRecord>(QdrantClient, String, QdrantVectorStoreRecordCollectionOptions<TRecord>)

Initializes a new instance of the QdrantVectorStoreRecordCollection<TRecord> class.

Properties

Name Description
CollectionName Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.CollectionName

Methods

Name Description
CollectionExistsAsync(CancellationToken) Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.CollectionExistsAsync(System.Threading.CancellationToken)
CreateCollectionAsync(CancellationToken) Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.CreateCollectionAsync(System.Threading.CancellationToken)
CreateCollectionIfNotExistsAsync(CancellationToken) Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.CreateCollectionIfNotExistsAsync(System.Threading.CancellationToken)
DeleteAsync(Guid, CancellationToken) Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.DeleteAsync(`0,System.Threading.CancellationToken)
DeleteAsync(UInt64, CancellationToken) Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.DeleteAsync(`0,System.Threading.CancellationToken)
DeleteBatchAsync(IEnumerable<Guid>, CancellationToken) Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.DeleteBatchAsync(System.Collections.Generic.IEnumerable{`0},System.Threading.CancellationToken)
DeleteBatchAsync(IEnumerable<UInt64>, CancellationToken) Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.DeleteBatchAsync(System.Collections.Generic.IEnumerable{`0},System.Threading.CancellationToken)
DeleteCollectionAsync(CancellationToken) Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.DeleteCollectionAsync(System.Threading.CancellationToken)
GetAsync(Guid, GetRecordOptions, CancellationToken) Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.GetAsync(`0,Microsoft.Extensions.VectorData.GetRecordOptions,System.Threading.CancellationToken)
GetAsync(UInt64, GetRecordOptions, CancellationToken) Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.GetAsync(`0,Microsoft.Extensions.VectorData.GetRecordOptions,System.Threading.CancellationToken)
GetBatchAsync(IEnumerable<Guid>, GetRecordOptions, CancellationToken) Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.GetBatchAsync(System.Collections.Generic.IEnumerable{`0},Microsoft.Extensions.VectorData.GetRecordOptions,System.Threading.CancellationToken)
GetBatchAsync(IEnumerable<UInt64>, GetRecordOptions, CancellationToken) Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.GetBatchAsync(System.Collections.Generic.IEnumerable{`0},Microsoft.Extensions.VectorData.GetRecordOptions,System.Threading.CancellationToken)
HybridSearchAsync<TVector>(TVector, ICollection<String>, HybridSearchOptions<TRecord>, CancellationToken) Microsoft.Extensions.VectorData.IKeywordHybridSearch`1.HybridSearchAsync``1(``0,System.Collections.Generic.ICollection{System.String},Microsoft.Extensions.VectorData.HybridSearchOptions{`0},System.Threading.CancellationToken)
UpsertAsync(TRecord, CancellationToken) Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.UpsertAsync(`1,System.Threading.CancellationToken)
UpsertBatchAsync(IEnumerable<TRecord>, CancellationToken) Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.UpsertBatchAsync(System.Collections.Generic.IEnumerable{`1},System.Threading.CancellationToken)
VectorizedSearchAsync<TVector>(TVector, VectorSearchOptions<TRecord>, CancellationToken) Microsoft.Extensions.VectorData.IVectorizedSearch`1.VectorizedSearchAsync``1(``0,Microsoft.Extensions.VectorData.VectorSearchOptions{`0},System.Threading.CancellationToken)

Explicit Interface Implementations

Name Description
IVectorStoreRecordCollection<Guid,TRecord>.UpsertAsync(TRecord, CancellationToken) Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.UpsertAsync(`1,System.Threading.CancellationToken)
IVectorStoreRecordCollection<Guid,TRecord>.UpsertBatchAsync(IEnumerable<TRecord>, CancellationToken) Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.UpsertBatchAsync(System.Collections.Generic.IEnumerable{`1},System.Threading.CancellationToken)

Applies to