Azure / Azure/azure-sdk-for-python
TranscriptionDiarizationOptions not automatically enabled when max_speakers is specified
Open
customer-reported
needs-team-attention
question
Service Attention
Speech Transcription
- Dominant language
- Python
- Stars
- 5.6k
- Forks
- 3.4k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 193
Description
I am trying to run the `sample_transcribe_with_diarization` method but not getting speaker labels unless I manually update `diarization_options.enabled = True` right after the following line:
https://github.com/Azure/azure-sdk-for-python/blob/b8b89a30cc684ecf072ea163ac220d714b9bf52f/sdk/cognitiveservices/azure-ai-transcription/samples/sample_transcribe_with_diarization.py#L52
This contradicts what the method header says here:
https://github.com/Azure/azure-sdk-for-python/blob/b8b89a30cc684ecf072ea163ac220d714b9bf52f/sdk/cognitiveservices/azure-ai-transcription/azure/ai/transcription/models/_models.py#L292
Contributor guide
Assessment
This issue has not been assessed yet.