AnthropicConfig
AnthropicConfig is a configuration class for integrating with the Anthropic API. It allows for customization of base API URL, model versions, API version, timeout settings, and the HTTP client used for requests. This class facilitates specifying all necessary parameters and settings required to interact with Anthropic's LLM services.
Parameters
The API key used for authenticating requests to the Anthropic API.
Constructors
Properties
Specifies the API version used for requests to the Anthropic API.
Represents the HTTP client that is used to perform network operations such as API requests within the AnthropicConfig configuration.
Maps a specific LLModel
to its corresponding version string. This configuration is primarily used to associate particular model identifiers with their appropriate versions, allowing the system to select or adjust model behaviors based on these mappings.
Configures the timeout settings for API requests, connection establishment, and socket operations when interacting with the Anthropic API. This property is used to customize timeout behavior to handle use cases requiring different default durations for network-related operations.