Share via


Query.Create(Int32) Method

Definition

Initializes a new instance of the Query class.

public static Microsoft.SemanticKernel.Connectors.Pinecone.Query Create (int topK);
static member Create : int -> Microsoft.SemanticKernel.Connectors.Pinecone.Query
Public Shared Function Create (topK As Integer) As Query

Parameters

topK
Int32

The number of results to return for each query.

Returns

Applies to