Providers
Available Providers
Communication Providers
Provider Type
Description
Use Cases
AI Providers
Provider
Best For
Features
// Works with ANY AI provider
public class ChatService
{
private readonly IFlexAIProvider _aiProvider; // Could be OpenAI, Claude, Ollama, etc.
public async Task<string> AskAsync(string question)
{
return await _aiProvider.ChatAsync(question);
}
}Email Providers
Provider
Best For
Features
Message Providers
Channel
Use Cases
Providers
Common Patterns
Automatic Setup via Flex Studio
Configuration
Dependency Injection
Multiple Providers
Provider-Agnostic Benefits
1. Easy Testing
2. Cost Optimization
3. Vendor Independence
Error Handling
Best Practices
1. Use Console Providers in Development
2. Validate Configuration on Startup
3. Implement Retry Logic
4. Monitor and Log
Integration Examples
AI + Vector Store (RAG)
Email + Message (Multi-Channel Notifications)
Advanced Usage Examples
AI Providers
Email Providers
Message Providers
See Also
Last updated