PineconeClient.CreateIndexAsync(IndexDefinition, CancellationToken) 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.
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