events
.
Using the Interactions Protocol, you can:
conversation_url
.
Once a call client is created, an event listener can be created that takes action on receiving an app-message event.
By default, Tavus will broadcast utterance events when a replica begins speaking. At that time, both the user’s utterance and the replica’s utterance will be sent together. This allows the client to receive accurate transcription of what is occurring in the call.
Tavus will also broadcast tool call events when an LLM tool call should be made. This will allow the client to make calls to external APIs or databases.
Tavus will broadcast
replica-started/stopped-speaking-event when the replica actually starts or stops speaking.
The client is able to interact with the replica in real time by broadcasting an app-message to the Daily Room. Broadcasting a message can be accomplished by using sendAppMessage().
Upon receiving the message, the replica will act on the broadcasted message.