Open dvonthenen opened 1 month ago
The update enhances the Deepgram solution by adding a new WebSocket project and a simple example, expanding the WebSocket client functionality for the Speak API. It reorganizes unit tests, updates the README with practical examples, and introduces various classes and methods for handling WebSocket communication, improving the overall structure and usability for developers.
File/Folder | Summary |
---|---|
Deepgram.Dev.sln |
Added new WebSocket and simple projects to the solution. |
Deepgram.Tests/UnitTests/ClientTests/SpeakClientTests.cs |
Adjusted the assignment of null to speakSchema.CallBack for clarity. |
Deepgram.Tests/UnitTests/HttpExtensionsTests/HttpClientExtensionTests.cs |
Updated DeepgramHttpClientOptions constructor to include an additional parameter. |
Deepgram/ClientFactory.cs |
Uncommented and reintroduced the CreateSpeakWebSocketClient method. |
Deepgram/Clients/Interfaces/v1/ISpeakWebSocketClient.cs |
Defined methods for WebSocket client communication and state checks. |
Deepgram/Clients/Speak/v1/WebSocket/Client.cs |
Implemented the WebSocket client for the Deepgram Speak API. |
Deepgram/Models/Speak/v1/WebSocket/* |
Introduced various new records and classes for WebSocket responses and messages. |
Deepgram/SpeakWebSocketClient.cs |
Implemented the latest version of the Speak WebSocket client. |
README.md |
Added a new example section for Text to Speech using WebSocket. |
Deepgram/Models/Authenticate/v1/Constants.cs |
Introduced Constants class for centralized string constants related to the Speak API. |
Deepgram/Models/Authenticate/v1/DeepgramHttpClientOptions.cs |
Enhanced with new properties and methods for improved configuration. |
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?
Summary by CodeRabbit
New Features
Improvements
CreateSpeakWebSocketClient
method for creating WebSocket clients.Documentation
Bug Fixes
SpeakClientTests
for improved reliability.