server: address: ":8080" logging: format: "json" # "json" for production, "text" for development level: "info" # "debug", "info", "warn", or "error" providers: google: type: "google" api_key: "YOUR_GOOGLE_API_KEY" endpoint: "https://generativelanguage.googleapis.com" anthropic: type: "anthropic" api_key: "YOUR_ANTHROPIC_API_KEY" endpoint: "https://api.anthropic.com" openai: type: "openai" api_key: "YOUR_OPENAI_API_KEY" endpoint: "https://api.openai.com" # Vertex AI (Google Cloud) - optional # Uses Application Default Credentials (ADC) or service account # vertexai: # type: "vertexai" # project: "your-gcp-project-id" # location: "us-central1" # or other GCP region # Azure OpenAI - optional # azureopenai: # type: "azureopenai" # api_key: "YOUR_AZURE_OPENAI_API_KEY" # endpoint: "https://your-resource.openai.azure.com" # api_version: "2024-12-01-preview" # Azure-hosted Anthropic (Microsoft Foundry) - optional # azureanthropic: # type: "azureanthropic" # api_key: "YOUR_AZURE_ANTHROPIC_API_KEY" # endpoint: "https://your-resource.services.ai.azure.com/anthropic" # conversations: # store: "sql" # "memory" (default), "sql", or "redis" # ttl: "1h" # conversation expiration (default: 1h) # driver: "sqlite3" # SQL driver: "sqlite3", "mysql", "pgx" (required for sql store) # dsn: "conversations.db" # connection string (required for sql/redis store) # # MySQL example: # # driver: "mysql" # # dsn: "user:password@tcp(localhost:3306)/dbname?parseTime=true" # # PostgreSQL example: # # driver: "pgx" # # dsn: "postgres://user:password@localhost:5432/dbname?sslmode=disable" # # Redis example: # # store: "redis" # # dsn: "redis://:password@localhost:6379/0" models: - name: "gemini-1.5-flash" provider: "google" - name: "claude-3-5-sonnet" provider: "anthropic" - name: "gpt-4o-mini" provider: "openai" # - name: "gemini-2.0-flash-exp" # provider: "vertexai" # Use Vertex AI instead of Google AI API # - name: "gpt-4o" # provider: "azureopenai" # provider_model_id: "my-gpt4o-deployment" # optional: defaults to name # - name: "claude-sonnet-4-5-20250514" # provider: "azureanthropic"