Partager via


IndexDefinition.WithMetadataIndex(MetadataIndexConfig) Method

Definition

Sets metadata index configuration for IndexDefinition instance.

public Microsoft.SemanticKernel.Connectors.Pinecone.IndexDefinition WithMetadataIndex (Microsoft.SemanticKernel.Connectors.Pinecone.MetadataIndexConfig? config = default);
member this.WithMetadataIndex : Microsoft.SemanticKernel.Connectors.Pinecone.MetadataIndexConfig -> Microsoft.SemanticKernel.Connectors.Pinecone.IndexDefinition
Public Function WithMetadataIndex (Optional config As MetadataIndexConfig = Nothing) As IndexDefinition

Parameters

config
MetadataIndexConfig

The metadata index configuration.

Returns

Applies to