Skip to content

Commit

Permalink
Merge pull request #57 from shirgoldbird/smart_format
Browse files Browse the repository at this point in the history
add smart formatting
  • Loading branch information
briancbarrow authored Dec 13, 2022
2 parents 71ea3f6 + ea2ffea commit 6243cfb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Deepgram/Transcription/LiveTranscriptionOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,14 @@ public class LiveTranscriptionOptions
[JsonProperty("measurements")]
public Nullable<bool> Measurements { get; set; } = null;

/// <summary>
/// Indicates whether to use Smart Format on the transcript. When enabled,
/// Smart Format will add punctuation and formatting to entities like dates, times,
/// tracking numbers, and more.
/// </summary>
[JsonProperty("smart_format")]
public Nullable<bool> SmartFormat { get; set; } = null;

/// <summary>
/// Terms or phrases to search for in the submitted audio.
/// </summary>
Expand Down
8 changes: 8 additions & 0 deletions Deepgram/Transcription/PrerecordedTranscriptionOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,14 @@ public class PrerecordedTranscriptionOptions
[JsonProperty("measurements")]
public Nullable<bool> Measurements { get; set; } = null;

/// <summary>
/// Indicates whether to use Smart Format on the transcript. When enabled,
/// Smart Format will add punctuation and formatting to entities like dates, times,
/// tracking numbers, and more.
/// </summary>
[JsonProperty("smart_format")]
public Nullable<bool> SmartFormat { get; set; } = null;

/// <summary>
/// Terms or phrases to search for in the submitted audio.
/// </summary>
Expand Down

0 comments on commit 6243cfb

Please sign in to comment.