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

portkey/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.

Portkey provider package name

The Portkey provider is available in the `@portkey-ai/vercel-provider` module.

Portkey createPortkey function setup

The `createPortkey` function is used to create a Portkey provider instance. It accepts an object with `apiKey` (your Portkey API key from the Portkey Dashboard) and `config` properties. The config object contains: `provider` (the underlying LLM provider like 'openai'), `api_key` (the respective provider's API key), and `override_params` (an object with properties like `model` to specify the LLM to use).

Portkey createPortkey configuration example

Example configuration for creating a Portkey provider instance: ```typescript import { createPortkey } from '@portkey-ai/vercel-provider'; const portkeyConfig = { provider: 'openai', //enter provider of choice api_key: 'OPENAI_API_KEY', //enter the respective provider's api key override_params: { model: 'gpt-5', //choose from 250+ LLMs }, }; const portkey = createPortkey({ apiKey: 'YOUR_PORTKEY_API_KEY', config: portkeyConfig, }); ```

Give your agent this brain