Partager via


PineconeClient.DescribeIndexStatsAsync Method

Definition

Describe Index Stats

public System.Threading.Tasks.Task<Microsoft.SemanticKernel.Connectors.Pinecone.IndexStats?> DescribeIndexStatsAsync (string indexName, System.Collections.Generic.Dictionary<string,object>? filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DescribeIndexStatsAsync : string * System.Collections.Generic.Dictionary<string, obj> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.SemanticKernel.Connectors.Pinecone.IndexStats>
override this.DescribeIndexStatsAsync : string * System.Collections.Generic.Dictionary<string, obj> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.SemanticKernel.Connectors.Pinecone.IndexStats>
Public Function DescribeIndexStatsAsync (indexName As String, Optional filter As Dictionary(Of String, Object) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IndexStats)

Parameters

indexName
String

the name of the index

filter
Dictionary<String,Object>

a filter to use

cancellationToken
CancellationToken

Cancellation Token to cancel the request.

Returns

the index stats

Implements

Applies to