Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 38 additions & 2 deletions src/libs/Vapi/Generated/Vapi.Models.DeepgramVoice.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public sealed partial class DeepgramVoice
public required global::Vapi.DeepgramVoiceVoiceId VoiceId { get; set; }

/// <summary>
/// This is the model that will be used. Defaults to 'aura-2' when not specified.<br/>
/// This is the model that will be used. Defaults to 'aura' when not specified.<br/>
/// Example: aura-2
/// </summary>
/// <example>aura-2</example>
Expand All @@ -52,6 +52,26 @@ public sealed partial class DeepgramVoice
[global::System.Text.Json.Serialization.JsonPropertyName("mipOptOut")]
public bool? MipOptOut { get; set; }

/// <summary>
/// This is the speed multiplier that will be used. Aura-2 accepts 0.7 to 1.5; Flux accepts 0.5 to 1.5 in steps of 0.05. Aura does not support speed.<br/>
/// @default 1<br/>
/// Default Value: 1<br/>
/// Example: 1.1F
/// </summary>
/// <example>1.1F</example>
[global::System.Text.Json.Serialization.JsonPropertyName("speed")]
public double? Speed { get; set; }

/// <summary>
/// This is the expressivity level for Flux voices, from -2 (flat) to 2 (lively). Deepgram marks this control as beta and may retune the scale. Aura and Aura-2 do not support it.<br/>
/// @default 0<br/>
/// Default Value: 0<br/>
/// Example: 1
/// </summary>
/// <example>1</example>
[global::System.Text.Json.Serialization.JsonPropertyName("expressivity")]
public double? Expressivity { get; set; }

/// <summary>
/// This is the plan for chunking the model output before it is sent to the voice provider.
/// </summary>
Expand Down Expand Up @@ -85,7 +105,7 @@ public sealed partial class DeepgramVoice
/// This is the voice provider that will be used.
/// </param>
/// <param name="model">
/// This is the model that will be used. Defaults to 'aura-2' when not specified.<br/>
/// This is the model that will be used. Defaults to 'aura' when not specified.<br/>
/// Example: aura-2
/// </param>
/// <param name="mipOptOut">
Expand All @@ -95,6 +115,18 @@ public sealed partial class DeepgramVoice
/// Default Value: false<br/>
/// Example: false
/// </param>
/// <param name="speed">
/// This is the speed multiplier that will be used. Aura-2 accepts 0.7 to 1.5; Flux accepts 0.5 to 1.5 in steps of 0.05. Aura does not support speed.<br/>
/// @default 1<br/>
/// Default Value: 1<br/>
/// Example: 1.1F
/// </param>
/// <param name="expressivity">
/// This is the expressivity level for Flux voices, from -2 (flat) to 2 (lively). Deepgram marks this control as beta and may retune the scale. Aura and Aura-2 do not support it.<br/>
/// @default 0<br/>
/// Default Value: 0<br/>
/// Example: 1
/// </param>
/// <param name="chunkPlan">
/// This is the plan for chunking the model output before it is sent to the voice provider.
/// </param>
Expand All @@ -110,6 +142,8 @@ public DeepgramVoice(
global::Vapi.DeepgramVoiceProvider provider,
global::Vapi.DeepgramVoiceModel? model,
bool? mipOptOut,
double? speed,
double? expressivity,
global::Vapi.ChunkPlan? chunkPlan,
global::Vapi.FallbackPlan? fallbackPlan)
{
Expand All @@ -118,6 +152,8 @@ public DeepgramVoice(
this.VoiceId = voiceId;
this.Model = model;
this.MipOptOut = mipOptOut;
this.Speed = speed;
this.Expressivity = expressivity;
this.ChunkPlan = chunkPlan;
this.FallbackPlan = fallbackPlan;
}
Expand Down
8 changes: 7 additions & 1 deletion src/libs/Vapi/Generated/Vapi.Models.DeepgramVoiceModel.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace Vapi
{
/// <summary>
/// This is the model that will be used. Defaults to 'aura-2' when not specified.<br/>
/// This is the model that will be used. Defaults to 'aura' when not specified.<br/>
/// Example: aura-2
/// </summary>
public enum DeepgramVoiceModel
Expand All @@ -17,6 +17,10 @@ public enum DeepgramVoiceModel
///
/// </summary>
Aura2,
/// <summary>
///
/// </summary>
Flux,
}

/// <summary>
Expand All @@ -33,6 +37,7 @@ public static string ToValueString(this DeepgramVoiceModel value)
{
DeepgramVoiceModel.Aura => "aura",
DeepgramVoiceModel.Aura2 => "aura-2",
DeepgramVoiceModel.Flux => "flux",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -45,6 +50,7 @@ public static string ToValueString(this DeepgramVoiceModel value)
{
"aura" => DeepgramVoiceModel.Aura,
"aura-2" => DeepgramVoiceModel.Aura2,
"flux" => DeepgramVoiceModel.Flux,
_ => null,
};
}
Expand Down
Loading
Loading