Anthropic
Instructions for using language models hosted on Anthropic with Spice.
Last updated
Was this helpful?
Instructions for using language models hosted on Anthropic with Spice.
Last updated
Was this helpful?
To use a language model hosted on Anthropic, specify anthropic
in the from
field.
To use a specific model, include its model ID in the from
field (see example below). If not specified, the default model is claude-3-5-sonnet-latest
.
The following parameters are specific to Anthropic models:
anthropic_api_key
The Anthropic API key.
-
endpoint
The Anthropic API base endpoint.
https://api.anthropic.com/v1
Example spicepod.yml
configuration:
See for a list of supported model names.