Skip to content

EmbedQueryAsync Method ​

Definition ​

  • Namespace: JASE.Embeddings
  • Assembly: JASE.Embeddings.dll

Task<EmbeddingResult> EmbedQueryAsync(string text, CancellationToken cancellationToken = null) ​

csharp
Task<EmbeddingResult> EmbedQueryAsync(string text, CancellationToken cancellationToken = null)

Embeds a search query phrase.

Parameters ​

NameDescription
cancellationTokenA token used to cancel the operation.
textThe query text.

Returns ​

The embedding result.