AnthropicClientExtensions Class

Definition

Provides extension methods for the Anthropic.IAnthropicClient class.

public static class AnthropicClientExtensions
type AnthropicClientExtensions = class
Public Module AnthropicClientExtensions
Inheritance
AnthropicClientExtensions

Properties

Name Description
DefaultMaxTokens

Specifies the default maximum number of tokens allowed for processing operations.

Methods

Name Description
AsAIAgent(IAnthropicClient, ChatClientAgentOptions, Func<IChatClient,IChatClient>, ILoggerFactory, IServiceProvider)

Creates an AI agent from an Anthropic.IAnthropicClient using the Anthropic Chat Completion API.

AsAIAgent(IAnthropicClient, String, String, String, String, IList<AITool>, Nullable<Int32>, Func<IChatClient,IChatClient>, ILoggerFactory, IServiceProvider)

Creates a new AI agent using the specified model and options.

Applies to