> For the complete documentation index, see [llms.txt](https://docs-conversational-ai.syntphony.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-conversational-ai.syntphony.com/testing/simulate-dialog.md).

# Simulate Dialog

After you train your intents in Syntphony NLP (or use the ones from other NLPs), you can see how your dialogues will work in a simulated chat. The dialog simulator allows you to test your virtual agent by checking if its intents, entities, services and other cells are behaving properly. To access the simulator, click the balloon button in the bottom right corner.

A modal will open for you to choose a channel.

![Channel Selection](/files/VgcqY4l9VxBhv5P5j0zI)

The virtual agent simulator will show you the last trained version (if it's using Syntphony NLP) or the last loaded intents (if the virtual agent uses any other NLP).

Not all the Syntphony CAI functionalities won't work on the simulator. It doesn't mean they won't work in a flow, they just will not be shown on the simulator.

Line breaks in answers will be rendered as a space in the virtual agent simulator.

For example, the following answer,

`“Thank you for ordering the tomato soup.`\
`We will serve it in a second.`\
`Enjoy your meal.”`

would appear like this in the dialog simulator:

`“Thank you for ordering the tomato soup. We will serve it in a second. Enjoy your meal.”`

![Dialog simulator window](/files/q7EpJ1EeK54iCmVftRv6)

***

&#x20;

&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs-conversational-ai.syntphony.com/testing/simulate-dialog.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
