anthropic
AI models including Claude for advanced language understanding and generation.
Provider Summary (v24.11.00270)
total services: 1
total methods: 1
total methods: 1
total resources: 1
total selectable resources: 1
total selectable resources: 1
See also:
[SHOW
] [DESCRIBE
] [REGISTRY
]
Installation
To pull the latest version of the anthropic
provider, run the following command:
REGISTRY PULL anthropic;
To view previous provider versions or to pull a specific provider version, see here.
Authentication
The following system environment variables are used for authentication by default:
ANTHROPIC_API_KEY
- Anthropic API key (see How to Create an Anthropic API Key)
These variables are sourced at runtime (from the local machine or as CI variables/secrets).
Using different environment variables
To use different environment variables (instead of the defaults), use the --auth
flag of the stackql
program. For example:
AUTH='{ "anthropic": { "type": "bearer", "credentialsenvvar": "MY_ANTHROPIC_API_KEY_VAR" }}'
stackql shell --auth="${AUTH}"
or using PowerShell:
$Auth = "{ 'anthropic': { 'type': 'bearer', 'credentialsenvvar': 'MY_ANTHROPIC_API_KEY_VAR' }}"
stackql.exe shell --auth=$Auth