diff --git a/Deepgram/Models/PreRecorded/v1/PrerecordedSchema.cs b/Deepgram/Models/PreRecorded/v1/PrerecordedSchema.cs index 4728603e..eac904f3 100644 --- a/Deepgram/Models/PreRecorded/v1/PrerecordedSchema.cs +++ b/Deepgram/Models/PreRecorded/v1/PrerecordedSchema.cs @@ -94,6 +94,14 @@ public class PrerecordedSchema [JsonPropertyName("dictation")] public bool? Dictation { get; set; } + /// + /// Encoding allows you to specify the expected encoding of your submitted audio. + /// + /// supported encodings + /// + [JsonPropertyName("encoding")] + public string? Encoding { get; set; } + /// /// Deepgramā€™s Extra Metadata feature allows you to attach arbitrary key-value pairs to your API requests that are attached to the API response for usage in downstream processing. /// Extra metadata is limited to 2048 characters per key-value pair. @@ -187,6 +195,14 @@ public class PrerecordedSchema [JsonPropertyName("replace")] public List? Replace { get; set; } + /// + /// Sample Rate allows you to specify the sample rate of your submitted audio. + /// + /// only applies when Encoding has a value + /// + [JsonPropertyName("sample_rate")] + public int? SampleRate { get; set; } + /// /// Search searches for terms or phrases in submitted audio. ///