Partager via


QdrantVectorDbClient.UpsertVectorsAsync Method

Definition

Upsert a group of vectors into a collection.

public System.Threading.Tasks.Task UpsertVectorsAsync (string collectionName, System.Collections.Generic.IEnumerable<Microsoft.SemanticKernel.Connectors.Qdrant.QdrantVectorRecord> vectorData, System.Threading.CancellationToken cancellationToken = default);
abstract member UpsertVectorsAsync : string * seq<Microsoft.SemanticKernel.Connectors.Qdrant.QdrantVectorRecord> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UpsertVectorsAsync : string * seq<Microsoft.SemanticKernel.Connectors.Qdrant.QdrantVectorRecord> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function UpsertVectorsAsync (collectionName As String, vectorData As IEnumerable(Of QdrantVectorRecord), Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

collectionName
String

The name assigned to a collection of vectors.

vectorData
IEnumerable<QdrantVectorRecord>

The Qdrant vector records to upsert.

cancellationToken
CancellationToken

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

Returns

Implements

Applies to