Closed dvonthenen closed 8 months ago
The recent updates focus on enhancing the Deepgram SDK's functionality and organization. Key improvements include the introduction of the AnalyzeClient
for Read API interactions, addition of AnalyzeSchema
for detailed transcription requests, and restructuring of import statements across various models to accommodate versioning. These changes streamline the SDK's usability for developers, ensuring more efficient handling of transcription tasks and management operations within the Deepgram ecosystem.
File(s) | Change Summary |
---|---|
.../UtilitiesTests/QueryParameterUtilTests.cs , Log.cs |
Updated import statement from Deepgram.Models.Manage to Deepgram.Models.Manage.v1 . |
AnalyzeClient.cs |
Introduced ReadClient class with methods for file transcription via various sources, including callback options for asynchronous tasks. |
Constants/UriSegments.cs |
Added ANALYZE constant with value "read" . |
ManageClient.cs |
Reorganized import statements for Manage and Authenticate modules. |
Deepgram/Models/Analyze/v1/... |
Introduced new classes and records in the Analyze.v1 namespace for detailed transcription handling. |
Deepgram/Models/Live/v1/... |
Converted classes to records for Average , SpeechStartedResponse , and UtteranceEndResponse . |
Deepgram/Models/Manage/v1/... |
Fixed missing semicolons, updated namespace declarations, and improved class declaration syntax. |
Deepgram/Models/PreRecorded/v1/... |
Made various updates including semicolon corrections, class-to-record conversions, and property type renaming. |
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?
@coderabbitai review
Addresses Issues: https://github.com/deepgram/deepgram-dotnet-sdk/issues/158, https://github.com/deepgram/deepgram-dotnet-sdk/issues/157, https://github.com/deepgram/deepgram-dotnet-sdk/issues/156, https://github.com/deepgram/deepgram-dotnet-sdk/issues/155
This implements Analyze Client using PreRecorded Client as a template. This should be working... just need the unit tests and examples to make sure they do.
TODOs: will add unit tests and examples in subsequent PRs
Summary by CodeRabbit
New Features
ReadClient
class for interacting with Read API's, including transcription from URLs, byte arrays, streams, and support for callback URLs for asynchronous tasks.AnalyzeSchema
class with extensive properties for transcription customization.AsyncResponse
,Average
,Intent
,IntentGroup
,IntentsInfo
,Metadata
,Results
,Segment
,SentimentGroup
,SentimentInfo
,Summary
,SummaryInfo
,SyncResponse
,Topic
,TopicGroup
,TopicsInfo
, andUrlSource
classes in theAnalyze
module.Live
andManage
modules with new records and schema updates for better data handling and response structures.Refactor
Live
andPreRecorded
modules.Bug Fixes
Manage
module classes to ensure code integrity and proper compilation.