EmbeddingRequestEvent

class EmbeddingRequestEvent(val embeddingMetadata: <Error class: unknown class>, val inputs: List<String>, val id: String, val timestamp: Instant = Instant.now()) : EmbeddingEvent

Emitted before an embedding service call.

Constructors

Link copied to clipboard
constructor(embeddingMetadata: <Error class: unknown class>, inputs: List<String>, id: String, timestamp: Instant = Instant.now())

Properties

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

Embedding model that produced this event.

Link copied to clipboard
open override 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
open override val inputs: List<String>

Texts being embedded.

Link copied to clipboard
open val timestamp: Instant

Functions

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String