Class AgentUtterance (2.0.0)

AgentUtterance(mapping=None, *, ignore_unknown_fields=False, **kwargs)

AgentUtterance represents one message sent by the agent.

Attributes

Name Description
text str
Required. Message content in text.
require_generation bool
Optional. True if the agent utterance needs to be generated by the LLM. Only used in webhook response to differentiate from empty text. Revisit whether we need this field or mark text as optional when we expose webhook interface to customer.