Share via


QdrantMemoryStore.GetWithPointIdAsync Method

Definition

Get a MemoryRecord from the Qdrant Vector database by pointId.

public System.Threading.Tasks.Task<Microsoft.SemanticKernel.Memory.MemoryRecord?> GetWithPointIdAsync (string collectionName, string pointId, bool withEmbedding = false, System.Threading.CancellationToken cancellationToken = default);
member this.GetWithPointIdAsync : string * string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.SemanticKernel.Memory.MemoryRecord>
Public Function GetWithPointIdAsync (collectionName As String, pointId As String, Optional withEmbedding As Boolean = false, Optional cancellationToken As CancellationToken = Nothing) As Task(Of MemoryRecord)

Parameters

collectionName
String

The name associated with a collection of embeddings.

pointId
String

The unique indexed ID associated with the Qdrant vector record to get.

withEmbedding
Boolean

If true, the embedding will be returned in the memory record.

cancellationToken
CancellationToken

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

Returns

Memory record

Exceptions

Applies to