|
| 1 | +{ |
| 2 | + "config": { |
| 3 | + "persona": "string (required) - The bot's personality and character description", |
| 4 | + "botthesis": "string (required) - The bot's core thesis or purpose", |
| 5 | + "greetings": "string | null - Default greeting message (optional)", |
| 6 | + "fallback_message": "string | null - Message shown when bot cannot respond (optional)", |
| 7 | + "version": "number (default: 1) - Configuration version number" |
| 8 | + }, |
| 9 | + "settings": { |
| 10 | + "business_name": "string (required) - Name of the business", |
| 11 | + "business_type": "string (required) - Type of business", |
| 12 | + "business_description": "string | null - Description of the business (optional)", |
| 13 | + "product_name": "string (required) - Name of the product or service", |
| 14 | + "product_description": "string | null - Description of the product or service (optional)", |
| 15 | + "support_email": "string | null - Support email address (must be valid email format, optional)", |
| 16 | + "contacts": "string | null - Contact information (optional)", |
| 17 | + "supported_languages": "string[] (required, min 1) - Array of supported language codes (e.g., ['en', 'es'])" |
| 18 | + }, |
| 19 | + "runtime_settings": { |
| 20 | + "rate_limit_per_min": "number (default: 60, min: 1, max: 1000) - Rate limit per minute (read-only)", |
| 21 | + "token_quota": "number (default: 50000, min: 0) - Token quota limit (read-only)", |
| 22 | + "api_calls_this_month": "number (default: 0, min: 0) - Counter for API calls made this month (read-only)" |
| 23 | + }, |
| 24 | + "ui_settings": { |
| 25 | + "theme": "string - Options: 'modern' | 'classic' | 'minimal' | 'bubble' | 'retro'", |
| 26 | + "chatbot_name": "string (required) - Display name of the chatbot", |
| 27 | + "welcome_message": "string (required) - Welcome message shown to users", |
| 28 | + "quick_questions": "string[] (max 5) - Array of quick question prompts (up to 5)", |
| 29 | + "support_info": "string | null - Support information or contact details", |
| 30 | + "position": "string - Options: 'bottom-right' | 'bottom-left'", |
| 31 | + "auto_open_delay_ms": "number (min: 0) - Delay in milliseconds before auto-opening chat (0 = disabled)", |
| 32 | + "auto_greet_on_open": "boolean - Whether to automatically greet when chat opens", |
| 33 | + "ask_email_before_chat": "boolean - Whether to require email before starting chat", |
| 34 | + "persist_chat": "boolean (default: true) - Whether to persist chat history", |
| 35 | + "show_timestamps": "boolean (default: true) - Whether to show timestamps on messages" |
| 36 | + } |
| 37 | +} |
0 commit comments