Skip to content

bodhi-realtime-agent / GeminiBatchSTTConfig

Interface: GeminiBatchSTTConfig ​

Defined in: src/transport/gemini-batch-stt-provider.ts:5

Configuration for the Gemini batch STT provider.

Properties ​

apiKey ​

apiKey: string

Defined in: src/transport/gemini-batch-stt-provider.ts:7

Google API key for the Gemini API.


contextHint? ​

optional contextHint?: string | (() => string | undefined)

Defined in: src/transport/gemini-batch-stt-provider.ts:19

Domain vocabulary hint appended to the transcription prompt — key terms the session is about (e.g. a slide deck's technical terms). The model is told to prefer these exact spellings when the audio plausibly matches, so garbled audio near a known term resolves to the term instead of a phonetic guess ("mass derivation" → "math derivation"). A function is re-read per commit so the host can supply it AFTER construction (deck loads late); if it throws, the error is logged and that request uses the base prompt.


model ​

model: string

Defined in: src/transport/gemini-batch-stt-provider.ts:9

Model name for STT (e.g. "gemini-3-flash-preview").

Built with VitePress