Partager via


IndexDefinition.WithDimension(Int32) Method

Definition

Sets dimension for IndexDefinition instance.

public Microsoft.SemanticKernel.Connectors.Pinecone.IndexDefinition WithDimension (int dimension);
member this.WithDimension : int -> Microsoft.SemanticKernel.Connectors.Pinecone.IndexDefinition
Public Function WithDimension (dimension As Integer) As IndexDefinition

Parameters

dimension
Int32

The number of dimensions in the vector representation.

Returns

Applies to