# Интеграция с С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 
}
```


---

# 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://help.watbot.ru/chat-boty/bloki/nastroiki-http-blokov-iz-video/integraciya-s-shaindesk.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.
