Hi <@U08CKJH7C12> I am livekit paid customer I’m...
# agents
b
Hi @refined-appointment-81829 I am livekit paid customer I’m working on implementing multilingual support for our interview application using the Google Realtime Model plugin, and I’ve encountered some conflicting information that I’d like to clarify. Current Setup: • Using
livekit.plugins.google.beta.realtime.RealtimeModel
• Goal: Users speak in various languages (Hindi, Spanish, etc.) but transcripts should display in English • Using AssemblyAI STT alongside the realtime model for transcript display The Issue: In a previous support response (Aug 30, 12:07 AM), your team suggested using: python
Copy code
input_audio_transcription=types.AudioTranscriptionConfig(
    language_code="en-US"
),
However, when I implement this, I get a validation error:
Copy code
pydantic_core._pydantic_core.ValidationError: 1 validation error for AudioTranscriptionConfig
language_code
  Extra inputs are not permitted [type=extra_forbidden, input_value='en-US', input_type=str]
Documentation Discrepancy: According to the current LiveKit documentation for Google Realtime Model,
AudioTranscriptionConfig
appears to be an empty configuration object, and parameters like
language_code
,
translation
,
language_detection
, etc. are not mentioned as available parameters. Questions: 1. Parameter Availability: Does
AudioTranscriptionConfig
actually support
language_code
parameter? If so, which version/package should I be using? 2. Version Mismatch: Is this a documentation lag issue where newer features aren’t documented yet, or am I using an incompatible version? 3. Multilingual Approach: What’s the recommended approach for handling multilingual input with English transcript output when using Google Realtime Models? Should I: ◦ Set language parameters in the realtime model configuration? ◦ Handle translation at the STT level separately? ◦ Use Google’s built-in language detection/translation features? 4. Beta Plugin Status: Since the Google realtime plugin is in beta, are there known limitations or workarounds for multilingual scenarios? Current Package Versions: • livekit 1.0.12 • livekit-agents 1.2.3 • livekit-api 1.0.5 • livekit-blingfire 1.0.0 • livekit-plugins-assemblyai 1.0.20 • livekit-plugins-deepgram 1.0.18 • livekit-plugins-google 1.2.3 • livekit-plugins-noise-cancellation 0.2.1 • livekit-plugins-openai 1.0.22 • livekit-plugins-silero 1.2.3 • livekit-protocol 1.0.4 • google-api-core 2.25.1 • google-auth 2.40.3 • google-cloud-speech 2.33.0 • google-cloud-texttospeech 2.27.0 • google-genai 1.32.0 • googleapis-common-protos 1.70.0 • livekit-plugins-google 1.2.3 Expected Behavior: User speaks in Hindi → Google Realtime Model processes conversation in Hindi → Transcript displays in English → Agent responds appropriately Could you please clarify the correct implementation approach and whether the suggested
language_code
parameter should actually work? If there are version-specific requirements or alternative approaches, I’d appreciate guidance. Thank you for your assistance.
f
I don't think it supports configuring through AudioTranscriptionConfig
b
How do we solve this issue?
@refined-appointment-81829
@refined-appointment-81829 please help me resolve this issue, I am using livekit cloud
r
Have you checked the Google forums?
b
Yes already @refined-appointment-81829
r
I guess one question is why are you running such an old version of LiveKit?
b
might be a miss I will upgrade? What other recommendation do you have?
also which package are you talking about is older?
r
These are all old:
Copy code
livekit-agents                           1.2.3
livekit-api                              1.0.5
livekit-blingfire                        1.0.0
livekit-plugins-assemblyai               1.0.20
livekit-plugins-deepgram                 1.0.18
livekit-plugins-google                   1.2.3
livekit-plugins-noise-cancellation       0.2.1
livekit-plugins-openai                   1.0.22
livekit-plugins-silero                   1.2.3
livekit-protocol                         1.0.4