Utterance
This is an event broadcasted by Tavus.
An utterance event
is broadcasted by Tavus at specific times: the user’s utterance is sent when the replica begins speaking, and a separate event for the replica’s utterance is also sent as the replica starts to speak. Each event contains the content of the respective utterance as well as an indication of who spoke it.
An utterance
includes all of the words spoken by the user or replica measured from when the person started speaking to when they finshed speaking. This could include multiple sentences or phrases.
Utterance events can be used to keep track of what the user or the replica has said.
The unique identifier for the conversation.
This is the type of event that is being sent back. This field will be present on all events and can be used to distinguish between different event types.
Message type indicates what product this event will be used for. In this case, the message_type will be conversation
This object will contain the speech
property which contains the contents of the utterance and will optionally contain the visual_context
property.