QdrantVectorStoreRecordCollection<TRecord>.GetBatchAsync Method
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.
Overloads
GetBatchAsync(IEnumerable<Guid>, GetRecordOptions, CancellationToken) | |
GetBatchAsync(IEnumerable<UInt64>, GetRecordOptions, CancellationToken) |
GetBatchAsync(IEnumerable<Guid>, GetRecordOptions, CancellationToken)
Gets a batch of records from the vector store. Does not guarantee that the collection exists.
public virtual System.Collections.Generic.IAsyncEnumerable<TRecord> GetBatchAsync(System.Collections.Generic.IEnumerable<Guid> keys, Microsoft.Extensions.VectorData.GetRecordOptions? options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBatchAsync : seq<Guid> * Microsoft.Extensions.VectorData.GetRecordOptions * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Record>
override this.GetBatchAsync : seq<Guid> * Microsoft.Extensions.VectorData.GetRecordOptions * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Record>
Public Overridable Function GetBatchAsync (keys As IEnumerable(Of Guid), Optional options As GetRecordOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of TRecord)
Parameters
- keys
- IEnumerable<Guid>
- options
- GetRecordOptions
- cancellationToken
- CancellationToken
Returns
IAsyncEnumerable<TRecord>
Implements
Applies to
GetBatchAsync(IEnumerable<UInt64>, GetRecordOptions, CancellationToken)
Gets a batch of records from the vector store. Does not guarantee that the collection exists.
public virtual System.Collections.Generic.IAsyncEnumerable<TRecord> GetBatchAsync(System.Collections.Generic.IEnumerable<ulong> keys, Microsoft.Extensions.VectorData.GetRecordOptions? options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBatchAsync : seq<uint64> * Microsoft.Extensions.VectorData.GetRecordOptions * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Record>
override this.GetBatchAsync : seq<uint64> * Microsoft.Extensions.VectorData.GetRecordOptions * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<'Record>
Public Overridable Function GetBatchAsync (keys As IEnumerable(Of ULong), Optional options As GetRecordOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of TRecord)
Parameters
- keys
- IEnumerable<UInt64>
- options
- GetRecordOptions
- cancellationToken
- CancellationToken
Returns
IAsyncEnumerable<TRecord>