billowy-hairdresser-62530
11/25/2025, 11:51 AMclass Transcriber(Agent):
def __init__(self):
super().__init__(
instructions="not-needed",
stt=openai.STT.with_azure(
model=settings.stt_model_diarize,
azure_endpoint=settings.azure_openai_endpoint,
api_key=settings.azure_openai_api_key,
api_version="2025-04-01-preview",
# language="no",
# prompt="The audio is in Norwegian. Transcribe it in Norwegian.",
),
)tall-airline-16756
11/25/2025, 11:51 AMtall-airline-16756
11/25/2025, 11:51 AMgpt-4o-transcribe-diarize with Norwegian and your prompt/language options aren't taking effect — I’ll address that and propose clear next steps.
Short answer
• Use a supported model ID like gpt-4o-transcribe (not gpt-4o-transcribe-diarize).
• Set language to Norwegian Bokmål using nb (try nb rather than no).
• prompt is not a supported parameter for openai.STT.with_azure() so it won't affect transcription.
What to try
1. Swap the model and set language:
stt = openai.STT.with_azure(
model="gpt-4o-transcribe",
azure_endpoint=settings.azure_openai_endpoint,
api_key=settings.azure_openai_api_key,
api_version="2025-04-01-preview",
language="nb",
)
1. If you need diarization (speaker labeling) or better Norwegian support:
• LiveKit docs do not list gpt-4o-transcribe-diarize as a supported model and diarization isn’t provided by that plugin.
• Consider STT providers that explicitly support diarization + Norwegian (examples: Speechmatics, Gladia).
Questions to narrow this down
• Do you need diarization (speaker separation) or just accurate Norwegian transcription?
• Are you able to switch to gpt-4o-transcribe for testing language="nb" now?
If you tell me which option you need (pure transcription vs diarization), I’ll give the exact next steps for that path.
Sources: OpenAI STT plugin guide | LiveKit Docs | Azure OpenAI STT plugin guide | LiveKit Docs | Speechmatics STT plugin guide | LiveKit Docs | Gladia STT plugin guide | LiveKit Docs