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