# Settings category: Chatbot

- **Id:** `chatbot`
- **Icon:** `bot`
- **Count:** 21

AI chatbot configuration settings

| Key | Type | Description | Options |
| --- | --- | --- | --- |
| `chatbot_enabled` | select | Enable the AI chatbot | `true`, `false` |
| `chatbot_ai_provider` | select | AI provider for the chatbot | `basic`, `google_gemini`, `openrouter`, `openai`, `ollama`, `grok`, `perplexity` |
| `chatbot_temperature` | number | Temperature for AI responses (0.0-1.0). Lower = more focused, Higher = more creative | — |
| `chatbot_max_tokens` | number | Maximum number of tokens in AI responses | — |
| `chatbot_max_history` | number | Maximum number of previous messages to include in context | — |
| `chatbot_system_prompt` | textarea | System prompt to prepend to all messages (optional) | — |
| `chatbot_user_prompt` | textarea | User context prompt to append to all messages (optional) | — |
| `chatbot_google_ai_api_key` | password | Google AI Studio API key for Gemini | — |
| `chatbot_google_ai_model` | text | Google Gemini model to use (e.g., gemini-2.5-flash, gemini-2.5-pro) | — |
| `chatbot_openrouter_api_key` | password | OpenRouter API key | — |
| `chatbot_openrouter_model` | text | OpenRouter model to use (e.g., openai/gpt-4o-mini, anthropic/claude-3-haiku) | — |
| `chatbot_openai_api_key` | password | OpenAI API key | — |
| `chatbot_openai_model` | text | OpenAI model to use (e.g., gpt-4o-mini, gpt-4o, gpt-3.5-turbo) | — |
| `chatbot_openai_base_url` | text | OpenAI base URL (e.g., https://api.openai.com) | — |
| `chatbot_ollama_base_url` | text | Ollama server base URL (e.g., http://localhost:11434) | — |
| `chatbot_ollama_model` | text | Ollama model to use (e.g., llama3.2, mistral, codellama) | — |
| `chatbot_grok_api_key` | password | xAI (Grok) API key | — |
| `chatbot_grok_model` | text | xAI (Grok) model to use (e.g., grok-2-1212, grok-beta, grok-vision-beta) | — |
| `chatbot_perplexity_api_key` | password | Perplexity API key | — |
| `chatbot_perplexity_model` | text | Perplexity model to use (e.g., sonar-pro, sonar-small-chat) | — |
| `chatbot_perplexity_base_url` | text | Perplexity base URL (e.g., https://api.perplexity.ai) | — |
