Appearance
IEmbeddingProvider Interface
Definition
Produces embedding vectors for indexed content and search queries.
- Namespace:
JASE.Embeddings - Assembly:
JASE.Embeddings.dll
Properties
| Name | Description |
|---|---|
Dimensions | Gets the dimensionality of vectors produced by this provider. |
ModelId | Gets the model identifier configured for this provider instance. |
ProviderName | Gets the stable provider name (for example, lm-kit). |
Methods
| Name | Description |
|---|---|
Task<EmbeddingResult> EmbedAsync(EmbeddingRequest request, CancellationToken cancellationToken = null) | Embeds a single text value. |
Task<IReadOnlyList<EmbeddingResult>> EmbedBatchAsync(IReadOnlyList<string> texts, EmbeddingRole role, CancellationToken cancellationToken = null) | Embeds multiple text values with the same role. |