# Рецепты

- [Работа с регулярными выражениями](https://docs.smartbot-vk.ru/smartquery/recipes/rabota-s-regulyarnymi-vyrazheniyami.md): Сложные условия
- [Форматирование длинных чисел](https://docs.smartbot-vk.ru/smartquery/recipes/formatirovanie-dlinnykh-chisel.md): 1234567890 -> 1 234 567 890
- [Разные ответы в зависимости от пола пользователя](https://docs.smartbot-vk.ru/smartquery/recipes/raznye-otvety-v-zavisimosti-ot-pola-polzovatelya.md)
- [Шаг "Показать топ" с emoji](https://docs.smartbot-vk.ru/smartquery/recipes/shag-pokazat-top-s-emoji.md): 1️⃣2️⃣3️⃣4️⃣5️⃣6️⃣7️⃣8️⃣9️⃣🔟
- [Простая корзина товаров](https://docs.smartbot-vk.ru/smartquery/recipes/prostaya-korzina-tovarov.md): Работа с массивами
- [Корзина товаров со счётчиком каждой позиции](https://docs.smartbot-vk.ru/smartquery/recipes/korzina-tovarov-so-schyotchikom-kazhdoi-pozicii.md): Работа со словарями
- [Фильтрация спама](https://docs.smartbot-vk.ru/smartquery/recipes/filtraciya-spama.md): Реакция на первое сообщение
- [Получить ссылку на фото из сообщения пользователя](https://docs.smartbot-vk.ru/smartquery/recipes/poluchit-ssylku-na-foto-iz-soobsheniya-polzovatelya.md)
- [Данные из отвеченных и пересланных сообщений](https://docs.smartbot-vk.ru/smartquery/recipes/dannye-iz-pereslannykh-soobshenii.md)
- [Выдача промокодов](https://docs.smartbot-vk.ru/smartquery/recipes/vydacha-promokodov.md): Работа с массивами


---

# 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.smartbot-vk.ru/smartquery/recipes.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.
