Appearance
IEmbeddingService Interface
Definition
Application-facing embedding API used by indexing and search code paths.
- Namespace:
JASE.Embeddings - Assembly:
JASE.Embeddings.dll
Properties
| Name | Description |
|---|---|
Provider | Gets the active provider metadata. |
Methods
| Name | Description |
|---|---|
Task<EmbeddingResult> EmbedPassageAsync(string text, CancellationToken cancellationToken = null) | Embeds indexed content such as a ticket chunk. |
Task<IReadOnlyList<EmbeddingResult>> EmbedPassagesAsync(IReadOnlyList<string> texts, CancellationToken cancellationToken = null) | Embeds multiple passages in one provider call when supported. |
Task<EmbeddingResult> EmbedQueryAsync(string text, CancellationToken cancellationToken = null) | Embeds a search query phrase. |