EmbeddingInvocationHistory

History of embedding invocations made during an agent process or other embedding-consuming component (e.g. ingestion pipelines, RAG indexing).

Methods on this interface report embedding-only figures. For aggregate cost/usage that combines LLM and embedding calls, see AgentProcess.

Inheritors

Properties

Functions

Link copied to clipboard
open fun embeddingCost(): Double
Link copied to clipboard
Link copied to clipboard

Total embedding call count. Default = own; overridable for subtree aggregation.

Link copied to clipboard
open fun embeddingModelsUsed(): List<<Error class: unknown class>>

Distinct list of embedding services used, sorted by name.

Link copied to clipboard
open fun embeddingUsage(): Usage

Aggregated token usage across all embedding calls. Embeddings have no completion tokens, so Usage.completionTokens is null.