EmbeddingEvent

interface EmbeddingEvent

Events emitted by an embedding service call.

Independent of any AgentProcess so that downstream consumers (logging, observability, billing) can subscribe even when the embedding service is called outside an agent process — e.g. from an HTTP controller, a batch job or a scheduler.

When an agent process is active, the same event is also wrapped in an AgentProcessEmbeddingEvent and dispatched on the standard AgenticEventListener for symmetry with other in-process events.

Mirrors the existing pattern used by RagEvent / AgentProcessRagEvent.

Inheritors

Properties

Link copied to clipboard
abstract val embeddingMetadata: <Error class: unknown class>

Embedding model that produced this event.

Link copied to clipboard
abstract val id: String

Correlation id for this embedding interaction. Shared across the request, model-call and response events for a single call.

Link copied to clipboard
abstract val inputs: List<String>

Texts being embedded.