average-knife-77348
11/11/2025, 5:43 AMtall-airline-16756
11/11/2025, 5:43 AMtall-airline-16756
11/11/2025, 5:43 AMopenai.stt plugin in LiveKit and its parameters and configurations:
• model (Optional, Default: gpt-4o-transcribe): This sets the transcription model you'd like to use. For example, you can choose whisper-1.
• language (Optional, Default: en): This is where you specify the language of your input audio using the ISO-639-1 format. Just a heads up, if detect_language is turned on, this will be ignored.
• detect_language (Optional, Default: false): If you want the system to automatically detect the language for you, just enable this.
• prompt (Optional): You can provide a text prompt to help guide the transcription, which works with certain models like whisper-1.
• base_url (Optional): If you're using OpenAI-compatible APIs like Groq or Azure, you can set a custom base URL here.
• api_key (Optional): This is for your API key to authenticate. If you don’t provide one, it will use the OPENAI_API_KEY environment variable by default.
• client (Optional): You can also provide a pre-configured client instance if you have one ready.
• use_realtime (Optional, Default: false): If you want streaming transcription and interim results, enabling OpenAI's Realtime API here will do the trick.
• turn_detection (Optional): This controls user speech turn detection, and by default, it uses server-side voice activity detection (VAD).
• noise_reduction_type (Optional): You can apply noise reduction by choosing either near_field or far_field.
Also, there are handy static methods like with_groq() and with_azure() that help configure the plugin for Groq or Azure-specific APIs.
If you'd like to explore more, feel free to check out the LiveKit OpenAI STT documentation. I'm here if you have any questions along the way!
Sources: OpenAI STT plugin guide | LiveKit Docs | OpenAI STT plugin guide | LiveKit docs | examples/src/raw_function_description.ts | livekit-plugins/livekit-plugins-openai/README.md