deepgram-dotnet-sdk icon indicating copy to clipboard operation
deepgram-dotnet-sdk copied to clipboard

Support for Summarize=v2?

Open sgodin opened this issue 1 month ago • 0 comments

I received an email from Deepgram with the following info:

 We've made meaningful improvements to our intelligence features over the last few years, and we will now be standardizing parameters and deprecating legacy versions of certain features.
IMPORTANT: Some API requests will be blocked on or after November 1, 2025 if you continue using deprecated Intelligence feature parameters listed below.
... stuff cut...
For Summarization (Parameter + Code Updates):
•	If using `summarize=true` → update your response parsing for v2 structure (documented here) 
•	If using `summarize=v1` → update parameter usage to `summarize=true` or `summarize=v2` AND update your response parsing for v2 structure (documented here)
•	If using `summarize=v2` → no changes needed

I'm using the latest C# client version 6.6.0 - however it still contains the old definition of Summary using the Text member. It doesn't appear to have an accessible v2 structure for Summary.

ClientFactory.CreateAnalyzeClient creates a Deepgram.Clients.Interfaces.v1.IAnalyzeClient and the AnalyzeClient.AnalyzeFile method returns a SyncResponse that contains Results.Summary with the version 1 Text field only.

How am I supposed to migrate to using the v2 Summary response from here? https://developers.deepgram.com/docs/summarization#analyze-response

sgodin avatar Oct 14 '25 19:10 sgodin