# Блок "Ответ Chat GPT"

Блок "Ответ ChatGPT" создан для более кастомной настройки ответа вашего бота. Для этого используется промпт. В нем можно прописать роль, от которой будет вести переписку бот, задачу, которую необходимо выполнить, и другие характеристики. Их вы можете найти в популярных статьях в интернете. Ниже прикрепим несколько.

* [Статья на habr](https://habr.com/ru/articles/765126/)
* [Статья на платформе "Бизнес-секреты" от Тинькофф](https://secrets.tinkoff.ru/trendy/promty-dlya-ii/#2)

<figure><img src="/files/01G6v8c3tZyJnPVILrTs" alt=""><figcaption><p>Блок "Ответ ChatGPT" и его настройки</p></figcaption></figure>

У блока есть два выхода. После ответа бот перейдет к следующему по сценарию блоку и сохранит свое сообщение в специальную переменную %ai\_message\_text%, а в случае ошибки - к блоку в соответствующем выходе.

Теперь вы знаете, как использовать блок "Ответ ChatGPT" в Smartbot Pro!


---

# 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.smartbotpro.ru/instrumenty/smartbot-ai/blok-otvet-chat-gpt.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.
