new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

AI SDK · Providers · all subjects

anthropic-vertex/setup

9 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Google Vertex Anthropic Edge Runtime authentication environment variables

For Edge runtime authentication with Google Vertex Anthropic, set these environment variables from your Google Default Application Credentials JSON file: GOOGLE_CLIENT_EMAIL, GOOGLE_PRIVATE_KEY, and GOOGLE_PRIVATE_KEY_ID (optional).

Google Vertex Anthropic Edge Runtime import path

For Edge runtimes, import the vertexAnthropic provider from '@ai-sdk/google-vertex/anthropic/edge'.

Google Vertex Anthropic Edge Runtime createVertexAnthropic

To customize the Google Vertex Anthropic provider in Edge runtimes, use createVertexAnthropic from '@ai-sdk/google-vertex/anthropic/edge' with optional settings for project and location.

AnthropicVertex required environment variables

To use the AnthropicVertex provider, set GOOGLE_VERTEX_REGION (your Google Vertex region, e.g., 'us-central1') and GOOGLE_VERTEX_PROJECT_ID (your Google Cloud project ID) environment variables. These can be set in the environment or in a .env file in the project root.

AnthropicVertex authentication method

The AnthropicVertex provider uses Google Cloud authentication. It supports either a service account key file or default application credentials, as per the Google Cloud Authentication guide.

AnthropicVertex default import

The default provider instance `anthropicVertex` can be imported directly from `anthropic-vertex-ai`.

AnthropicVertex AI SDK 5 compatibility warning

This community provider is not yet compatible with AI SDK 5. Users should wait for the provider to be updated or consider using an AI SDK 5 compatible provider.

AnthropicVertex provider module name

The AnthropicVertex provider is available in the `anthropic-vertex-ai` module and can be installed with npm.

AnthropicVertex custom setup

To create a customized AnthropicVertex provider instance, import `createAnthropicVertex` from `anthropic-vertex-ai` and call it with configuration options.

Give your agent this brain