Closed davidvonthenen closed 8 months ago
This update introduces a significant expansion and refinement to the .NET SDK for Deepgram, focusing on enhancing functionality around speech processing. Key additions include the introduction of a new Speak
project, improvements to HTTP client configurations for better customization and thread safety, and the introduction of addons
parameters across various client methods for extended functionality. The changes aim to provide more flexible and powerful tools for developers working with the Deepgram API for audio transcription and speech processing tasks.
Files | Change Summary |
---|---|
Deepgram.Dev.sln |
Added "Speak" project |
Deepgram.Tests/Fakes/MockHttpClient.cs |
Removed an empty line |
Deepgram.Tests/Fakes/MockHttpMessageHandler.cs |
Added generic type parameter; removed line break |
Deepgram.Tests/.../SpeakClientTests.cs |
Added unit tests for SpeakClient |
Deepgram/Abstractions/AbstractRestClient.cs |
Added using directives; modified and added methods with addons parameter |
Deepgram/Clients/Analyze/v1/Client.cs Deepgram/Clients/Live/v1/Client.cs Deepgram/Clients/Manage/v1/Client.cs Deepgram/Clients/PreRecorded/v1/Client.cs |
Updated methods to include addons parameter |
Deepgram/Clients/Speak/v1/... |
Implemented SpeakClient and related classes for audio transcription |
Deepgram/Models/... |
Updated and introduced models for Speak API |
Deepgram/Utilities/QueryParameterUtil.cs |
Updated and added methods for query parameter handling |
examples/speak/... |
Added examples demonstrating Speak API usage |
addons
parameters, could potentially address the concerns raised about thread safety and the need for further HTTP/REST client refactoring.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?
Addresses issue: https://github.com/deepgram/deepgram-dotnet-sdk/issues/244 Partially addresses: https://github.com/deepgram/deepgram-dotnet-sdk/issues/234
Major changes include:
There are
TODO
s for logging (and comments) which I will get back to when I have a logging mechanism with verbosity levels worked. Existing issues for Comments https://github.com/deepgram/deepgram-dotnet-sdk/issues/210 and Logging https://github.com/deepgram/deepgram-dotnet-sdk/issues/219 already exist as a reminder.Summary by CodeRabbit
New Features
addons
parameters across various client methods, enabling extended functionality in speech processing tasks.Bug Fixes
Refactor
Documentation