How do i use gpt-4o-transcribe-diarize from azure ...
# ask-ai
b
How do i use gpt-4o-transcribe-diarize from azure openai with norwegian language? prompt doesn’t work with this model, and language=“no” is not supported apparently.
Copy code
class 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.",
            ),
        )
t
Thanks for reaching out, T. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You're trying to use
gpt-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:
Copy code
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