anthropic
AI models including Claude for advanced language understanding and generation.
Provider Summary (v24.10.00267)
total services: 1
total methods: 2
total methods: 2
total resources: 2
total selectable resources: 2
total selectable resources: 2
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" }}'
stackql shell --auth="${AUTH}"
or using PowerShell:
$Auth = "{ 'anthropic': { 'type': 'bearer', 'credentialsenvvar': 'MY_ANTHROPIC_API_KEY' }}"
stackql.exe shell --auth=$Auth