LLM Model Configuration
LLM (Large Language Model) settings control the AI model used for RAG chat responses in the Playground.
Available Providers
| Provider | Model catalog | Notes |
|---|---|---|
| OpenAI | Models available to the configured OpenAI project | Includes compatible fine-tuned chat models |
| Anthropic | Models available to the configured Anthropic account | Includes current context and output-token limits when provided |
Configuration Options
- Provider: Select OpenAI or Anthropic
- API Key: Enter your provider's API key
- Model: Choose the specific LLM model
- Temperature: Adjust creativity (0.0 = focused, 2.0 = creative)
- Max Tokens: Limit response length
API Key Management
Each provider requires its own API key:
- OpenAI: Get your key from platform.openai.com
- Anthropic: Get your key from console.anthropic.com
The settings page shows a status banner indicating whether your API key is configured:
- Green checkmark: API key is configured and ready
- Yellow warning: API key required - enter your key to enable chat
API-key format and provider authentication are checked before saving. If the provider's model service is temporarily unavailable, the key is saved with a warning so you can retry model discovery later. Keys and provider responses are handled on the server and are not returned to the browser.
Model Discovery
- After you configure a key, the page loads compatible chat models available to that provider account.
- Use Refresh after an account or model-access change. Results are cached briefly to avoid unnecessary provider calls.
- If live discovery is unavailable, the page clearly labels and displays a small built-in fallback catalog.
- A saved model that is no longer available remains visible with an Unavailable label. Select an available replacement before saving.
- OpenAI image, audio, realtime, embedding, moderation, deep-research, and other specialist models are excluded because RAG chat uses the Chat Completions contract.
- Controls adapt to model metadata. Temperature is disabled for model families that manage sampling internally, and response tokens are capped at the provider limit when one is reported.
- OpenAI does not report token limits in its Models API. Known model families use maintained limits; unknown compatible models use a conservative response limit until their metadata is added.
Temperature Guide
| Temperature | Behavior | Best For |
|---|---|---|
| 0.0 - 0.3 | Focused, deterministic | Factual Q&A, technical docs |
| 0.4 - 0.7 | Balanced | General use (default: 0.7) |
| 0.8 - 1.2 | Creative, varied | Content generation |
| 1.3 - 2.0 | Highly creative | Brainstorming, exploration |