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

google-vertex-xai/setup

5 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 xAI provider import path

Import the Google Vertex xAI provider instance googleVertexXai from '@ai-sdk/google-vertex/xai'.

Google Vertex xAI createGoogleVertexXai setup

To customize Google Vertex xAI provider, use createGoogleVertexXai from '@ai-sdk/google-vertex/xai' with optional settings for project (defaults to GOOGLE_VERTEX_PROJECT environment variable) and location (defaults to GOOGLE_VERTEX_LOCATION, or 'global' if not set).

Google Vertex xAI Node.js authentication

For Node.js environments, Google Vertex xAI provider supports standard Google Cloud authentication options through google-auth-library. Can pass googleAuthOptions with credentials object containing client_email and private_key.

Google Vertex xAI Edge Runtime import path

For Edge runtimes, import Google Vertex xAI provider from '@ai-sdk/google-vertex/xai/edge'.

Google Vertex xAI Edge Runtime authentication

For Edge runtime authentication with Google Vertex xAI, set these environment variables: GOOGLE_CLIENT_EMAIL, GOOGLE_PRIVATE_KEY, and GOOGLE_PRIVATE_KEY_ID (optional).

Give your agent this brain