From fddb9d2d1affdb6dc313881062370e1bb40c0f44 Mon Sep 17 00:00:00 2001 From: Jason Maldonis Date: Thu, 19 Sep 2024 08:06:52 -0500 Subject: [PATCH] add numerals query param for batch and streaming --- Deepgram/Models/Listen/v1/REST/PreRecordedSchema.cs | 8 ++++++++ Deepgram/Models/Listen/v1/WebSocket/LiveSchema.cs | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/Deepgram/Models/Listen/v1/REST/PreRecordedSchema.cs b/Deepgram/Models/Listen/v1/REST/PreRecordedSchema.cs index 25e08e0a..cb01271a 100644 --- a/Deepgram/Models/Listen/v1/REST/PreRecordedSchema.cs +++ b/Deepgram/Models/Listen/v1/REST/PreRecordedSchema.cs @@ -247,6 +247,14 @@ public class PreRecordedSchema [JsonPropertyName("sentiment")] public bool? Sentiment { get; set; } + /// + /// Numerals converts numbers from written format to numerical format. + /// + /// + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + [JsonPropertyName("numerals")] + public bool? numerals { get; set; } + /// /// Smart Format formats transcripts to improve readability. /// diff --git a/Deepgram/Models/Listen/v1/WebSocket/LiveSchema.cs b/Deepgram/Models/Listen/v1/WebSocket/LiveSchema.cs index 7c15d487..a3f9d3c6 100644 --- a/Deepgram/Models/Listen/v1/WebSocket/LiveSchema.cs +++ b/Deepgram/Models/Listen/v1/WebSocket/LiveSchema.cs @@ -203,6 +203,14 @@ public class LiveSchema [JsonPropertyName("search")] public List? Search { get; set; } + /// + /// Numerals converts numbers from written format to numerical format. + /// + /// + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + [JsonPropertyName("numerals")] + public bool? numerals { get; set; } + /// /// Smart Format formats transcripts to improve readability. ///