View Source Anthropic.Config (anthropic_community v0.2.0)
Module for setting up the configuration of Anthropic API.
Summary
Functions
Returns a specification to start this module under a supervisor.
Retrieves the current configuration options.
Resets specific configuration options.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Retrieves the current configuration options.
This function queries the GenServer to return the current state, which represents the active configuration.
Returns
- The current configuration as a
Anthropic.Configstruct.
Resets specific configuration options.
Allows dynamically updating the configuration by merging provided options with the current state. The updated configuration is then validated.
Parameters
keyword_list: A keyword list of configuration options to update.
Returns
- The updated configuration as a
Anthropic.Configstruct.