Method UseAnthropicAsFallback
- Namespace
- IntentSharp
- Assembly
- IntentSharp.dll
UseAnthropicAsFallback(string, string?)
Uses Anthropic as the fallback provider, named "Anthropic". Calling it again replaces the fallback.
public IntentClientBuilder UseAnthropicAsFallback(string apiKey, string? model = null)
Parameters
apiKeystringmodelstring
Returns
Exceptions
- ArgumentException
The primary provider is already named "Anthropic" (for example after UseAnthropic(string, string?)). Nothing is created.