PineconeDocument.Create(String, ReadOnlyMemory<Single>) 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.
Initializes a new instance of the PineconeDocument class.
public static Microsoft.SemanticKernel.Connectors.Pinecone.PineconeDocument Create (string? id = default, ReadOnlyMemory<float> values = default);
static member Create : string * ReadOnlyMemory<single> -> Microsoft.SemanticKernel.Connectors.Pinecone.PineconeDocument
Public Shared Function Create (Optional id As String = Nothing, Optional values As ReadOnlyMemory(Of Single) = Nothing) As PineconeDocument
Parameters
- id
- String
The unique ID of a vector.
- values
- ReadOnlyMemory<Single>
Vector dense data. This should be the same length as the dimension of the index being queried.