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 @@ -24,10 +24,6 @@ public enum LemurModel
///
/// </summary>
AnthropicClaude3Sonnet,
/// <summary>
///
/// </summary>
AssemblyaiMistral7b,
}

/// <summary>
Expand All @@ -46,7 +42,6 @@ public static string ToValueString(this LemurModel value)
LemurModel.AnthropicClaude3Opus => "anthropic/claude-3-opus",
LemurModel.AnthropicClaude3Haiku => "anthropic/claude-3-haiku",
LemurModel.AnthropicClaude3Sonnet => "anthropic/claude-3-sonnet",
LemurModel.AssemblyaiMistral7b => "assemblyai/mistral-7b",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -61,7 +56,6 @@ public static string ToValueString(this LemurModel value)
"anthropic/claude-3-opus" => LemurModel.AnthropicClaude3Opus,
"anthropic/claude-3-haiku" => LemurModel.AnthropicClaude3Haiku,
"anthropic/claude-3-sonnet" => LemurModel.AnthropicClaude3Sonnet,
"assemblyai/mistral-7b" => LemurModel.AssemblyaiMistral7b,
_ => null,
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public sealed partial class TranscriptOptionalParams
/// Default Value: false
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("custom_topics")]
[global::System.Obsolete("This property marked as deprecated.")]
public bool? CustomTopics { get; set; }

/// <summary>
Expand Down Expand Up @@ -310,10 +311,6 @@ public sealed partial class TranscriptOptionalParams
/// <param name="customSpelling">
/// Customize how words are spelled and formatted using to and from values
/// </param>
/// <param name="customTopics">
/// Enable custom topics, either true or false<br/>
/// Default Value: false
/// </param>
/// <param name="disfluencies">
/// Transcribe Filler Words, like "umm", in your media file; can be true or false<br/>
/// Default Value: false
Expand Down Expand Up @@ -435,7 +432,6 @@ public TranscriptOptionalParams(
bool? contentSafety,
int? contentSafetyConfidence,
global::System.Collections.Generic.IList<global::AssemblyAI.TranscriptCustomSpelling>? customSpelling,
bool? customTopics,
bool? disfluencies,
bool? entityDetection,
bool? filterProfanity,
Expand Down Expand Up @@ -473,7 +469,6 @@ public TranscriptOptionalParams(
this.ContentSafety = contentSafety;
this.ContentSafetyConfidence = contentSafetyConfidence;
this.CustomSpelling = customSpelling;
this.CustomTopics = customTopics;
this.Disfluencies = disfluencies;
this.EntityDetection = entityDetection;
this.FilterProfanity = filterProfanity;
Expand Down
2 changes: 1 addition & 1 deletion src/libs/AssemblyAI/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1452,6 +1452,7 @@ components:
description: Enable custom topics, either true or false
type: boolean
default: false
deprecated: true

topics:
x-label: Custom topics
Expand Down Expand Up @@ -5685,7 +5686,6 @@ components:
- anthropic/claude-3-opus
- anthropic/claude-3-haiku
- anthropic/claude-3-sonnet
- assemblyai/mistral-7b
x-fern-enum:
anthropic/claude-3-5-sonnet:
description: >
Expand Down