# Setting: `chatbot_ai_provider`

- **Constant:** `ConfigInterface::CHATBOT_AI_PROVIDER`
- **Category:** `chatbot`
- **Type:** `select`
- **Required:** yes
- **Sensitive:** no
- **Validation:** `required|string|max:255`
- **Placeholder / default hint:** `basic`

## Description

AI provider for the chatbot

## Allowed options

- `basic`
- `google_gemini`
- `openrouter`
- `openai`
- `ollama`
- `grok`
- `perplexity`

## Change via CLI

```bash
featherpanel saas getsetting chatbot_ai_provider
featherpanel saas setsetting chatbot_ai_provider "<value>"
```

## Change via API

```http
PATCH /api/admin/settings
Content-Type: application/json

{ "chatbot_ai_provider": "<value>" }
```
