Interaction Types
- Echo interactions
- Response interactions
- Interrupt interactions
- Override conversation context interactions
- Sensitivity interactions
Observable Events
- Utterance Events
- Tool Call Events
- Perception Tool Call Events
- Perception Analysis Events
- Replica Started/Stopped Speaking
- User Started/Stopped Speaking
- Replica Interrupted
Call Client Example
The interactions protocol uses a WebRTC data channel for communication. In Tavus’s case, this is powered by Daily, which makes setting up the call client quick and simple.Here’s an example of using DailyJS to create a call client in JavaScript:
The Daily
app-message
event is used to send and receive events and interactions between your server and CVI.