Appearance
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
| Name | Description |
|---|---|
cancellationToken | A token used to cancel the operation. |
text | The passage text. |
Returns
The embedding result.