Partager via


Query.WithVector(ReadOnlyMemory<Single>) Method

Definition

Sets vector for Query instance.

public Microsoft.SemanticKernel.Connectors.Pinecone.Query WithVector (ReadOnlyMemory<float> vector);
member this.WithVector : ReadOnlyMemory<single> -> Microsoft.SemanticKernel.Connectors.Pinecone.Query
Public Function WithVector (vector As ReadOnlyMemory(Of Single)) As Query

Parameters

vector
ReadOnlyMemory<Single>

Vector dense data. This should be the same length as the dimension of the index being queried.

Returns

Applies to