Partager via


IndexStats Constructor

Definition

Initializes a new instance of the IndexStats class.

public IndexStats (System.Collections.Generic.Dictionary<string,Microsoft.SemanticKernel.Connectors.Pinecone.IndexNamespaceStats> namespaces, int dimension = 0, float indexFullness = 0, long totalVectorCount = 0);
new Microsoft.SemanticKernel.Connectors.Pinecone.IndexStats : System.Collections.Generic.Dictionary<string, Microsoft.SemanticKernel.Connectors.Pinecone.IndexNamespaceStats> * int * single * int64 -> Microsoft.SemanticKernel.Connectors.Pinecone.IndexStats
Public Sub New (namespaces As Dictionary(Of String, IndexNamespaceStats), Optional dimension As Integer = 0, Optional indexFullness As Single = 0, Optional totalVectorCount As Long = 0)

Parameters

namespaces
Dictionary<String,IndexNamespaceStats>

Namespaces.

dimension
Int32

The number of dimensions in the vector representation.

indexFullness
Single

The fullness of the index, regardless of whether a metadata filter expression was passed. The granularity of this metric is 10%.

totalVectorCount
Int64

totalVectorCount.

Applies to