Partager via


QdrantMemoryStore.GetWithPointIdBatchAsync Method

Definition

Get memory records from the Qdrant Vector database using a group of pointIds.

public System.Collections.Generic.IAsyncEnumerable<Microsoft.SemanticKernel.Memory.MemoryRecord> GetWithPointIdBatchAsync (string collectionName, System.Collections.Generic.IEnumerable<string> pointIds, bool withEmbeddings = false, System.Threading.CancellationToken cancellationToken = default);
member this.GetWithPointIdBatchAsync : string * seq<string> * bool * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<Microsoft.SemanticKernel.Memory.MemoryRecord>
Public Function GetWithPointIdBatchAsync (collectionName As String, pointIds As IEnumerable(Of String), Optional withEmbeddings As Boolean = false, Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of MemoryRecord)

Parameters

collectionName
String

The name associated with a collection of embeddings.

pointIds
IEnumerable<String>

The unique indexed IDs associated with Qdrant vector records to get.

withEmbeddings
Boolean

If true, the embeddings will be returned in the memory records.

cancellationToken
CancellationToken

The CancellationToken to monitor for cancellation requests. The default is None.

Returns

Memory records

Applies to