Partager via


PineconeClient.CreateIndexAsync(IndexDefinition, CancellationToken) Method

Definition

Create index

public System.Threading.Tasks.Task CreateIndexAsync (Microsoft.SemanticKernel.Connectors.Pinecone.IndexDefinition indexDefinition, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateIndexAsync : Microsoft.SemanticKernel.Connectors.Pinecone.IndexDefinition * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CreateIndexAsync : Microsoft.SemanticKernel.Connectors.Pinecone.IndexDefinition * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CreateIndexAsync (indexDefinition As IndexDefinition, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

indexDefinition
IndexDefinition

the configuration of the index.

cancellationToken
CancellationToken

Cancellation Token to cancel the request.

Returns

Task of void

Implements

Applies to