PineconeClient.ConfigureIndexAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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