# Livechat

During a chat with the chatbot, the end user may need to escalate to live chat under certain conditions. These must be defined by the bot manager in the knowledge base. This could be, for example, when:

* the end user explicitly requests it,
* the end user has provided negative feedback, or a specific reason for dissatisfaction,
* too many sentences have been misunderstood by the chatbot,
* a response requires clarification,
* a thematic question is addressed;

Live chat escalation and its conditions can be managed through contextual conditions and GUI actions. In the event of an escalation, the end user remains in the same chat window (the chatbox), and the history of conversations with the chatbot is preserved. This history is also transmitted to the operator.


---

# Agent Instructions: 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-en.dydu.ai/livechat.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.
