Skip to content

Commit

Permalink
Update Numerials for Consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
dvonthenen committed Sep 19, 2024
1 parent c9606cf commit d183bf4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions Deepgram/Models/Listen/v1/REST/PreRecordedSchema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,14 @@ public class PreRecordedSchema
[JsonPropertyName("multichannel")]
public bool? MultiChannel { 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>
/// Enable paragraph detection
/// </summary>
Expand Down Expand Up @@ -247,14 +255,6 @@ 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
16 changes: 8 additions & 8 deletions Deepgram/Models/Listen/v1/WebSocket/LiveSchema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,14 @@ public class LiveSchema
[JsonPropertyName("no_delay")]
public bool? NoDelay { 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>
/// Profanity Filter looks for recognized profanity and converts it to the nearest recognized
/// non-profane word or removes it from the transcript completely.
Expand Down Expand Up @@ -203,14 +211,6 @@ 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 d183bf4

Please sign in to comment.