Introduction
The chat page allows you to have a chat conversation with your voice agent in order to test it before deploying it to a phone number. It basically transforms your voice agent into a chatbot.
<aside>
đź’ˇ This is super useful if you are working on the bot and you want to test the conversation quickly, without calling. In a few seconds, you can test a specific patch.
</aside>
How to use it?
<aside>
⚠️ First, you need to deploy your voice agent into the dev
 environment, so that you can test it in the chat page. Please, see the documentation 5. Save changes & deploy your voice agent.
</aside>

The chat page is divided in 2 parts :
- The main part on the right is the chat itself
- your messages will be displayed in green, voice agent’s messages will be displayed in blue
- intents suggestions (the intents that are expected at this conversation turn) are displayed above the text input. By clicking on one of the intents, it will fill in the text input with one of the utterances.
- The left panel (when clicking on the settings icon) is used to:
- add header parameters to the conversation, like the callerNumber. Indeed, you might have some actions that need the caller number to work, but as you are testing your voice agent using the chat, no phone numbers are provided by default. You can use a mocked phone number for your test by adding the header
callerNumber
into the parameters.
- activate debugging features
- Intent matches: will show you the matching score of an utterance with its intent
- Background tasks: will display all the script actions that are executed by the voice agent, with their results
- Checkpoints: will show the stats checkpoints where the voice agent has gone through, with their results
- activate some chatting options
- Generate random entity values: this will save you some time knowing which value you can type for an entity by generating a random value
<aside>
đź’ˇ You can also use the chat directly in the 1. Build the conversation script page !
Just click on the messages icon on the top right of the page to open the chat.
</aside>
