AnthropicClientExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |