Method UseFallbackProvider
- Namespace
- IntentSharp
- Assembly
- IntentSharp.dll
UseFallbackProvider(IAIProvider)
Uses any provider as fallback for transient primary failures. Calling it again replaces the fallback. Its name must differ from the primary's.
public IntentClientBuilder UseFallbackProvider(IAIProvider provider)
Parameters
providerIAIProvider
Returns
Exceptions
- ArgumentException
The primary provider already has this provider's name (compared case-insensitively).