ai-config.example.yml
# AI Configuration for SCN Detector
# This file allows you to configure AI provider settings separately from your SCN profile.
# Useful for sharing AI config across multiple profiles or keeping credentials separate.
# AI is activated by the enable_ai_fallback action input (not by this config file).
# This file only configures AI behavior (provider, model, thresholds).
# AI Provider: 'anthropic' or 'openai'
provider: 'anthropic'
# Model to use (provider-specific)
# Anthropic: claude-3-haiku-20240307, claude-3-sonnet-20240229, claude-3-opus-20240229
# OpenAI: gpt-4o-mini, gpt-4o, gpt-4-turbo
model: 'claude-3-haiku-20240307'
# Confidence threshold (0.0-1.0)
# AI classifications below this confidence are marked as MANUAL_REVIEW
confidence_threshold: 0.8
# Maximum tokens for AI response
max_tokens: 1024
# Maximum characters from diff to include in AI prompt
max_diff_chars: 1000
# Optional: Custom API base URL (for OpenAI-compatible APIs, Azure OpenAI, etc.)
# api_base_url: 'https://api.openai.com/v1'
# Optional: Custom system prompt (overrides profile-specific prompt)
# system_prompt: |
# You are a compliance expert analyzing infrastructure changes.
# ...
# Optional: Custom user prompt template (overrides profile-specific template)
# user_prompt_template: |
# Change Details:
# - Resource Type: {resource_type}
# - Resource Name: {resource_name}
# ...