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

gladia/options

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

Gladia provider options - contextPrompt

contextPrompt (string, optional): Context to feed the transcription model with for possible better accuracy.

Gladia provider options - customVocabulary

customVocabulary (boolean | any[], optional): Custom vocabulary to improve transcription accuracy.

Gladia provider options - displayMode

displayMode (boolean, optional): Enable display mode.

Gladia transcription with provider options example

Example showing how to use transcribe with Gladia and provider options: `import { transcribe } from 'ai'; import { gladia } from '@ai-sdk/gladia'; import { type GladiaTranscriptionModelOptions } from '@ai-sdk/gladia'; import { readFile } from 'fs/promises'; const result = await transcribe({ model: gladia.transcription(), audio: await readFile('audio.mp3'), providerOptions: { gladia: { summarization: true, } satisfies GladiaTranscriptionModelOptions, }, });`

Gladia provider options - punctuationEnhanced

punctuationEnhanced (boolean, optional): Enable enhanced punctuation.

Gladia provider options - customVocabularyConfig

customVocabularyConfig (object, optional): Configuration for custom vocabulary with vocabulary (Array<string | { value: string, intensity?: number, pronunciations?: string[], language?: string }>) and defaultIntensity (number) properties.

Gladia provider options - detectLanguage

detectLanguage (boolean, optional): Whether to automatically detect the language.

Gladia provider options - enableCodeSwitching

enableCodeSwitching (boolean, optional): Enable code switching for multilingual audio.

Gladia provider options - codeSwitchingConfig

codeSwitchingConfig (object, optional): Configuration for code switching with languages (string[]) property.

Gladia provider options - language

language (string, optional): Specify the language of the audio.

Gladia provider options - callback

callback (boolean, optional): Enable callback when transcription is complete.

Gladia provider options - callbackConfig

callbackConfig (object, optional): Configuration for callback with url (string) and method ('POST' | 'PUT') properties.

Gladia provider options - subtitles

subtitles (boolean, optional): Generate subtitles from the transcription.

Gladia provider options - subtitlesConfig

subtitlesConfig (object, optional): Configuration for subtitles with formats (Array<'srt' | 'vtt'>), minimumDuration (number), maximumDuration (number), maximumCharactersPerRow (number), maximumRowsPerCaption (number), and style ('default' | 'compliance') properties.

Gladia provider options - diarization

diarization (boolean, optional): Enable speaker diarization.

Gladia provider options - diarizationConfig

diarizationConfig (object, optional): Configuration for diarization with numberOfSpeakers (number), minSpeakers (number), maxSpeakers (number), and enhanced (boolean) properties.

Gladia provider options - translation

translation (boolean, optional): Enable translation of the transcription.

Gladia provider options - translationConfig

translationConfig (object, optional): Configuration for translation with targetLanguages (string[]), model ('base' | 'enhanced'), and matchOriginalUtterances (boolean) properties.

Gladia provider options - summarization

summarization (boolean, optional): Enable summarization of the transcription.

Gladia provider options - summarizationConfig

summarizationConfig (object, optional): Configuration for summarization with type ('general' | 'bullet_points' | 'concise') property.

Gladia provider options - moderation

moderation (boolean, optional): Enable content moderation.

Gladia provider options - namedEntityRecognition

namedEntityRecognition (boolean, optional): Enable named entity recognition.

Gladia provider options - chapterization

chapterization (boolean, optional): Enable chapterization of the transcription.

Gladia provider options - nameConsistency

nameConsistency (boolean, optional): Enable name consistency in the transcription.

Gladia provider options - customSpelling

customSpelling (boolean, optional): Enable custom spelling.

Gladia provider options - customSpellingConfig

customSpellingConfig (object, optional): Configuration for custom spelling with spellingDictionary (Record<string, string[]>) property.

Gladia provider options - structuredDataExtraction

structuredDataExtraction (boolean, optional): Enable structured data extraction.

Gladia provider options - structuredDataExtractionConfig

structuredDataExtractionConfig (object, optional): Configuration for structured data extraction with classes (string[]) property.

Gladia provider options - sentimentAnalysis

sentimentAnalysis (boolean, optional): Enable sentiment analysis.

Gladia provider options - audioToLlm

audioToLlm (boolean, optional): Enable audio to LLM processing.

Gladia provider options - audioToLlmConfig

audioToLlmConfig (object, optional): Configuration for audio to LLM with prompts (string[]) property.

Gladia provider options - customMetadata

customMetadata (Record<string, any>, optional): Custom metadata to include with the request.

Gladia provider options - sentences

sentences (boolean, optional): Enable sentence detection.

Give your agent this brain