45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
# AI Configuration for Provisioning System
|
|
# Example configuration for AI-powered infrastructure automation
|
|
|
|
# Enable AI functionality
|
|
enabled: true
|
|
|
|
# AI provider: openai, claude, or generic
|
|
provider: "openai"
|
|
|
|
# API endpoint (leave empty for default provider endpoints)
|
|
# For OpenAI: https://api.openai.com/v1
|
|
# For Claude: https://api.anthropic.com/v1
|
|
# For generic/local: http://localhost:11434/v1
|
|
api_endpoint: ""
|
|
|
|
# API key (use environment variable for security)
|
|
# Set OPENAI_API_KEY, ANTHROPIC_API_KEY, or LLM_API_KEY
|
|
api_key: ""
|
|
|
|
# Model to use
|
|
model: "gpt-4"
|
|
|
|
# Maximum tokens for responses
|
|
max_tokens: 2048
|
|
|
|
# Temperature for response creativity (0.0-1.0)
|
|
temperature: 0.3
|
|
|
|
# Timeout for API requests in seconds
|
|
timeout: 30
|
|
|
|
# Feature flags - enable specific AI capabilities
|
|
enable_template_ai: true # AI-powered template generation
|
|
enable_query_ai: true # Natural language queries
|
|
enable_webhook_ai: false # Webhook/chat integration
|
|
|
|
# Provider-specific settings
|
|
openai_settings:
|
|
organization: "" # OpenAI organization ID (optional)
|
|
|
|
claude_settings:
|
|
version: "2023-06-01" # Claude API version
|
|
|
|
generic_settings:
|
|
auth_type: "bearer" # Authentication type for generic APIs |