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

clarifai/setup

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

Clarifai provider setup via @ai-sdk/openai-compatible

The Clarifai provider is available through the @ai-sdk/openai-compatible module because it is compatible with the OpenAI API. Install it with @ai-sdk/openai-compatible.

Create Clarifai provider instance

Create a Clarifai provider instance using createOpenAICompatible function with name 'clarifai', baseURL 'https://api.clarifai.com/v2/ext/openai/v1', and apiKey from CLARIFAI_PAT environment variable.

Clarifai API key - Personal Access Token

Obtain a Clarifai API key by creating a Personal Access Token (PAT) in account settings at https://clarifai.com/settings/security. Set the CLARIFAI_PAT environment variable with your PAT. New users can sign up for a free account at https://clarifai.com/signup.

Give your agent this brain