Skip to content

Commit

Permalink
add numerals query param for batch and streaming
Browse files Browse the repository at this point in the history
  • Loading branch information
jjmaldonis committed Sep 19, 2024
1 parent 184f161 commit fddb9d2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Deepgram/Models/Listen/v1/REST/PreRecordedSchema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,14 @@ public class PreRecordedSchema
[JsonPropertyName("sentiment")]
public bool? Sentiment { get; set; }

/// <summary>
/// Numerals converts numbers from written format to numerical format.
/// <see href="https://developers.deepgram.com/docs/numerals">
/// </summary>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("numerals")]
public bool? numerals { get; set; }

/// <summary>
/// Smart Format formats transcripts to improve readability.
/// <see href="https://developers.deepgram.com/docs/smart-format">
Expand Down
8 changes: 8 additions & 0 deletions Deepgram/Models/Listen/v1/WebSocket/LiveSchema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,14 @@ public class LiveSchema
[JsonPropertyName("search")]
public List<string>? Search { get; set; }

/// <summary>
/// Numerals converts numbers from written format to numerical format.
/// <see href="https://developers.deepgram.com/docs/numerals">
/// </summary>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("numerals")]
public bool? numerals { get; set; }

/// <summary>
/// Smart Format formats transcripts to improve readability.
/// <see href="https://developers.deepgram.com/docs/smart-format">
Expand Down

0 comments on commit fddb9d2

Please sign in to comment.