Skip to content

EmbedPassageAsync Method ​

Definition ​

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

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

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

Embeds indexed content such as a ticket chunk.

Parameters ​

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

Returns ​

The embedding result.