Partager via


PineconeDocument.WithSparseValues(SparseVectorData) Method

Definition

Sets sparse vector data for PineconeDocument class.

public Microsoft.SemanticKernel.Connectors.Pinecone.PineconeDocument WithSparseValues (Microsoft.SemanticKernel.Connectors.Pinecone.SparseVectorData? sparseValues);
member this.WithSparseValues : Microsoft.SemanticKernel.Connectors.Pinecone.SparseVectorData -> Microsoft.SemanticKernel.Connectors.Pinecone.PineconeDocument
Public Function WithSparseValues (sparseValues As SparseVectorData) As PineconeDocument

Parameters

sparseValues
SparseVectorData

Vector sparse data. Represented as a list of indices and a list of corresponded values, which must be the same length.

Returns

Applies to