User GuideAI Features
AI Chat Configuration
Configure AI chat functionality
Related Pages
| Page | Path | Description |
|---|---|---|
| AI Chat | /ai | AI chat main page |
OpenAI Configuration
OPENAI_API_KEY="sk-xxx"
OPENAI_BASE_URL="https://api.openai.com/v1"Google Gemini Configuration
GOOGLE_GENERATIVE_AI_API_KEY="AIza..."Anthropic Claude Configuration
ANTHROPIC_API_KEY="sk-ant-xxx"DeepSeek Configuration
DEEPSEEK_API_KEY="sk-xxx"SiliconFlow Configuration
SILICONFLOW_API_KEY="sk-xxx"Configure Default Provider
// config/ai.ts
export const aiConfig = {
defaultProvider: 'openai',
defaultModel: 'gpt-4',
}Configure Available Models
// config/ai.ts
export const aiConfig = {
availableModels: [
{ id: 'gpt-4', name: 'GPT-4', provider: 'openai' },
{ id: 'gpt-3.5-turbo', name: 'GPT-3.5', provider: 'openai' },
{ id: 'claude-3-opus', name: 'Claude 3 Opus', provider: 'anthropic' },
],
}