Partager via


PineconeClient.ConfigureIndexAsync Method

Definition

Configure index

public System.Threading.Tasks.Task ConfigureIndexAsync (string indexName, int replicas = 1, Microsoft.SemanticKernel.Connectors.Pinecone.PodType podType = Microsoft.SemanticKernel.Connectors.Pinecone.PodType.P1X1, System.Threading.CancellationToken cancellationToken = default);
abstract member ConfigureIndexAsync : string * int * Microsoft.SemanticKernel.Connectors.Pinecone.PodType * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ConfigureIndexAsync : string * int * Microsoft.SemanticKernel.Connectors.Pinecone.PodType * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ConfigureIndexAsync (indexName As String, Optional replicas As Integer = 1, Optional podType As PodType = Microsoft.SemanticKernel.Connectors.Pinecone.PodType.P1X1, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

indexName
String

the name of the index.

replicas
Int32

the number of replicas to use.

podType
PodType

the pod type to use.

cancellationToken
CancellationToken

Cancellation Token to cancel the request.

Returns

Task of void

Implements

Applies to