Embedding Response Event
class EmbeddingResponseEvent(val request: EmbeddingRequestEvent, val usage: Usage, val runningTime: Duration, val timestamp: Instant = Instant.now()) : EmbeddingEvent
Emitted after an embedding service call.
Carries token usage only — raw vectors are intentionally excluded from the event payload (large, potentially sensitive, irrelevant to observability consumers). Use the service response directly to get the vectors.
Constructors
Link copied to clipboard
constructor(request: EmbeddingRequestEvent, usage: Usage, runningTime: Duration, timestamp: Instant = Instant.now())