You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the types in _types.py don't actually represent what is returned from the API. Specifically I am using the Paragraphs feature, and the API returns paragraphs.paragraphs.speaker which I would like to access, but the typing does not list the speaker as a field (which is optionally there if you specify diarization).
Steps to reproduce
Use the Python SDK
Specify Smart formatting and Diarization
Transcribe something
Use typing
Try access the the speaker field from within the paragraphs and your typing will complain because the SDK doesn't actually contain the possible fields returned from the API.
What is the current behavior?
the types in _types.py don't actually represent what is returned from the API. Specifically I am using the Paragraphs feature, and the API returns
paragraphs.paragraphs.speaker
which I would like to access, but the typing does not list the speaker as a field (which is optionally there if you specify diarization).Steps to reproduce
Expected behavior
I would expect to see
speaker: Optional[int]
herePlease tell us about your environment
Other information
deepgram-sdk==2.11.0
The text was updated successfully, but these errors were encountered: