> For the complete documentation index, see [llms.txt](https://docs.opendialog.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opendialog.ai/getting-started-1/quick-start-ai-agents/the-start-from-scratch-ai-agent/topic-conversation.md).

# Topic Conversation

The Topic conversation is the more complex conversation in this Scenario as it lays out the structure to deal with a number of different generic topics in a fluid conversational way.

<figure><img src="/files/qojtiORxDp7jHNKv3Xgo" alt=""><figcaption><p>The Topic Conversation</p></figcaption></figure>

Every Scene in the Topic Conversation follows the same pattern.

1. All Scenes have the *starting* behavior. So once we are in the Topic Conversation we consider all Scenes.
2. Each Scene has one or more Turns that are also *starting.*
3. <img src="/files/PqbPNRrfkzcd1d8XFzcr" alt="" data-size="original"> Each Turn starts with a user Intent that corresponds to an Intent of the Query Classifier Semantic Classifier.
4. Each Turn then also has a response intent.
5. ![](/files/0S3FkrL3k3uIMZzFcVRy) Once we've responded to the user we redirect the context to the start of the Topic Conversation once more so the cycle can repeat.
6. Most APP intents have a dynamic response generated using an LLM action.

What this patterns allow us to do is move between the different scenes on every user query with flexibility since after every response we go back to the "top" of the Topics conversation.

In addition, the Topic Conversation has a No Match Scene that means we can capture anything that our Query Classifier has not interpreted contextuall and deal with it in the Topic Conversation.

<figure><img src="/files/82yngZNoU0KYmjMx7w1V" alt=""><figcaption><p>The Topic Conversation</p></figcaption></figure>


---

# 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:

```
GET https://docs.opendialog.ai/getting-started-1/quick-start-ai-agents/the-start-from-scratch-ai-agent/topic-conversation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
