PineconeDocument.WithSparseValues(SparseVectorData) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.