AI Tools
Генерирует контролируемые A/B варианты промпта по измерениям персоны, тона/стиля, формата вывода и ограничений, затем сравнивает их бок о бок с эвристической оценкой и пословным diff относительно базового варианта. Воспроизводимый способ проверить поведение промпта в разных обрамлениях.
Вызовите этот инструмент из своего кода на трёх языках.
curl -X POST 'https://api.elysiatools.com/ru/api/tools/ai-prompt-ab-variant-generator' \
-H 'Content-Type: application/json' \
-d '{"basePrompt":"Summarize the attached research paper for a busy product manager. Focus on what changed and why it matters.","dimensions":["persona","tone","format"],"count":4,"renderMode":"cards","temperature":0.5,"useAi":false}'Отправьте POST-запрос с входными данными в JSON. Параметры типа «файл» требуют предварительной загрузки.
POST https://api.elysiatools.com/ru/api/tools/ai-prompt-ab-variant-generator| Имя | Тип | Обязательный | Описание |
|---|---|---|---|
| basePrompt | textarea | Да | The prompt whose variants you want to generate. Its task intent is preserved across variants. |
| dimensions | select | Нет | Which axes to vary. Defaults to persona, tone, and format. |
| count | number | Да | How many variants to generate, including baseline A. |
| renderMode | select | Нет | — |
| temperature | number | Нет |
Добавьте этот инструмент на свой сервер Model Context Protocol, чтобы ИИ-агенты могли перечислять и вызывать его.
Добавьте этот блок в конфигурацию вашего MCP-клиента:
{
"mcpServers": {
"elysiatools-ai-prompt-ab-variant-generator": {
"name": "ai-prompt-ab-variant-generator",
"description": "Генерирует контролируемые A/B варианты промпта по измерениям персоны, тона/стиля, формата вывода и ограничений, затем сравнивает их бок о бок с эвристической оценкой и пословным diff относительно базового варианта. Воспроизводимый способ проверить поведение промпта в разных обрамлениях.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=ai-prompt-ab-variant-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}После подключения к SSE-endpoint выведите список доступных инструментов:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Вызовите инструмент по его id; аргументы формируются из его параметров:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "ai-prompt-ab-variant-generator",
"arguments": {
"basePrompt": "Summarize the attached research paper for a busy product manager. Focus on what changed and why it matters.",
"dimensions": [
"persona",
"tone",
"format"
],
"count": 4,
"renderMode": "cards",
"temperature": 0.5,
"useAi": false
}
}
}| Higher values push variants toward more concrete, specific phrasing. |
| useAi | checkbox | Нет | When on, rewrite each variant (except baseline A) with DeepSeek (deepseek/deepseek-v4-flash) for production-ready prose. Off = deterministic heuristic output. Needs an API key. |
HTML-результат
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Вопросы или проблемы? Свяжитесь с [email protected]