Documentation
Table of Contents

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

apiKey string
model string

Returns

IntentClientBuilder

Exceptions

ArgumentException

The primary provider is already named "Anthropic" (for example after UseAnthropic(string, string?)). Nothing is created.