Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for anthropic models on vertex #1122

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jjallaire
Copy link
Collaborator

To use Anthropic models on Vertex, you can use the standard anthropic model provider with a vertex suffix (e.g. anthropic/vertex/claude-3-5-sonnet-v2@20241022). You should also set two environment variables indicating your project ID and region. Here is a complete example:

export ANTHROPIC_VERTEX_PROJECT_ID=project-12345
export ANTHROPIC_VERTEX_REGION=us-east5
inspect eval ctf.py --model anthropic/vertex/claude-3-5-sonnet-v2@20241022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant