SparseVectorData(List<Int64>, ReadOnlyMemory<Single>) Constructor
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.
Initializes a new instance of the SparseVectorData class.
[System.Text.Json.Serialization.JsonConstructor]
public SparseVectorData (System.Collections.Generic.List<long> indices, ReadOnlyMemory<float> values);
[<System.Text.Json.Serialization.JsonConstructor>]
new Microsoft.SemanticKernel.Connectors.Pinecone.SparseVectorData : System.Collections.Generic.List<int64> * ReadOnlyMemory<single> -> Microsoft.SemanticKernel.Connectors.Pinecone.SparseVectorData
Public Sub New (indices As List(Of Long), values As ReadOnlyMemory(Of Single))
Parameters
- values
- ReadOnlyMemory<Single>
The corresponding values of the sparse data, which must be the same length as the indices. (required).
- Attributes