AnthropicClient
Parameters:
Instance Attributes
api_key
aws_access_key
aws_region
aws_secret_key
aws_session_token
gcp_auth_token
gcp_project_id
gcp_region
Instance Methods
convert_tools_to_functions
Parameters:
Returns:
cost
create
get_usage
load_config
message_retrieval
NOTE: if a list of Choice.Message is returned, it currently needs to contain the fields of OpenAI’s ChatCompletion Message object, since that is expected for function or tool calling in the rest of the codebase at the moment, unless a custom agent is being used. Parameters: