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

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

ElevenLabs provider installation

The ElevenLabs provider is available in the @ai-sdk/elevenlabs module and can be installed as a package.

ElevenLabs provider instance import

The default provider instance elevenLabs can be imported from @ai-sdk/elevenlabs using: import { elevenLabs } from '@ai-sdk/elevenlabs';

ElevenLabs custom provider instance creation

A customized ElevenLabs provider instance can be created by importing createElevenLabs from @ai-sdk/elevenlabs and calling it with settings: import { createElevenLabs } from '@ai-sdk/elevenlabs'; const elevenLabs = createElevenLabs({ fetch: customFetch });

ElevenLabs provider optional settings

The ElevenLabs provider instance accepts the following optional settings: apiKey (string, sent via xi-api-key header, defaults to ELEVENLABS_API_KEY environment variable), headers (Record<string,string> for custom headers), fetch (custom fetch implementation), and webSocket (custom WebSocket implementation for realtime transcription with header capability required for runtimes where native WebSocket cannot send xi-api-key header).

ElevenLabs streaming transcription WebSocket requirement

The ElevenLabs realtime endpoint authenticates with a WebSocket header. A header-capable WebSocket implementation, such as ws, is required in runtimes whose native WebSocket constructor cannot send headers.

Give your agent this brain