Embedding Invocation History
interface 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
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Total embedding call count. Default = own; overridable for subtree aggregation.
Link copied to clipboard
Distinct list of embedding services used, sorted by name.
Link copied to clipboard
Aggregated token usage across all embedding calls. Embeddings have no completion tokens, so Usage.completionTokens is null.