bumpy-student-61140
08/23/2025, 7:48 PMtall-airline-16756
08/23/2025, 7:48 PMtall-airline-16756
08/23/2025, 7:50 PMinput_audio_transcription and output_audio_transcription when you initialize the RealtimeModel. It looks like this:
from livekit.plugins import google
from google.genai import types
model = google.beta.realtime.RealtimeModel(
input_audio_transcription=types.AudioTranscriptionConfig(),
output_audio_transcription=types.AudioTranscriptionConfig(),
)
• Getting Your Transcriptions:
◦ Input transcriptions come through as input_audio_transcription_completed events.
◦ Output transcriptions show up when the server sends output_transcription content.
• Frontend Access: You’ll find transcriptions published to the frontend using LiveKit’s text streams under the topic lk.transcription.
If you want me to walk you through any part of this or have questions, just let me know—I’m here to help!
Sources: livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/real... | Text and transcriptions | LiveKit Docsbumpy-student-61140
08/23/2025, 7:54 PMtall-airline-16756
08/23/2025, 7:54 PMtypes module from Google's genai library hasn’t been imported yet. No worries though—just add this line at the top of your file:
from google.genai import types
After that, your transcription setup should work smoothly. If you run into any other hiccups, feel free to reach out—I’m here to help!
Sources: livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/stt.pybumpy-student-61140
08/23/2025, 7:56 PMtall-airline-16756
08/23/2025, 7:58 PM