Partager via


IQdrantVectorDbClient.CreateCollectionAsync(String, CancellationToken) Method

Definition

Create a Qdrant vector collection.

public System.Threading.Tasks.Task CreateCollectionAsync (string collectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateCollectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CreateCollectionAsync (collectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

collectionName
String

The name assigned to a collection of vectors.

cancellationToken
CancellationToken

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

Returns

Applies to