Method UseProvider
- Namespace
- IntentSharp
- Assembly
- IntentSharp.dll
UseProvider(IAIProvider)
Uses any provider as primary. Calling it again replaces the primary. Requests can name a provider (Provider), so the primary and the fallback must have different names.
public IntentClientBuilder UseProvider(IAIProvider provider)
Parameters
providerIAIProvider
Returns
Exceptions
- ArgumentException
The fallback provider already has this provider's name (compared case-insensitively).