File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11using System ;
2- using System . Text ;
32using Newtonsoft . Json ;
43
54namespace Deepgram . Transcription
@@ -24,6 +23,13 @@ public class LiveTranscriptionOptions
2423 [ JsonProperty ( "language" ) ]
2524 public string Language { get ; set ; } = null ;
2625
26+ /// <summary>
27+ /// Level of model you would like to use in your request.
28+ /// </summary>
29+ /// <remarks>Defaults to base. Possible values are: base, enhanced</remarks>
30+ [ JsonProperty ( "tier" ) ]
31+ public string Tier { get ; set ; } = null ;
32+
2733 /// <summary>
2834 /// Indicates whether to add punctuation and capitalization to the transcript.
2935 /// </summary>
@@ -81,6 +87,13 @@ public class LiveTranscriptionOptions
8187 [ JsonProperty ( "search" ) ]
8288 public string [ ] SearchTerms { get ; set ; }
8389
90+ /// <summary>
91+ /// Terms or phrases to search for in the submitted audio and replace.
92+ /// </summary>
93+ /// <remarks>Phrases should be submitted in the format: searchfor:replacewith</remarks>
94+ [ JsonProperty ( "replace" ) ]
95+ public string [ ] Replace { get ; set ; }
96+
8497 /// <summary>
8598 /// Callback URL to provide if you would like your submitted audio to be processed asynchronously.
8699 /// When passed, Deepgram will immediately respond with a request_id.
Original file line number Diff line number Diff line change 11using System ;
2- using System . Collections . Generic ;
3- using System . Text ;
42using Newtonsoft . Json ;
53
64namespace Deepgram . Transcription
@@ -25,6 +23,13 @@ public class PrerecordedTranscriptionOptions
2523 [ JsonProperty ( "language" ) ]
2624 public string Language { get ; set ; } = null ;
2725
26+ /// <summary>
27+ /// Level of model you would like to use in your request.
28+ /// </summary>
29+ /// <remarks>Defaults to base. Possible values are: base, enhanced</remarks>
30+ [ JsonProperty ( "tier" ) ]
31+ public string Tier { get ; set ; } = null ;
32+
2833 /// <summary>
2934 /// Indicates whether to add punctuation and capitalization to the transcript.
3035 /// </summary>
@@ -81,6 +86,13 @@ public class PrerecordedTranscriptionOptions
8186 /// </summary>
8287 [ JsonProperty ( "search" ) ]
8388 public string [ ] SearchTerms { get ; set ; }
89+
90+ /// <summary>
91+ /// Terms or phrases to search for in the submitted audio and replace.
92+ /// </summary>
93+ /// <remarks>Phrases should be submitted in the format: searchfor:replacewith</remarks>
94+ [ JsonProperty ( "replace" ) ]
95+ public string [ ] Replace { get ; set ; }
8496
8597 /// <summary>
8698 /// Callback URL to provide if you would like your submitted audio to be processed asynchronously.
You can’t perform that action at this time.
0 commit comments