> For the complete documentation index, see [llms.txt](https://help.watbot.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.watbot.ru/chat-boty/bloki/nastroiki-http-blokov-iz-video/integraciya-s-shaindesk.md).

# Интеграция с Сhaindesk

> Документация интеграции с сервисом Chaindesk расположена по-адресу&#x20;
>
> <https://docs.chaindesk.ai/introduction>

## Блок HTTP запрос

{% hint style="info" %}
**Применяется метод POST-запрос**
{% endhint %}

> Http request: [https://api.chaindesk.ai/agents/clsaglahh004wo98i3fxh4738/query](<https://api.chaindesk.ai/agents/clsaglahh004wo98i3fxh4738/query&#xA;>)

<figure><img src="/files/TSgr79RrB8g9rFYnUQop" alt=""><figcaption><p>Запрос к сервису Сhaindesk</p></figcaption></figure>

<figure><img src="/files/FN0hgXFlOpeMrXb0SbX1" alt=""><figcaption><p>Вывод ответа в json переменные</p></figcaption></figure>

#### Json-запрос

```json
{
  "modelName": "gpt_3_5_turbo_16k",
  "maxTokens": 500,
  "presencePenalty": 0,
  "promptTemplate": "{{$вопрос}}",
  "promptType": "raw",
  "query": "{{$вопрос}}",
  "streaming":false 
}
```
