Skip to content

IEmbeddingService Interface ​

Definition ​

Application-facing embedding API used by indexing and search code paths.

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

Properties ​

NameDescription
ProviderGets the active provider metadata.

Methods ​

NameDescription
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.