Embedding Invocation
data class EmbeddingInvocation(val embeddingMetadata: EmbeddingServiceMetadata, val usage: Usage, val agentName: String? = null, val timestamp: Instant, val runningTime: Duration)
Invocation we made to an EmbeddingServiceMetadata. Mirror of LlmInvocation for embedding services.
Embeddings have no completion tokens, only prompt tokens.
Parameters
agent Name
name of the agent, if known
Constructors
Link copied to clipboard
constructor(embeddingMetadata: EmbeddingServiceMetadata, usage: Usage, agentName: String? = null, timestamp: Instant, runningTime: Duration)