Closed dvonthenen closed 2 months ago
The recent changes to the Deepgram project enhance model management capabilities within the SDK. Key updates include the addition of new projects and methods for retrieving models, as well as improved logging. New data structures such as ModelResponse
and ModelsResponse
were introduced to encapsulate model properties and responses effectively. Documentation updates enhance usability, making it easier for developers to utilize the SDK functionalities.
File Path | Change Summary |
---|---|
Deepgram.Dev.sln |
Added "models" project, updated "Models" project path and GUID, and modified solution configurations. |
Deepgram/ClientFactory.cs |
Updated documentation for CreateListenWebSocketClient method, changing reference from "LiveClient" to "ManageClient." |
Deepgram/Clients/Interfaces/v1/IManageClient.cs |
Introduced new methods (GetProjectModels , GetProjectModel , GetModels , GetModel ) for model retrieval. |
Deepgram/Clients/Manage/v1/Client.cs |
Added methods for retrieving models and enhanced logging within the Client class. |
Deepgram/Clients/Manage/v1/UriSegments.cs |
Updated copyright notice and added MODELS constant for URI construction. |
Deepgram/Models/Manage/v1/KeySchema.cs |
Minor cosmetic change: removed a blank line. |
Deepgram/Models/Manage/v1/Metadata.cs |
Introduced new C# record type Metadata with properties for metadata management. |
Deepgram/Models/Manage/v1/ModelResponse.cs |
Introduced ModelResponse record to encapsulate model response details. |
Deepgram/Models/Manage/v1/ModelsResponse.cs |
Introduced ModelsResponse record for API response related to models. |
Deepgram/Models/Manage/v1/Stt.cs |
Introduced Stt record representing speech-to-text model configuration. |
Deepgram/Models/Manage/v1/Tts.cs |
Introduced Tts record for text-to-speech model attributes. |
README.md |
Added documentation entry for "Models" example, improving usability. |
examples/manage/models/Models.csproj |
Introduced project configuration for a .NET application targeting .NET 6.0. |
examples/manage/models/Program.cs |
Added sample application showcasing interaction with Deepgram SDK for model management. |
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?
Proposed changes
Implements the Models API. Example in
examples/manage/models
.Types of changes
What types of changes does your code introduce to the community .NET SDK? Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.Further comments
NA
Summary by CodeRabbit
New Features
ModelResponse
,ModelsResponse
,Stt
, andTts
added to support better model configuration and responses.Documentation
Chores