Skip to main content

AI Provider Setup

AI capabilities powered by Google Gemini, OpenAI, and Anthropic Claude.

Providers

ProviderEnable KeyAPI Key ConfigModel Config
GeminiAI_GEMINI_ENABLEDAI_GEMINI_API_KEYAI_GEMINI_MODEL
OpenAIAI_OPENAI_ENABLEDAI_OPENAI_API_KEYAI_OPENAI_MODEL
ClaudeAI_ANTHROPIC_ENABLEDAI_ANTHROPIC_API_KEYAI_ANTHROPIC_MODEL

Features

FeatureEnable Key
Credit BrainAI_FEATURE_CREDIT_BRAIN_ENABLED
Fraud CopilotAI_FEATURE_FRAUD_COPILOT_ENABLED
Compliance EngineAI_FEATURE_COMPLIANCE_ENGINE_ENABLED

Provider Selection

The AiOrchestrationService selects the first enabled provider in order: Gemini → OpenAI → Claude. If a provider call fails, it falls back to the next.

Troubleshooting

  • All AI features disabled: Enable at least one AI provider AND one feature
  • API key invalid: Verify key format (Gemini keys typically start with AIza)