EngineVersion 1contextClasses

context:Utterance

An individual utterance within a context, representing a unit of speech or text from either user or assistant.

Properties

context:content (required, max 1)

The textual content of an utterance.

Utterance must have exactly one non-empty content string.

context:context (required, max 1)

The context this utterance is part of.

Utterance must be associated with exactly one context.

context:timestamp (required, max 1)

The timestamp when the utterance was created.

Utterance must have exactly one creation timestamp in ISO 8601 format (e.g., '2024-01-01T12:00:00Z').

context:utteranceId (required, max 1)

Unique identifier for an utterance.

Utterance must have exactly one non-empty utterance ID that uniquely identifies it.

context:utteredBy (required, max 1)

The principal (User or Agent) that authored this utterance.

Utterance must be authored by exactly one principal (User or Agent).

On this page