Closed dvonthenen closed 1 month ago
The recent updates include the addition of language detection capabilities across various models in the Deepgram REST and WebSocket APIs. New properties were introduced to store language information for words and transcription alternatives, along with adjustments to some access modifiers to improve data accessibility.
File | Change Summary |
---|---|
Deepgram/Models/Listen/v1/REST/Alternative.cs Deepgram/Models/Listen/v1/WebSocket/Alternative.cs |
Added Languages property to store detected languages. |
Deepgram/Models/Listen/v1/REST/Paragraph.cs |
Changed NumWords access modifier to public, added Speaker property. |
Deepgram/Models/Listen/v1/REST/Word.cs Deepgram/Models/Listen/v1/WebSocket/Word.cs |
Added Language property to store the detected language of the word. |
Since the changes involve adding new properties and modifying existing ones without altering core control flow, no sequence diagrams are necessary for these updates. The additions are primarily enhancements aimed at improving the data model for existing processes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This implements multi-lingual support for
main
branch. This is implemented in the temp branch here: https://github.com/dvonthenen/deepgram-python-sdk/tree/temp-v40-relDid not test. Implemented per the spec since this was pretty straight forward.
Summary by CodeRabbit
New Features
Enhancements
NumWords
property in the Paragraph model publicly accessible.Speaker
property to the Paragraph model for identifying speakers.