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
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ public enum FallbackSonioxTranscriberModel
///
/// </summary>
SttRtV4,
/// <summary>
///
/// </summary>
SttRtV5,
}

/// <summary>
Expand All @@ -27,6 +31,7 @@ public static string ToValueString(this FallbackSonioxTranscriberModel value)
return value switch
{
FallbackSonioxTranscriberModel.SttRtV4 => "stt-rt-v4",
FallbackSonioxTranscriberModel.SttRtV5 => "stt-rt-v5",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -38,6 +43,7 @@ public static string ToValueString(this FallbackSonioxTranscriberModel value)
return value switch
{
"stt-rt-v4" => FallbackSonioxTranscriberModel.SttRtV4,
"stt-rt-v5" => FallbackSonioxTranscriberModel.SttRtV5,
_ => null,
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ public enum SonioxTranscriberModel
///
/// </summary>
SttRtV4,
/// <summary>
///
/// </summary>
SttRtV5,
}

/// <summary>
Expand All @@ -27,6 +31,7 @@ public static string ToValueString(this SonioxTranscriberModel value)
return value switch
{
SonioxTranscriberModel.SttRtV4 => "stt-rt-v4",
SonioxTranscriberModel.SttRtV5 => "stt-rt-v5",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -38,6 +43,7 @@ public static string ToValueString(this SonioxTranscriberModel value)
return value switch
{
"stt-rt-v4" => SonioxTranscriberModel.SttRtV4,
"stt-rt-v5" => SonioxTranscriberModel.SttRtV5,
_ => null,
};
}
Expand Down
6 changes: 4 additions & 2 deletions src/libs/Vapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8372,7 +8372,8 @@
"model": {
"type": "string",
"enum": [
"stt-rt-v4"
"stt-rt-v4",
"stt-rt-v5"
],
"description": "The Soniox model to use for transcription."
},
Expand Down Expand Up @@ -10772,7 +10773,8 @@
"model": {
"type": "string",
"enum": [
"stt-rt-v4"
"stt-rt-v4",
"stt-rt-v5"
],
"description": "The Soniox model to use for transcription."
},
Expand Down