diff --git a/src/libs/Deepgram/Generated/Deepgram.Realtime.JsonConverters.ChannelsAgentV1MessagesAgentV1SettingsAgentOneOf0ListenProvider.g.cs b/src/libs/Deepgram/Generated/Deepgram.Realtime.JsonConverters.ChannelsAgentV1MessagesAgentV1SettingsAgentOneOf0ListenProvider.g.cs index aefead2..029658e 100644 --- a/src/libs/Deepgram/Generated/Deepgram.Realtime.JsonConverters.ChannelsAgentV1MessagesAgentV1SettingsAgentOneOf0ListenProvider.g.cs +++ b/src/libs/Deepgram/Generated/Deepgram.Realtime.JsonConverters.ChannelsAgentV1MessagesAgentV1SettingsAgentOneOf0ListenProvider.g.cs @@ -36,7 +36,7 @@ public class ChannelsAgentV1MessagesAgentV1SettingsAgentOneOf0ListenProviderJson if (__jsonProps.Contains("version")) __score0++; var __score1 = 0; if (__jsonProps.Contains("keyterms")) __score1++; - if (__jsonProps.Contains("language_hint")) __score1++; + if (__jsonProps.Contains("language_hints")) __score1++; if (__jsonProps.Contains("model")) __score1++; if (__jsonProps.Contains("type")) __score1++; if (__jsonProps.Contains("version")) __score1++; diff --git a/src/libs/Deepgram/Generated/Deepgram.Realtime.JsonConverters.DeepgramListenProviderV2LanguageHint.g.cs b/src/libs/Deepgram/Generated/Deepgram.Realtime.JsonConverters.DeepgramListenProviderV2LanguageHint.g.cs deleted file mode 100644 index b069689..0000000 --- a/src/libs/Deepgram/Generated/Deepgram.Realtime.JsonConverters.DeepgramListenProviderV2LanguageHint.g.cs +++ /dev/null @@ -1,162 +0,0 @@ -#nullable enable -#pragma warning disable CS0618 // Type or member is obsolete - -namespace Deepgram.Realtime.JsonConverters -{ - /// - public class DeepgramListenProviderV2LanguageHintJsonConverter : global::System.Text.Json.Serialization.JsonConverter - { - /// - public override global::Deepgram.Realtime.DeepgramListenProviderV2LanguageHint Read( - ref global::System.Text.Json.Utf8JsonReader reader, - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - - using var __jsonDocument = global::System.Text.Json.JsonDocument.ParseValue(ref reader); - var __rawJson = __jsonDocument.RootElement.GetRawText(); - var __jsonProps = new global::System.Collections.Generic.HashSet(); - if (__jsonDocument.RootElement.ValueKind == global::System.Text.Json.JsonValueKind.Object) - { - foreach (var __jsonProp in __jsonDocument.RootElement.EnumerateObject()) - { - __jsonProps.Add(__jsonProp.Name); - } - } - - var __score0 = 0; - { - var __ti = typeInfoResolver.GetTypeInfo(typeof(string), options); - if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) - { - foreach (var __prop in __ti.Properties) - { - if (__jsonProps.Contains(__prop.Name)) __score0++; - } - } - } - var __score1 = 0; - { - var __ti = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options); - if (__ti != null && __ti.Kind == global::System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object) - { - foreach (var __prop in __ti.Properties) - { - if (__jsonProps.Contains(__prop.Name)) __score1++; - } - } - } - var __bestScore = 0; - var __bestIndex = -1; - if (__score0 > __bestScore) { __bestScore = __score0; __bestIndex = 0; } - if (__score1 > __bestScore) { __bestScore = __score1; __bestIndex = 1; } - - string? deepgramListenProviderV2LanguageHintVariant1 = default; - global::System.Collections.Generic.IList? deepgramListenProviderV2LanguageHintVariant2 = default; - if (__bestIndex >= 0) - { - if (__bestIndex == 0) - { - try - { - - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); - deepgramListenProviderV2LanguageHintVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } - - else if (__bestIndex == 1) - { - try - { - - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList).Name}"); - deepgramListenProviderV2LanguageHintVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } - } - - if (deepgramListenProviderV2LanguageHintVariant1 == null && deepgramListenProviderV2LanguageHintVariant2 == null) - { - try - { - - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); - deepgramListenProviderV2LanguageHintVariant1 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } - - if (deepgramListenProviderV2LanguageHintVariant1 == null && deepgramListenProviderV2LanguageHintVariant2 == null) - { - try - { - - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList).Name}"); - deepgramListenProviderV2LanguageHintVariant2 = global::System.Text.Json.JsonSerializer.Deserialize(__rawJson, typeInfo); - } - catch (global::System.Text.Json.JsonException) - { - } - catch (global::System.InvalidOperationException) - { - } - } - - var __value = new global::Deepgram.Realtime.DeepgramListenProviderV2LanguageHint( - deepgramListenProviderV2LanguageHintVariant1, - - deepgramListenProviderV2LanguageHintVariant2 - ); - - return __value; - } - - /// - public override void Write( - global::System.Text.Json.Utf8JsonWriter writer, - global::Deepgram.Realtime.DeepgramListenProviderV2LanguageHint value, - global::System.Text.Json.JsonSerializerOptions options) - { - options = options ?? throw new global::System.ArgumentNullException(nameof(options)); - var typeInfoResolver = options.TypeInfoResolver ?? throw new global::System.InvalidOperationException("TypeInfoResolver is not set."); - - if (value.IsDeepgramListenProviderV2LanguageHintVariant1) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(string), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(string).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.DeepgramListenProviderV2LanguageHintVariant1!, typeInfo); - } - else if (value.IsDeepgramListenProviderV2LanguageHintVariant2) - { - var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::System.Collections.Generic.IList), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo?> ?? - throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::System.Collections.Generic.IList).Name}"); - global::System.Text.Json.JsonSerializer.Serialize(writer, value.DeepgramListenProviderV2LanguageHintVariant2!, typeInfo); - } - } - } -} \ No newline at end of file diff --git a/src/libs/Deepgram/Generated/Deepgram.Realtime.JsonSerializerContext.g.cs b/src/libs/Deepgram/Generated/Deepgram.Realtime.JsonSerializerContext.g.cs index 30b3d34..c300987 100644 --- a/src/libs/Deepgram/Generated/Deepgram.Realtime.JsonSerializerContext.g.cs +++ b/src/libs/Deepgram/Generated/Deepgram.Realtime.JsonSerializerContext.g.cs @@ -485,8 +485,6 @@ namespace Deepgram.Realtime typeof(global::Deepgram.Realtime.JsonConverters.ChannelsAgentV1MessagesAgentV1SettingsAgentOneOf0ContextMessagesItemsJsonConverter), - typeof(global::Deepgram.Realtime.JsonConverters.DeepgramListenProviderV2LanguageHintJsonConverter), - typeof(global::Deepgram.Realtime.JsonConverters.ChannelsAgentV1MessagesAgentV1SettingsAgentOneOf0ListenProviderJsonConverter), typeof(global::Deepgram.Realtime.JsonConverters.ThinkSettingsV1ProviderJsonConverter), @@ -585,7 +583,6 @@ namespace Deepgram.Realtime [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Deepgram.Realtime.DeepgramListenProviderV1))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Deepgram.Realtime.DeepgramListenProviderV1Type), TypeInfoPropertyName = "DeepgramListenProviderV1Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Deepgram.Realtime.DeepgramListenProviderV1Version), TypeInfoPropertyName = "DeepgramListenProviderV1Version2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Deepgram.Realtime.DeepgramListenProviderV2LanguageHint), TypeInfoPropertyName = "DeepgramListenProviderV2LanguageHint2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Deepgram.Realtime.DeepgramListenProviderV2))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Deepgram.Realtime.DeepgramListenProviderV2Type), TypeInfoPropertyName = "DeepgramListenProviderV2Type2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Deepgram.Realtime.DeepgramListenProviderV2Version), TypeInfoPropertyName = "DeepgramListenProviderV2Version2")] diff --git a/src/libs/Deepgram/Generated/Deepgram.Realtime.JsonSerializerContextTypes.g.cs b/src/libs/Deepgram/Generated/Deepgram.Realtime.JsonSerializerContextTypes.g.cs index 26e0e7a..451864a 100644 --- a/src/libs/Deepgram/Generated/Deepgram.Realtime.JsonSerializerContextTypes.g.cs +++ b/src/libs/Deepgram/Generated/Deepgram.Realtime.JsonSerializerContextTypes.g.cs @@ -296,811 +296,807 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Deepgram.Realtime.DeepgramListenProviderV2LanguageHint? Type67 { get; set; } + public global::Deepgram.Realtime.DeepgramListenProviderV2? Type67 { get; set; } /// /// /// - public global::Deepgram.Realtime.DeepgramListenProviderV2? Type68 { get; set; } + public global::Deepgram.Realtime.DeepgramListenProviderV2Type? Type68 { get; set; } /// /// /// - public global::Deepgram.Realtime.DeepgramListenProviderV2Type? Type69 { get; set; } + public global::Deepgram.Realtime.DeepgramListenProviderV2Version? Type69 { get; set; } /// /// /// - public global::Deepgram.Realtime.DeepgramListenProviderV2Version? Type70 { get; set; } + public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1SettingsAgentOneOf0ListenProvider? Type70 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1SettingsAgentOneOf0ListenProvider? Type71 { get; set; } + public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1SettingsAgentOneOf0Listen? Type71 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1SettingsAgentOneOf0Listen? Type72 { get; set; } + public global::Deepgram.Realtime.OpenAiThinkProviderVersion? Type72 { get; set; } /// /// /// - public global::Deepgram.Realtime.OpenAiThinkProviderVersion? Type73 { get; set; } + public global::Deepgram.Realtime.OpenAiThinkProviderModel? Type73 { get; set; } /// /// /// - public global::Deepgram.Realtime.OpenAiThinkProviderModel? Type74 { get; set; } + public global::Deepgram.Realtime.OpenAiThinkProviderReasoningMode? Type74 { get; set; } /// /// /// - public global::Deepgram.Realtime.OpenAiThinkProviderReasoningMode? Type75 { get; set; } + public global::Deepgram.Realtime.OpenAiThinkProvider? Type75 { get; set; } /// /// /// - public global::Deepgram.Realtime.OpenAiThinkProvider? Type76 { get; set; } + public global::Deepgram.Realtime.OpenAiThinkProviderType? Type76 { get; set; } /// /// /// - public global::Deepgram.Realtime.OpenAiThinkProviderType? Type77 { get; set; } + public global::Deepgram.Realtime.AwsBedrockThinkProviderModel? Type77 { get; set; } /// /// /// - public global::Deepgram.Realtime.AwsBedrockThinkProviderModel? Type78 { get; set; } + public global::Deepgram.Realtime.AwsBedrockThinkProviderCredentialsType? Type78 { get; set; } /// /// /// - public global::Deepgram.Realtime.AwsBedrockThinkProviderCredentialsType? Type79 { get; set; } + public global::Deepgram.Realtime.AwsBedrockThinkProviderCredentials? Type79 { get; set; } /// /// /// - public global::Deepgram.Realtime.AwsBedrockThinkProviderCredentials? Type80 { get; set; } + public global::Deepgram.Realtime.AwsBedrockThinkProvider? Type80 { get; set; } /// /// /// - public global::Deepgram.Realtime.AwsBedrockThinkProvider? Type81 { get; set; } + public global::Deepgram.Realtime.AwsBedrockThinkProviderType? Type81 { get; set; } /// /// /// - public global::Deepgram.Realtime.AwsBedrockThinkProviderType? Type82 { get; set; } + public global::Deepgram.Realtime.AnthropicThinkProviderVersion? Type82 { get; set; } /// /// /// - public global::Deepgram.Realtime.AnthropicThinkProviderVersion? Type83 { get; set; } + public global::Deepgram.Realtime.AnthropicThinkProviderModel? Type83 { get; set; } /// /// /// - public global::Deepgram.Realtime.AnthropicThinkProviderModel? Type84 { get; set; } + public global::Deepgram.Realtime.AnthropicThinkProvider? Type84 { get; set; } /// /// /// - public global::Deepgram.Realtime.AnthropicThinkProvider? Type85 { get; set; } + public global::Deepgram.Realtime.AnthropicThinkProviderType? Type85 { get; set; } /// /// /// - public global::Deepgram.Realtime.AnthropicThinkProviderType? Type86 { get; set; } + public global::Deepgram.Realtime.GoogleThinkProviderVersion? Type86 { get; set; } /// /// /// - public global::Deepgram.Realtime.GoogleThinkProviderVersion? Type87 { get; set; } + public global::Deepgram.Realtime.GoogleThinkProviderModel? Type87 { get; set; } /// /// /// - public global::Deepgram.Realtime.GoogleThinkProviderModel? Type88 { get; set; } + public global::Deepgram.Realtime.GoogleThinkProvider? Type88 { get; set; } /// /// /// - public global::Deepgram.Realtime.GoogleThinkProvider? Type89 { get; set; } + public global::Deepgram.Realtime.GoogleThinkProviderType? Type89 { get; set; } /// /// /// - public global::Deepgram.Realtime.GoogleThinkProviderType? Type90 { get; set; } + public global::Deepgram.Realtime.GroqThinkProviderVersion? Type90 { get; set; } /// /// /// - public global::Deepgram.Realtime.GroqThinkProviderVersion? Type91 { get; set; } + public global::Deepgram.Realtime.GroqThinkProviderModel? Type91 { get; set; } /// /// /// - public global::Deepgram.Realtime.GroqThinkProviderModel? Type92 { get; set; } + public global::Deepgram.Realtime.GroqThinkProviderReasoningMode? Type92 { get; set; } /// /// /// - public global::Deepgram.Realtime.GroqThinkProviderReasoningMode? Type93 { get; set; } + public global::Deepgram.Realtime.GroqThinkProvider? Type93 { get; set; } /// /// /// - public global::Deepgram.Realtime.GroqThinkProvider? Type94 { get; set; } + public global::Deepgram.Realtime.GroqThinkProviderType? Type94 { get; set; } /// /// /// - public global::Deepgram.Realtime.GroqThinkProviderType? Type95 { get; set; } + public global::Deepgram.Realtime.ThinkSettingsV1Provider? Type95 { get; set; } /// /// /// - public global::Deepgram.Realtime.ThinkSettingsV1Provider? Type96 { get; set; } + public global::Deepgram.Realtime.ThinkSettingsV1Endpoint? Type96 { get; set; } /// /// /// - public global::Deepgram.Realtime.ThinkSettingsV1Endpoint? Type97 { get; set; } + public global::System.Collections.Generic.Dictionary? Type97 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type98 { get; set; } + public global::Deepgram.Realtime.ThinkSettingsV1FunctionsItemsParameters? Type98 { get; set; } /// /// /// - public global::Deepgram.Realtime.ThinkSettingsV1FunctionsItemsParameters? Type99 { get; set; } + public global::Deepgram.Realtime.ThinkSettingsV1FunctionsItemsEndpoint? Type99 { get; set; } /// /// /// - public global::Deepgram.Realtime.ThinkSettingsV1FunctionsItemsEndpoint? Type100 { get; set; } + public global::Deepgram.Realtime.ThinkSettingsV1FunctionsItems? Type100 { get; set; } /// /// /// - public global::Deepgram.Realtime.ThinkSettingsV1FunctionsItems? Type101 { get; set; } + public global::Deepgram.Realtime.ThinkSettingsV1ContextLength0? Type101 { get; set; } /// /// /// - public global::Deepgram.Realtime.ThinkSettingsV1ContextLength0? Type102 { get; set; } + public global::Deepgram.Realtime.ThinkSettingsV1ContextLength? Type102 { get; set; } /// /// /// - public global::Deepgram.Realtime.ThinkSettingsV1ContextLength? Type103 { get; set; } + public global::Deepgram.Realtime.ThinkSettingsV1? Type103 { get; set; } /// /// /// - public global::Deepgram.Realtime.ThinkSettingsV1? Type104 { get; set; } + public global::System.Collections.Generic.IList? Type104 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type105 { get; set; } + public global::System.Collections.Generic.IList? Type105 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type106 { get; set; } + public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1SettingsAgentOneOf0Think? Type106 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1SettingsAgentOneOf0Think? Type107 { get; set; } + public global::Deepgram.Realtime.DeepgramSpeakProviderVersion? Type107 { get; set; } /// /// /// - public global::Deepgram.Realtime.DeepgramSpeakProviderVersion? Type108 { get; set; } + public global::Deepgram.Realtime.DeepgramSpeakProviderModel? Type108 { get; set; } /// /// /// - public global::Deepgram.Realtime.DeepgramSpeakProviderModel? Type109 { get; set; } + public global::Deepgram.Realtime.DeepgramSpeakProvider? Type109 { get; set; } /// /// /// - public global::Deepgram.Realtime.DeepgramSpeakProvider? Type110 { get; set; } + public global::Deepgram.Realtime.DeepgramSpeakProviderType? Type110 { get; set; } /// /// /// - public global::Deepgram.Realtime.DeepgramSpeakProviderType? Type111 { get; set; } + public global::Deepgram.Realtime.ElevenLabsSpeakProviderVersion? Type111 { get; set; } /// /// /// - public global::Deepgram.Realtime.ElevenLabsSpeakProviderVersion? Type112 { get; set; } + public global::Deepgram.Realtime.ElevenLabsSpeakProviderModelId? Type112 { get; set; } /// /// /// - public global::Deepgram.Realtime.ElevenLabsSpeakProviderModelId? Type113 { get; set; } + public global::Deepgram.Realtime.ElevenLabsSpeakProvider? Type113 { get; set; } /// /// /// - public global::Deepgram.Realtime.ElevenLabsSpeakProvider? Type114 { get; set; } + public global::Deepgram.Realtime.ElevenLabsSpeakProviderType? Type114 { get; set; } /// /// /// - public global::Deepgram.Realtime.ElevenLabsSpeakProviderType? Type115 { get; set; } + public global::Deepgram.Realtime.CartesiaSpeakProviderVersion? Type115 { get; set; } /// /// /// - public global::Deepgram.Realtime.CartesiaSpeakProviderVersion? Type116 { get; set; } + public global::Deepgram.Realtime.CartesiaSpeakProviderModelId? Type116 { get; set; } /// /// /// - public global::Deepgram.Realtime.CartesiaSpeakProviderModelId? Type117 { get; set; } + public global::Deepgram.Realtime.CartesiaSpeakProviderVoice? Type117 { get; set; } /// /// /// - public global::Deepgram.Realtime.CartesiaSpeakProviderVoice? Type118 { get; set; } + public global::Deepgram.Realtime.CartesiaSpeakProvider? Type118 { get; set; } /// /// /// - public global::Deepgram.Realtime.CartesiaSpeakProvider? Type119 { get; set; } + public global::Deepgram.Realtime.CartesiaSpeakProviderType? Type119 { get; set; } /// /// /// - public global::Deepgram.Realtime.CartesiaSpeakProviderType? Type120 { get; set; } + public global::Deepgram.Realtime.OpenAiSpeakProviderVersion? Type120 { get; set; } /// /// /// - public global::Deepgram.Realtime.OpenAiSpeakProviderVersion? Type121 { get; set; } + public global::Deepgram.Realtime.OpenAiSpeakProviderModel? Type121 { get; set; } /// /// /// - public global::Deepgram.Realtime.OpenAiSpeakProviderModel? Type122 { get; set; } + public global::Deepgram.Realtime.OpenAiSpeakProviderVoice? Type122 { get; set; } /// /// /// - public global::Deepgram.Realtime.OpenAiSpeakProviderVoice? Type123 { get; set; } + public global::Deepgram.Realtime.OpenAiSpeakProvider? Type123 { get; set; } /// /// /// - public global::Deepgram.Realtime.OpenAiSpeakProvider? Type124 { get; set; } + public global::Deepgram.Realtime.OpenAiSpeakProviderType? Type124 { get; set; } /// /// /// - public global::Deepgram.Realtime.OpenAiSpeakProviderType? Type125 { get; set; } + public global::Deepgram.Realtime.AwsPollySpeakProviderVoice? Type125 { get; set; } /// /// /// - public global::Deepgram.Realtime.AwsPollySpeakProviderVoice? Type126 { get; set; } + public global::Deepgram.Realtime.AwsPollySpeakProviderEngine? Type126 { get; set; } /// /// /// - public global::Deepgram.Realtime.AwsPollySpeakProviderEngine? Type127 { get; set; } + public global::Deepgram.Realtime.AwsPollySpeakProviderCredentialsType? Type127 { get; set; } /// /// /// - public global::Deepgram.Realtime.AwsPollySpeakProviderCredentialsType? Type128 { get; set; } + public global::Deepgram.Realtime.AwsPollySpeakProviderCredentials? Type128 { get; set; } /// /// /// - public global::Deepgram.Realtime.AwsPollySpeakProviderCredentials? Type129 { get; set; } + public global::Deepgram.Realtime.AwsPollySpeakProvider? Type129 { get; set; } /// /// /// - public global::Deepgram.Realtime.AwsPollySpeakProvider? Type130 { get; set; } + public global::Deepgram.Realtime.AwsPollySpeakProviderType? Type130 { get; set; } /// /// /// - public global::Deepgram.Realtime.AwsPollySpeakProviderType? Type131 { get; set; } + public global::Deepgram.Realtime.SpeakSettingsV1Provider? Type131 { get; set; } /// /// /// - public global::Deepgram.Realtime.SpeakSettingsV1Provider? Type132 { get; set; } + public global::Deepgram.Realtime.SpeakSettingsV1Endpoint? Type132 { get; set; } /// /// /// - public global::Deepgram.Realtime.SpeakSettingsV1Endpoint? Type133 { get; set; } + public global::Deepgram.Realtime.SpeakSettingsV1? Type133 { get; set; } /// /// /// - public global::Deepgram.Realtime.SpeakSettingsV1? Type134 { get; set; } + public global::System.Collections.Generic.IList? Type134 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type135 { get; set; } + public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1SettingsAgentOneOf0Speak? Type135 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1SettingsAgentOneOf0Speak? Type136 { get; set; } + public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1SettingsAgent0? Type136 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1SettingsAgent0? Type137 { get; set; } + public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1SettingsAgent? Type137 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1SettingsAgent? Type138 { get; set; } + public global::System.Guid? Type138 { get; set; } /// /// /// - public global::System.Guid? Type139 { get; set; } + public global::Deepgram.Realtime.AgentV1AgentV1Settings? Type139 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1AgentV1Settings? Type140 { get; set; } + public global::Deepgram.Realtime.AgentV1AgentV1SettingsType? Type140 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1AgentV1SettingsType? Type141 { get; set; } + public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1UpdateSpeakSpeak? Type141 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1UpdateSpeakSpeak? Type142 { get; set; } + public global::Deepgram.Realtime.AgentV1AgentV1UpdateSpeak? Type142 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1AgentV1UpdateSpeak? Type143 { get; set; } + public global::Deepgram.Realtime.AgentV1AgentV1UpdateSpeakType? Type143 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1AgentV1UpdateSpeakType? Type144 { get; set; } + public global::Deepgram.Realtime.AgentV1AgentV1InjectUserMessage? Type144 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1AgentV1InjectUserMessage? Type145 { get; set; } + public global::Deepgram.Realtime.AgentV1AgentV1InjectUserMessageType? Type145 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1AgentV1InjectUserMessageType? Type146 { get; set; } + public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1InjectAgentMessageBehavior? Type146 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1InjectAgentMessageBehavior? Type147 { get; set; } + public global::Deepgram.Realtime.AgentV1AgentV1InjectAgentMessage? Type147 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1AgentV1InjectAgentMessage? Type148 { get; set; } + public global::Deepgram.Realtime.AgentV1AgentV1InjectAgentMessageType? Type148 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1AgentV1InjectAgentMessageType? Type149 { get; set; } + public global::Deepgram.Realtime.AgentV1AgentV1SendFunctionCallResponse? Type149 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1AgentV1SendFunctionCallResponse? Type150 { get; set; } + public global::Deepgram.Realtime.AgentV1AgentV1SendFunctionCallResponseType? Type150 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1AgentV1SendFunctionCallResponseType? Type151 { get; set; } + public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1KeepAliveType? Type151 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1KeepAliveType? Type152 { get; set; } + public global::Deepgram.Realtime.AgentV1AgentV1KeepAlive? Type152 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1AgentV1KeepAlive? Type153 { get; set; } + public global::Deepgram.Realtime.AgentV1AgentV1UpdatePrompt? Type153 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1AgentV1UpdatePrompt? Type154 { get; set; } + public global::Deepgram.Realtime.AgentV1AgentV1UpdatePromptType? Type154 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1AgentV1UpdatePromptType? Type155 { get; set; } + public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1UpdateThinkThink? Type155 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsAgentV1MessagesAgentV1UpdateThinkThink? Type156 { get; set; } + public global::Deepgram.Realtime.AgentV1AgentV1UpdateThink? Type156 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1AgentV1UpdateThink? Type157 { get; set; } + public global::Deepgram.Realtime.AgentV1AgentV1UpdateThinkType? Type157 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1AgentV1UpdateThinkType? Type158 { get; set; } + public global::Deepgram.Realtime.ListenV1Callback? Type158 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Callback? Type159 { get; set; } + public global::Deepgram.Realtime.ListenV1CallbackMethod? Type159 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1CallbackMethod? Type160 { get; set; } + public global::Deepgram.Realtime.ListenV1Channels? Type160 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Channels? Type161 { get; set; } + public global::Deepgram.Realtime.ListenV1DetectEntities? Type161 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1DetectEntities? Type162 { get; set; } + public global::Deepgram.Realtime.ListenV1Diarize? Type162 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Diarize? Type163 { get; set; } + public global::Deepgram.Realtime.ListenV1Dictation? Type163 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Dictation? Type164 { get; set; } + public global::Deepgram.Realtime.ListenV1Encoding? Type164 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Encoding? Type165 { get; set; } + public global::Deepgram.Realtime.ListenV1Endpointing? Type165 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Endpointing? Type166 { get; set; } + public global::Deepgram.Realtime.ListenV1Extra? Type166 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Extra? Type167 { get; set; } + public global::Deepgram.Realtime.ListenV1InterimResults? Type167 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1InterimResults? Type168 { get; set; } + public global::Deepgram.Realtime.ListenV1Keyterm? Type168 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Keyterm? Type169 { get; set; } + public global::Deepgram.Realtime.ListenV1Keywords? Type169 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Keywords? Type170 { get; set; } + public global::Deepgram.Realtime.ListenV1Language? Type170 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Language? Type171 { get; set; } + public global::Deepgram.Realtime.ListenV1MipOptOut? Type171 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1MipOptOut? Type172 { get; set; } + public global::Deepgram.Realtime.ListenV1Model? Type172 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Model? Type173 { get; set; } + public global::Deepgram.Realtime.ListenV1Multichannel? Type173 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Multichannel? Type174 { get; set; } + public global::Deepgram.Realtime.ListenV1Numerals? Type174 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Numerals? Type175 { get; set; } + public global::Deepgram.Realtime.ListenV1ProfanityFilter? Type175 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1ProfanityFilter? Type176 { get; set; } + public global::Deepgram.Realtime.ListenV1Punctuate? Type176 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Punctuate? Type177 { get; set; } + public global::Deepgram.Realtime.ListenV1Redact? Type177 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Redact? Type178 { get; set; } + public global::Deepgram.Realtime.ListenV1Replace? Type178 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Replace? Type179 { get; set; } + public global::Deepgram.Realtime.ListenV1SampleRate? Type179 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1SampleRate? Type180 { get; set; } + public global::Deepgram.Realtime.ListenV1Search? Type180 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Search? Type181 { get; set; } + public global::Deepgram.Realtime.ListenV1SmartFormat? Type181 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1SmartFormat? Type182 { get; set; } + public global::Deepgram.Realtime.ListenV1Tag? Type182 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Tag? Type183 { get; set; } + public global::Deepgram.Realtime.ListenV1UtteranceEndMs? Type183 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1UtteranceEndMs? Type184 { get; set; } + public global::Deepgram.Realtime.ListenV1VadEvents? Type184 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1VadEvents? Type185 { get; set; } + public global::Deepgram.Realtime.ListenV1Version? Type185 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1Version? Type186 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1ResultsType? Type186 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1ResultsType? Type187 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1ResultsChannelAlternativesItemsWordsItems? Type187 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1ResultsChannelAlternativesItemsWordsItems? Type188 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1ResultsChannelAlternativesItems? Type188 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1ResultsChannelAlternativesItems? Type189 { get; set; } + public global::System.Collections.Generic.IList? Type189 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type190 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1ResultsChannel? Type190 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1ResultsChannel? Type191 { get; set; } + public global::System.Collections.Generic.IList? Type191 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type192 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1ResultsMetadataModelInfo? Type192 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1ResultsMetadataModelInfo? Type193 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1ResultsMetadata? Type193 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1ResultsMetadata? Type194 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1ResultsEntitiesItems? Type194 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1ResultsEntitiesItems? Type195 { get; set; } + public global::Deepgram.Realtime.ListenV1ListenV1Results? Type195 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1ListenV1Results? Type196 { get; set; } + public global::System.Collections.Generic.IList? Type196 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type197 { get; set; } + public global::System.Collections.Generic.IList? Type197 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type198 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1MetadataType? Type198 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1MetadataType? Type199 { get; set; } + public global::Deepgram.Realtime.ListenV1ListenV1Metadata? Type199 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1ListenV1Metadata? Type200 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1UtteranceEndType? Type200 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1UtteranceEndType? Type201 { get; set; } + public global::Deepgram.Realtime.ListenV1ListenV1UtteranceEnd? Type201 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1ListenV1UtteranceEnd? Type202 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1SpeechStartedType? Type202 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1SpeechStartedType? Type203 { get; set; } + public global::Deepgram.Realtime.ListenV1ListenV1SpeechStarted? Type203 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1ListenV1SpeechStarted? Type204 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1FinalizeType? Type204 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1FinalizeType? Type205 { get; set; } + public global::Deepgram.Realtime.ListenV1ListenV1Finalize? Type205 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1ListenV1Finalize? Type206 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1CloseStreamType? Type206 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1CloseStreamType? Type207 { get; set; } + public global::Deepgram.Realtime.ListenV1ListenV1CloseStream? Type207 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1ListenV1CloseStream? Type208 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1KeepAliveType? Type208 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV1MessagesListenV1KeepAliveType? Type209 { get; set; } + public global::Deepgram.Realtime.ListenV1ListenV1KeepAlive? Type209 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1ListenV1KeepAlive? Type210 { get; set; } + public global::Deepgram.Realtime.ListenV2Model? Type210 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2Model? Type211 { get; set; } + public global::Deepgram.Realtime.ListenV2Encoding? Type211 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2Encoding? Type212 { get; set; } + public global::Deepgram.Realtime.ListenV2SampleRate? Type212 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2SampleRate? Type213 { get; set; } + public global::Deepgram.Realtime.ListenV2EagerEotThreshold? Type213 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2EagerEotThreshold? Type214 { get; set; } + public global::Deepgram.Realtime.ListenV2EotThreshold? Type214 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2EotThreshold? Type215 { get; set; } + public global::Deepgram.Realtime.ListenV2EotTimeoutMs? Type215 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2EotTimeoutMs? Type216 { get; set; } + public global::Deepgram.Realtime.ListenV2Keyterm? Type216 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2Keyterm? Type217 { get; set; } + public global::Deepgram.Realtime.ListenV2LanguageHint? Type217 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2LanguageHint? Type218 { get; set; } + public global::Deepgram.Realtime.ListenV2MipOptOut? Type218 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2MipOptOut? Type219 { get; set; } + public global::Deepgram.Realtime.ListenV2Tag? Type219 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2Tag? Type220 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV2MessagesListenV2ConnectedType? Type220 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV2MessagesListenV2ConnectedType? Type221 { get; set; } + public global::Deepgram.Realtime.ListenV2ListenV2Connected? Type221 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2ListenV2Connected? Type222 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV2MessagesListenV2TurnInfoEvent? Type222 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV2MessagesListenV2TurnInfoEvent? Type223 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV2MessagesListenV2TurnInfoWordsItems? Type223 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV2MessagesListenV2TurnInfoWordsItems? Type224 { get; set; } + public global::Deepgram.Realtime.ListenV2ListenV2TurnInfo? Type224 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2ListenV2TurnInfo? Type225 { get; set; } + public global::Deepgram.Realtime.ListenV2ListenV2TurnInfoType? Type225 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2ListenV2TurnInfoType? Type226 { get; set; } + public global::System.Collections.Generic.IList? Type226 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type227 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV2MessagesListenV2ConfigureSuccessThresholds? Type227 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV2MessagesListenV2ConfigureSuccessThresholds? Type228 { get; set; } + public global::Deepgram.Realtime.ListenV2ListenV2ConfigureSuccess? Type228 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2ListenV2ConfigureSuccess? Type229 { get; set; } + public global::Deepgram.Realtime.ListenV2ListenV2ConfigureSuccessType? Type229 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2ListenV2ConfigureSuccessType? Type230 { get; set; } + public global::Deepgram.Realtime.ListenV2ListenV2ConfigureFailure? Type230 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2ListenV2ConfigureFailure? Type231 { get; set; } + public global::Deepgram.Realtime.ListenV2ListenV2ConfigureFailureType? Type231 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2ListenV2ConfigureFailureType? Type232 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV2MessagesListenV2FatalErrorType? Type232 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV2MessagesListenV2FatalErrorType? Type233 { get; set; } + public global::Deepgram.Realtime.ListenV2ListenV2FatalError? Type233 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2ListenV2FatalError? Type234 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV2MessagesListenV2CloseStreamType? Type234 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV2MessagesListenV2CloseStreamType? Type235 { get; set; } + public global::Deepgram.Realtime.ListenV2ListenV2CloseStream? Type235 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2ListenV2CloseStream? Type236 { get; set; } + public global::Deepgram.Realtime.ChannelsListenV2MessagesListenV2ConfigureThresholds? Type236 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsListenV2MessagesListenV2ConfigureThresholds? Type237 { get; set; } + public global::Deepgram.Realtime.ListenV2ListenV2Configure? Type237 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2ListenV2Configure? Type238 { get; set; } + public global::Deepgram.Realtime.ListenV2ListenV2ConfigureType? Type238 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2ListenV2ConfigureType? Type239 { get; set; } + public global::Deepgram.Realtime.SpeakV1Encoding? Type239 { get; set; } /// /// /// - public global::Deepgram.Realtime.SpeakV1Encoding? Type240 { get; set; } + public global::Deepgram.Realtime.SpeakV1MipOptOut? Type240 { get; set; } /// /// /// - public global::Deepgram.Realtime.SpeakV1MipOptOut? Type241 { get; set; } + public global::Deepgram.Realtime.SpeakV1Model? Type241 { get; set; } /// /// /// - public global::Deepgram.Realtime.SpeakV1Model? Type242 { get; set; } + public global::Deepgram.Realtime.SpeakV1SampleRate? Type242 { get; set; } /// /// /// - public global::Deepgram.Realtime.SpeakV1SampleRate? Type243 { get; set; } + public global::Deepgram.Realtime.ChannelsSpeakV1MessagesSpeakV1MetadataType? Type243 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsSpeakV1MessagesSpeakV1MetadataType? Type244 { get; set; } + public global::Deepgram.Realtime.SpeakV1SpeakV1Metadata? Type244 { get; set; } /// /// /// - public global::Deepgram.Realtime.SpeakV1SpeakV1Metadata? Type245 { get; set; } + public global::System.Collections.Generic.IList? Type245 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type246 { get; set; } + public global::Deepgram.Realtime.ChannelsSpeakV1MessagesSpeakV1FlushedType? Type246 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsSpeakV1MessagesSpeakV1FlushedType? Type247 { get; set; } + public global::Deepgram.Realtime.SpeakV1SpeakV1Flushed? Type247 { get; set; } /// /// /// - public global::Deepgram.Realtime.SpeakV1SpeakV1Flushed? Type248 { get; set; } + public global::Deepgram.Realtime.ChannelsSpeakV1MessagesSpeakV1ClearedType? Type248 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsSpeakV1MessagesSpeakV1ClearedType? Type249 { get; set; } + public global::Deepgram.Realtime.SpeakV1SpeakV1Cleared? Type249 { get; set; } /// /// /// - public global::Deepgram.Realtime.SpeakV1SpeakV1Cleared? Type250 { get; set; } + public global::Deepgram.Realtime.ChannelsSpeakV1MessagesSpeakV1WarningType? Type250 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsSpeakV1MessagesSpeakV1WarningType? Type251 { get; set; } + public global::Deepgram.Realtime.SpeakV1SpeakV1Warning? Type251 { get; set; } /// /// /// - public global::Deepgram.Realtime.SpeakV1SpeakV1Warning? Type252 { get; set; } + public global::Deepgram.Realtime.ChannelsSpeakV1MessagesSpeakV1TextType? Type252 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsSpeakV1MessagesSpeakV1TextType? Type253 { get; set; } + public global::Deepgram.Realtime.SpeakV1SpeakV1Text? Type253 { get; set; } /// /// /// - public global::Deepgram.Realtime.SpeakV1SpeakV1Text? Type254 { get; set; } + public global::Deepgram.Realtime.ChannelsSpeakV1MessagesSpeakV1FlushType? Type254 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsSpeakV1MessagesSpeakV1FlushType? Type255 { get; set; } + public global::Deepgram.Realtime.SpeakV1SpeakV1Flush? Type255 { get; set; } /// /// /// - public global::Deepgram.Realtime.SpeakV1SpeakV1Flush? Type256 { get; set; } + public global::Deepgram.Realtime.ChannelsSpeakV1MessagesSpeakV1ClearType? Type256 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsSpeakV1MessagesSpeakV1ClearType? Type257 { get; set; } + public global::Deepgram.Realtime.SpeakV1SpeakV1Clear? Type257 { get; set; } /// /// /// - public global::Deepgram.Realtime.SpeakV1SpeakV1Clear? Type258 { get; set; } + public global::Deepgram.Realtime.ChannelsSpeakV1MessagesSpeakV1CloseType? Type258 { get; set; } /// /// /// - public global::Deepgram.Realtime.ChannelsSpeakV1MessagesSpeakV1CloseType? Type259 { get; set; } + public global::Deepgram.Realtime.SpeakV1SpeakV1Close? Type259 { get; set; } /// /// /// - public global::Deepgram.Realtime.SpeakV1SpeakV1Close? Type260 { get; set; } + public global::Deepgram.Realtime.AgentV1ServerEvent? Type260 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1ServerEvent? Type261 { get; set; } + public global::Deepgram.Realtime.AgentV1ServerEventDiscriminator? Type261 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1ServerEventDiscriminator? Type262 { get; set; } + public global::Deepgram.Realtime.AgentV1ServerEventDiscriminatorMessageType? Type262 { get; set; } /// /// /// - public global::Deepgram.Realtime.AgentV1ServerEventDiscriminatorMessageType? Type263 { get; set; } + public global::Deepgram.Realtime.ListenV1ServerEvent? Type263 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV1ServerEvent? Type264 { get; set; } + public global::Deepgram.Realtime.ListenV2ServerEvent? Type264 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2ServerEvent? Type265 { get; set; } + public global::Deepgram.Realtime.ListenV2ServerEventDiscriminator? Type265 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2ServerEventDiscriminator? Type266 { get; set; } + public global::Deepgram.Realtime.ListenV2ServerEventDiscriminatorMessageType? Type266 { get; set; } /// /// /// - public global::Deepgram.Realtime.ListenV2ServerEventDiscriminatorMessageType? Type267 { get; set; } - /// - /// - /// - public global::Deepgram.Realtime.SpeakV1ServerEvent? Type268 { get; set; } + public global::Deepgram.Realtime.SpeakV1ServerEvent? Type267 { get; set; } /// /// diff --git a/src/libs/Deepgram/Generated/Deepgram.Realtime.Models.DeepgramListenProviderV2.g.cs b/src/libs/Deepgram/Generated/Deepgram.Realtime.Models.DeepgramListenProviderV2.g.cs index 3e45877..56e9e2c 100644 --- a/src/libs/Deepgram/Generated/Deepgram.Realtime.Models.DeepgramListenProviderV2.g.cs +++ b/src/libs/Deepgram/Generated/Deepgram.Realtime.Models.DeepgramListenProviderV2.g.cs @@ -30,11 +30,10 @@ public sealed partial class DeepgramListenProviderV2 public required string Model { get; set; } /// - /// One or more BCP-47 language codes to bias the model toward specific languages. Only supported when model is flux-general-multi. Without hints, the model auto-detects the spoken language. See the Language Prompting guide for details. + /// An array of one or more BCP-47 language codes to bias the model toward specific languages. Only supported when model is flux-general-multi. Without hints, the model auto-detects the spoken language. See the Language Prompting guide for details. /// - [global::System.Text.Json.Serialization.JsonPropertyName("language_hint")] - [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Deepgram.Realtime.JsonConverters.DeepgramListenProviderV2LanguageHintJsonConverter))] - public global::Deepgram.Realtime.DeepgramListenProviderV2LanguageHint? LanguageHint { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("language_hints")] + public global::System.Collections.Generic.IList? LanguageHints { get; set; } /// /// Prompt keyterm recognition to improve Keyword Recall Rate @@ -60,8 +59,8 @@ public sealed partial class DeepgramListenProviderV2 /// /// Specifies usage of the V2 Deepgram speech-to-text API (e.g. Flux) /// - /// - /// One or more BCP-47 language codes to bias the model toward specific languages. Only supported when model is flux-general-multi. Without hints, the model auto-detects the spoken language. See the Language Prompting guide for details. + /// + /// An array of one or more BCP-47 language codes to bias the model toward specific languages. Only supported when model is flux-general-multi. Without hints, the model auto-detects the spoken language. See the Language Prompting guide for details. /// /// /// Prompt keyterm recognition to improve Keyword Recall Rate @@ -73,13 +72,13 @@ public DeepgramListenProviderV2( string model, global::Deepgram.Realtime.DeepgramListenProviderV2Type type, global::Deepgram.Realtime.DeepgramListenProviderV2Version? version, - global::Deepgram.Realtime.DeepgramListenProviderV2LanguageHint? languageHint, + global::System.Collections.Generic.IList? languageHints, global::System.Collections.Generic.IList? keyterms) { this.Type = type; this.Version = version; this.Model = model ?? throw new global::System.ArgumentNullException(nameof(model)); - this.LanguageHint = languageHint; + this.LanguageHints = languageHints; this.Keyterms = keyterms; } diff --git a/src/libs/Deepgram/Generated/Deepgram.Realtime.Models.DeepgramListenProviderV2LanguageHint.Json.g.cs b/src/libs/Deepgram/Generated/Deepgram.Realtime.Models.DeepgramListenProviderV2LanguageHint.Json.g.cs deleted file mode 100644 index cb51b51..0000000 --- a/src/libs/Deepgram/Generated/Deepgram.Realtime.Models.DeepgramListenProviderV2LanguageHint.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace Deepgram.Realtime -{ - public readonly partial struct DeepgramListenProviderV2LanguageHint - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Deepgram.Realtime.DeepgramListenProviderV2LanguageHint? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Deepgram.Realtime.DeepgramListenProviderV2LanguageHint), - jsonSerializerContext) as global::Deepgram.Realtime.DeepgramListenProviderV2LanguageHint?; - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Deepgram.Realtime.DeepgramListenProviderV2LanguageHint? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Deepgram.Realtime.DeepgramListenProviderV2LanguageHint), - jsonSerializerContext).ConfigureAwait(false)) as global::Deepgram.Realtime.DeepgramListenProviderV2LanguageHint?; - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Deepgram/Generated/Deepgram.Realtime.Models.DeepgramListenProviderV2LanguageHint.g.cs b/src/libs/Deepgram/Generated/Deepgram.Realtime.Models.DeepgramListenProviderV2LanguageHint.g.cs deleted file mode 100644 index 616d8cc..0000000 --- a/src/libs/Deepgram/Generated/Deepgram.Realtime.Models.DeepgramListenProviderV2LanguageHint.g.cs +++ /dev/null @@ -1,272 +0,0 @@ -#pragma warning disable CS0618 // Type or member is obsolete - -#nullable enable - -namespace Deepgram.Realtime -{ - /// - /// One or more BCP-47 language codes to bias the model toward specific languages. Only supported when model is flux-general-multi. Without hints, the model auto-detects the spoken language. See the Language Prompting guide for details. - /// - public readonly partial struct DeepgramListenProviderV2LanguageHint : global::System.IEquatable - { - /// - /// - /// -#if NET6_0_OR_GREATER - public string? DeepgramListenProviderV2LanguageHintVariant1 { get; init; } -#else - public string? DeepgramListenProviderV2LanguageHintVariant1 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(DeepgramListenProviderV2LanguageHintVariant1))] -#endif - public bool IsDeepgramListenProviderV2LanguageHintVariant1 => DeepgramListenProviderV2LanguageHintVariant1 != null; - - /// - /// - /// - public bool TryPickDeepgramListenProviderV2LanguageHintVariant1( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out string? value) - { - value = DeepgramListenProviderV2LanguageHintVariant1; - return IsDeepgramListenProviderV2LanguageHintVariant1; - } - - /// - /// - /// - public string PickDeepgramListenProviderV2LanguageHintVariant1() => IsDeepgramListenProviderV2LanguageHintVariant1 - ? DeepgramListenProviderV2LanguageHintVariant1! - : throw new global::System.InvalidOperationException($"Expected union variant 'DeepgramListenProviderV2LanguageHintVariant1' but the value was {ToString()}."); - - /// - /// - /// -#if NET6_0_OR_GREATER - public global::System.Collections.Generic.IList? DeepgramListenProviderV2LanguageHintVariant2 { get; init; } -#else - public global::System.Collections.Generic.IList? DeepgramListenProviderV2LanguageHintVariant2 { get; } -#endif - - /// - /// - /// -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(DeepgramListenProviderV2LanguageHintVariant2))] -#endif - public bool IsDeepgramListenProviderV2LanguageHintVariant2 => DeepgramListenProviderV2LanguageHintVariant2 != null; - - /// - /// - /// - public bool TryPickDeepgramListenProviderV2LanguageHintVariant2( -#if NET6_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)] -#endif - out global::System.Collections.Generic.IList? value) - { - value = DeepgramListenProviderV2LanguageHintVariant2; - return IsDeepgramListenProviderV2LanguageHintVariant2; - } - - /// - /// - /// - public global::System.Collections.Generic.IList PickDeepgramListenProviderV2LanguageHintVariant2() => IsDeepgramListenProviderV2LanguageHintVariant2 - ? DeepgramListenProviderV2LanguageHintVariant2! - : throw new global::System.InvalidOperationException($"Expected union variant 'DeepgramListenProviderV2LanguageHintVariant2' but the value was {ToString()}."); - /// - /// - /// - public static implicit operator DeepgramListenProviderV2LanguageHint(string value) => new DeepgramListenProviderV2LanguageHint((string?)value); - - /// - /// - /// - public static implicit operator string?(DeepgramListenProviderV2LanguageHint @this) => @this.DeepgramListenProviderV2LanguageHintVariant1; - - /// - /// - /// - public DeepgramListenProviderV2LanguageHint(string? value) - { - DeepgramListenProviderV2LanguageHintVariant1 = value; - } - - /// - /// - /// - public static DeepgramListenProviderV2LanguageHint FromDeepgramListenProviderV2LanguageHintVariant1(string? value) => new DeepgramListenProviderV2LanguageHint(value); - - /// - /// - /// - public DeepgramListenProviderV2LanguageHint( - string? deepgramListenProviderV2LanguageHintVariant1, - global::System.Collections.Generic.IList? deepgramListenProviderV2LanguageHintVariant2 - ) - { - DeepgramListenProviderV2LanguageHintVariant1 = deepgramListenProviderV2LanguageHintVariant1; - DeepgramListenProviderV2LanguageHintVariant2 = deepgramListenProviderV2LanguageHintVariant2; - } - - /// - /// - /// - public object? Object => - DeepgramListenProviderV2LanguageHintVariant2 as object ?? - DeepgramListenProviderV2LanguageHintVariant1 as object - ; - - /// - /// - /// - public override string? ToString() => - DeepgramListenProviderV2LanguageHintVariant1?.ToString() ?? - DeepgramListenProviderV2LanguageHintVariant2?.ToString() - ; - - /// - /// - /// - public bool Validate() - { - return IsDeepgramListenProviderV2LanguageHintVariant1 && !IsDeepgramListenProviderV2LanguageHintVariant2 || !IsDeepgramListenProviderV2LanguageHintVariant1 && IsDeepgramListenProviderV2LanguageHintVariant2; - } - - /// - /// - /// - public TResult? Match( - global::System.Func? deepgramListenProviderV2LanguageHintVariant1 = null, - global::System.Func, TResult>? deepgramListenProviderV2LanguageHintVariant2 = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsDeepgramListenProviderV2LanguageHintVariant1 && deepgramListenProviderV2LanguageHintVariant1 != null) - { - return deepgramListenProviderV2LanguageHintVariant1(DeepgramListenProviderV2LanguageHintVariant1!); - } - else if (IsDeepgramListenProviderV2LanguageHintVariant2 && deepgramListenProviderV2LanguageHintVariant2 != null) - { - return deepgramListenProviderV2LanguageHintVariant2(DeepgramListenProviderV2LanguageHintVariant2!); - } - - return default(TResult); - } - - /// - /// - /// - public void Match( - global::System.Action? deepgramListenProviderV2LanguageHintVariant1 = null, - - global::System.Action>? deepgramListenProviderV2LanguageHintVariant2 = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsDeepgramListenProviderV2LanguageHintVariant1) - { - deepgramListenProviderV2LanguageHintVariant1?.Invoke(DeepgramListenProviderV2LanguageHintVariant1!); - } - else if (IsDeepgramListenProviderV2LanguageHintVariant2) - { - deepgramListenProviderV2LanguageHintVariant2?.Invoke(DeepgramListenProviderV2LanguageHintVariant2!); - } - } - - /// - /// - /// - public void Switch( - global::System.Action? deepgramListenProviderV2LanguageHintVariant1 = null, - global::System.Action>? deepgramListenProviderV2LanguageHintVariant2 = null, - bool validate = true) - { - if (validate) - { - Validate(); - } - - if (IsDeepgramListenProviderV2LanguageHintVariant1) - { - deepgramListenProviderV2LanguageHintVariant1?.Invoke(DeepgramListenProviderV2LanguageHintVariant1!); - } - else if (IsDeepgramListenProviderV2LanguageHintVariant2) - { - deepgramListenProviderV2LanguageHintVariant2?.Invoke(DeepgramListenProviderV2LanguageHintVariant2!); - } - } - - /// - /// - /// - public override int GetHashCode() - { - var fields = new object?[] - { - DeepgramListenProviderV2LanguageHintVariant1, - typeof(string), - DeepgramListenProviderV2LanguageHintVariant2, - typeof(global::System.Collections.Generic.IList), - }; - const int offset = unchecked((int)2166136261); - const int prime = 16777619; - static int HashCodeAggregator(int hashCode, object? value) => value == null - ? (hashCode ^ 0) * prime - : (hashCode ^ value.GetHashCode()) * prime; - - return global::System.Linq.Enumerable.Aggregate(fields, offset, HashCodeAggregator); - } - - /// - /// - /// - public bool Equals(DeepgramListenProviderV2LanguageHint other) - { - return - global::System.Collections.Generic.EqualityComparer.Default.Equals(DeepgramListenProviderV2LanguageHintVariant1, other.DeepgramListenProviderV2LanguageHintVariant1) && - global::System.Collections.Generic.EqualityComparer?>.Default.Equals(DeepgramListenProviderV2LanguageHintVariant2, other.DeepgramListenProviderV2LanguageHintVariant2) - ; - } - - /// - /// - /// - public static bool operator ==(DeepgramListenProviderV2LanguageHint obj1, DeepgramListenProviderV2LanguageHint obj2) - { - return global::System.Collections.Generic.EqualityComparer.Default.Equals(obj1, obj2); - } - - /// - /// - /// - public static bool operator !=(DeepgramListenProviderV2LanguageHint obj1, DeepgramListenProviderV2LanguageHint obj2) - { - return !(obj1 == obj2); - } - - /// - /// - /// - public override bool Equals(object? obj) - { - return obj is DeepgramListenProviderV2LanguageHint o && Equals(o); - } - } -} diff --git a/src/libs/Deepgram/asyncapi.json b/src/libs/Deepgram/asyncapi.json index 2744f9d..69170f5 100644 --- a/src/libs/Deepgram/asyncapi.json +++ b/src/libs/Deepgram/asyncapi.json @@ -1858,21 +1858,6 @@ ], "title": "DeepgramListenProviderV1" }, - "DeepgramListenProviderV2LanguageHint": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "description": "One or more BCP-47 language codes to bias the model toward specific languages. Only supported when model is flux-general-multi. Without hints, the model auto-detects the spoken language. See the Language Prompting guide for details.", - "title": "DeepgramListenProviderV2LanguageHint" - }, "DeepgramListenProviderV2": { "type": "object", "properties": { @@ -1894,9 +1879,12 @@ "type": "string", "description": "Model to use for speech to text using the V2 API (e.g. flux-general-en, flux-general-multi)" }, - "language_hint": { - "$ref": "#/components/schemas/DeepgramListenProviderV2LanguageHint", - "description": "One or more BCP-47 language codes to bias the model toward specific languages. Only supported when model is flux-general-multi. Without hints, the model auto-detects the spoken language. See the Language Prompting guide for details." + "language_hints": { + "type": "array", + "items": { + "type": "string" + }, + "description": "An array of one or more BCP-47 language codes to bias the model toward specific languages. Only supported when model is flux-general-multi. Without hints, the model auto-detects the spoken language. See the Language Prompting guide for details." }, "keyterms": { "type": "array", diff --git a/src/libs/Deepgram/asyncapi.yaml b/src/libs/Deepgram/asyncapi.yaml index 987c926..397758d 100644 --- a/src/libs/Deepgram/asyncapi.yaml +++ b/src/libs/Deepgram/asyncapi.yaml @@ -1152,17 +1152,6 @@ components: required: - type title: DeepgramListenProviderV1 - DeepgramListenProviderV2LanguageHint: - oneOf: - - type: string - - type: array - items: - type: string - description: >- - One or more BCP-47 language codes to bias the model toward specific languages. Only supported when model is - flux-general-multi. Without hints, the model auto-detects the spoken language. See the Language Prompting guide - for details. - title: DeepgramListenProviderV2LanguageHint DeepgramListenProviderV2: type: object properties: @@ -1179,12 +1168,14 @@ components: model: type: string description: Model to use for speech to text using the V2 API (e.g. flux-general-en, flux-general-multi) - language_hint: - $ref: '#/components/schemas/DeepgramListenProviderV2LanguageHint' + language_hints: + type: array + items: + type: string description: >- - One or more BCP-47 language codes to bias the model toward specific languages. Only supported when model is - flux-general-multi. Without hints, the model auto-detects the spoken language. See the Language Prompting - guide for details. + An array of one or more BCP-47 language codes to bias the model toward specific languages. Only supported + when model is flux-general-multi. Without hints, the model auto-detects the spoken language. See the + Language Prompting guide for details. keyterms: type: array items: