Partager via


PineconeDocument.Create(String, ReadOnlyMemory<Single>) Method

Definition

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.

Returns

Applies to