Closed barapa closed 2 months ago
Call with diarization:
options = PrerecordedOptions( model=MODEL, language="en", smart_format=True, punctuate=True, paragraphs=True, diarize=True, keywords=keywords, ) source: UrlSource = UrlSource(url=audio_url) response await self._deepgram.listen.asyncprerecorded.v("1").transcribe_url( source, options, )
logger.info(response.to_json())
Both confidence and speaker_confidence to be present in the dumped json, as indicated in the docs
Python 3.12.1
Sorry, was looking at the wrong field. Closing as this was raised in error.
What is the current behavior?
Steps to reproduce
Call with diarization:
Expected behavior
Both confidence and speaker_confidence to be present in the dumped json, as indicated in the docs
Please tell us about your environment
Python 3.12.1