Query.WithVector(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.
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.