Anthropic.Client (anthropic v0.1.1)
Link to this section Summary
Functions
Initialize a new client for the Anthropic API.
Link to this section Types
Link to this type
body()
@type body() :: Tesla.Env.body()
Link to this type
client()
@type client() :: Tesla.Client.t()
Link to this type
new_client_opt()
Link to this type
new_client_opts()
@type new_client_opts() :: [new_client_opt()]
Link to this type
result()
@type result() :: Tesla.Env.result()
Link to this type
url()
@type url() :: Tesla.Env.url()
Link to this section Functions
Link to this function
new(opts \\ [])
@spec new(new_client_opts()) :: client()
Initialize a new client for the Anthropic API.
options
Options
:api_key
- API key to use for the client.:base_url
- URL for the Anthropic API.:timeout
- timeout for the client.