vk_chat_bot/prompts/tools.json

67 lines
2.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[
{
"type": "function",
"function": {
"name": "generate_image",
"description": "Генерация изображения по описанию",
"parameters": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "Подробное описание сцены на английском языке БЕЗ технических параметров (соотношение сторон, разрешение)"
},
"aspect_ratio": {
"type": "string",
"enum": ["1:1", "4:3", "3:4", "16:9", "9:16"],
"description": "Соотношение сторон"
}
},
"required": ["prompt"]
}
}
},
{
"type": "function",
"function": {
"name": "generate_image_anime",
"description": "Генерация изображения в стиле аниме по описанию",
"parameters": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "Положительный запрос"
},
"negative_prompt": {
"type": "string",
"description": "Отрицательный запрос"
},
"aspect_ratio": {
"type": "string",
"enum": ["1:1", "4:3", "3:4", "16:9", "9:16", "9:20"],
"description": "Соотношение сторон"
}
},
"required": ["prompt", "negative_prompt"]
}
}
},
{
"type": "function",
"function": {
"name": "tavily_search",
"description": "Веб-поиск по теме запроса. Используй для поиска информации о событиях, фактах, новостях, определениях, статистике и других актуальных данных.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Запрос для поиска (на русском или английском языке)"
}
},
"required": ["query"]
}
}
}
]