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 @@ -11,15 +11,15 @@ public enum AudioSpeechRequestModel
/// <summary>
///
/// </summary>
CanopylabsDivideorpheus3b01Ft,
CanopylabsOrpheus3b01Ft,
/// <summary>
///
/// </summary>
CartesiaDividesonic,
CartesiaSonic,
/// <summary>
///
/// </summary>
HexgradDivideKokoro82m,
HexgradKokoro82m,
}

/// <summary>
Expand All @@ -34,9 +34,9 @@ public static string ToValueString(this AudioSpeechRequestModel value)
{
return value switch
{
AudioSpeechRequestModel.CanopylabsDivideorpheus3b01Ft => "canopylabs/orpheus-3b-0.1-ft",
AudioSpeechRequestModel.CartesiaDividesonic => "cartesia/sonic",
AudioSpeechRequestModel.HexgradDivideKokoro82m => "hexgrad/Kokoro-82M",
AudioSpeechRequestModel.CanopylabsOrpheus3b01Ft => "canopylabs/orpheus-3b-0.1-ft",
AudioSpeechRequestModel.CartesiaSonic => "cartesia/sonic",
AudioSpeechRequestModel.HexgradKokoro82m => "hexgrad/Kokoro-82M",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -47,9 +47,9 @@ public static string ToValueString(this AudioSpeechRequestModel value)
{
return value switch
{
"canopylabs/orpheus-3b-0.1-ft" => AudioSpeechRequestModel.CanopylabsDivideorpheus3b01Ft,
"cartesia/sonic" => AudioSpeechRequestModel.CartesiaDividesonic,
"hexgrad/Kokoro-82M" => AudioSpeechRequestModel.HexgradDivideKokoro82m,
"canopylabs/orpheus-3b-0.1-ft" => AudioSpeechRequestModel.CanopylabsOrpheus3b01Ft,
"cartesia/sonic" => AudioSpeechRequestModel.CartesiaSonic,
"hexgrad/Kokoro-82M" => AudioSpeechRequestModel.HexgradKokoro82m,
_ => null,
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public enum AudioTranscriptionRequestModel
/// <summary>
///
/// </summary>
OpenaiDividewhisperLargeV3,
OpenaiWhisperLargeV3,
}

/// <summary>
Expand All @@ -27,7 +27,7 @@ public static string ToValueString(this AudioTranscriptionRequestModel value)
{
return value switch
{
AudioTranscriptionRequestModel.OpenaiDividewhisperLargeV3 => "openai/whisper-large-v3",
AudioTranscriptionRequestModel.OpenaiWhisperLargeV3 => "openai/whisper-large-v3",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -38,7 +38,7 @@ public static string ToValueString(this AudioTranscriptionRequestModel value)
{
return value switch
{
"openai/whisper-large-v3" => AudioTranscriptionRequestModel.OpenaiDividewhisperLargeV3,
"openai/whisper-large-v3" => AudioTranscriptionRequestModel.OpenaiWhisperLargeV3,
_ => null,
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public enum AudioTranslationRequestModel
/// <summary>
///
/// </summary>
OpenaiDividewhisperLargeV3,
OpenaiWhisperLargeV3,
}

/// <summary>
Expand All @@ -27,7 +27,7 @@ public static string ToValueString(this AudioTranslationRequestModel value)
{
return value switch
{
AudioTranslationRequestModel.OpenaiDividewhisperLargeV3 => "openai/whisper-large-v3",
AudioTranslationRequestModel.OpenaiWhisperLargeV3 => "openai/whisper-large-v3",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -38,7 +38,7 @@ public static string ToValueString(this AudioTranslationRequestModel value)
{
return value switch
{
"openai/whisper-large-v3" => AudioTranslationRequestModel.OpenaiDividewhisperLargeV3,
"openai/whisper-large-v3" => AudioTranslationRequestModel.OpenaiWhisperLargeV3,
_ => null,
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ public enum CompletionRequestModel
/// <summary>
///
/// </summary>
MetaLlamaDivideLlamaGuard7b,
MetaLlamaLlamaGuard7b,
/// <summary>
///
/// </summary>
MetaLlamaDivideLlama270bHf,
MetaLlamaLlama270bHf,
/// <summary>
///
/// </summary>
MistralaiDivideMistral7bV01,
MistralaiMistral7bV01,
/// <summary>
///
/// </summary>
MistralaiDivideMixtral8x7BV01,
MistralaiMixtral8x7BV01,
}

/// <summary>
Expand All @@ -38,10 +38,10 @@ public static string ToValueString(this CompletionRequestModel value)
{
return value switch
{
CompletionRequestModel.MetaLlamaDivideLlamaGuard7b => "Meta-Llama/Llama-Guard-7b",
CompletionRequestModel.MetaLlamaDivideLlama270bHf => "meta-llama/Llama-2-70b-hf",
CompletionRequestModel.MistralaiDivideMistral7bV01 => "mistralai/Mistral-7B-v0.1",
CompletionRequestModel.MistralaiDivideMixtral8x7BV01 => "mistralai/Mixtral-8x7B-v0.1",
CompletionRequestModel.MetaLlamaLlamaGuard7b => "Meta-Llama/Llama-Guard-7b",
CompletionRequestModel.MetaLlamaLlama270bHf => "meta-llama/Llama-2-70b-hf",
CompletionRequestModel.MistralaiMistral7bV01 => "mistralai/Mistral-7B-v0.1",
CompletionRequestModel.MistralaiMixtral8x7BV01 => "mistralai/Mixtral-8x7B-v0.1",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -52,10 +52,10 @@ public static string ToValueString(this CompletionRequestModel value)
{
return value switch
{
"Meta-Llama/Llama-Guard-7b" => CompletionRequestModel.MetaLlamaDivideLlamaGuard7b,
"meta-llama/Llama-2-70b-hf" => CompletionRequestModel.MetaLlamaDivideLlama270bHf,
"mistralai/Mistral-7B-v0.1" => CompletionRequestModel.MistralaiDivideMistral7bV01,
"mistralai/Mixtral-8x7B-v0.1" => CompletionRequestModel.MistralaiDivideMixtral8x7BV01,
"Meta-Llama/Llama-Guard-7b" => CompletionRequestModel.MetaLlamaLlamaGuard7b,
"meta-llama/Llama-2-70b-hf" => CompletionRequestModel.MetaLlamaLlama270bHf,
"mistralai/Mistral-7B-v0.1" => CompletionRequestModel.MistralaiMistral7bV01,
"mistralai/Mixtral-8x7B-v0.1" => CompletionRequestModel.MistralaiMixtral8x7BV01,
_ => null,
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public enum CompletionRequestSafetyModel
/// <summary>
///
/// </summary>
MetaLlamaDivideLlamaGuard7b,
MetaLlamaLlamaGuard7b,
}

/// <summary>
Expand All @@ -26,7 +26,7 @@ public static string ToValueString(this CompletionRequestSafetyModel value)
{
return value switch
{
CompletionRequestSafetyModel.MetaLlamaDivideLlamaGuard7b => "Meta-Llama/Llama-Guard-7b",
CompletionRequestSafetyModel.MetaLlamaLlamaGuard7b => "Meta-Llama/Llama-Guard-7b",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -37,7 +37,7 @@ public static string ToValueString(this CompletionRequestSafetyModel value)
{
return value switch
{
"Meta-Llama/Llama-Guard-7b" => CompletionRequestSafetyModel.MetaLlamaDivideLlamaGuard7b,
"Meta-Llama/Llama-Guard-7b" => CompletionRequestSafetyModel.MetaLlamaLlamaGuard7b,
_ => null,
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ public enum CreateImagesGenerationsRequestModel
/// <summary>
///
/// </summary>
BlackForestLabsDivideFLUX1Schnell,
BlackForestLabsFlux1Schnell,
/// <summary>
///
/// </summary>
BlackForestLabsDivideFLUX1SchnellFree,
BlackForestLabsFlux1SchnellFree,
/// <summary>
///
/// </summary>
BlackForestLabsDivideFLUX11Pro,
BlackForestLabsFlux11Pro,
}

/// <summary>
Expand All @@ -34,9 +34,9 @@ public static string ToValueString(this CreateImagesGenerationsRequestModel valu
{
return value switch
{
CreateImagesGenerationsRequestModel.BlackForestLabsDivideFLUX1Schnell => "black-forest-labs/FLUX.1-schnell",
CreateImagesGenerationsRequestModel.BlackForestLabsDivideFLUX1SchnellFree => "black-forest-labs/FLUX.1-schnell-Free",
CreateImagesGenerationsRequestModel.BlackForestLabsDivideFLUX11Pro => "black-forest-labs/FLUX.1.1-pro",
CreateImagesGenerationsRequestModel.BlackForestLabsFlux1Schnell => "black-forest-labs/FLUX.1-schnell",
CreateImagesGenerationsRequestModel.BlackForestLabsFlux1SchnellFree => "black-forest-labs/FLUX.1-schnell-Free",
CreateImagesGenerationsRequestModel.BlackForestLabsFlux11Pro => "black-forest-labs/FLUX.1.1-pro",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -47,9 +47,9 @@ public static string ToValueString(this CreateImagesGenerationsRequestModel valu
{
return value switch
{
"black-forest-labs/FLUX.1-schnell" => CreateImagesGenerationsRequestModel.BlackForestLabsDivideFLUX1Schnell,
"black-forest-labs/FLUX.1-schnell-Free" => CreateImagesGenerationsRequestModel.BlackForestLabsDivideFLUX1SchnellFree,
"black-forest-labs/FLUX.1.1-pro" => CreateImagesGenerationsRequestModel.BlackForestLabsDivideFLUX11Pro,
"black-forest-labs/FLUX.1-schnell" => CreateImagesGenerationsRequestModel.BlackForestLabsFlux1Schnell,
"black-forest-labs/FLUX.1-schnell-Free" => CreateImagesGenerationsRequestModel.BlackForestLabsFlux1SchnellFree,
"black-forest-labs/FLUX.1.1-pro" => CreateImagesGenerationsRequestModel.BlackForestLabsFlux11Pro,
_ => null,
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ public enum EmbeddingsRequestModel
/// <summary>
///
/// </summary>
BAAIDividebgeBaseEnV15,
BaaiBgeBaseEnV15,
/// <summary>
///
/// </summary>
BAAIDividebgeLargeEnV15,
BaaiBgeLargeEnV15,
/// <summary>
///
/// </summary>
WhereIsAIDivideUAELargeV1,
WhereIsAIUaeLargeV1,
/// <summary>
///
/// </summary>
TogethercomputerDividem2Bert80m8kRetrieval,
TogethercomputerM2Bert80m8kRetrieval,
}

/// <summary>
Expand All @@ -38,10 +38,10 @@ public static string ToValueString(this EmbeddingsRequestModel value)
{
return value switch
{
EmbeddingsRequestModel.BAAIDividebgeBaseEnV15 => "BAAI/bge-base-en-v1.5",
EmbeddingsRequestModel.BAAIDividebgeLargeEnV15 => "BAAI/bge-large-en-v1.5",
EmbeddingsRequestModel.WhereIsAIDivideUAELargeV1 => "WhereIsAI/UAE-Large-V1",
EmbeddingsRequestModel.TogethercomputerDividem2Bert80m8kRetrieval => "togethercomputer/m2-bert-80M-8k-retrieval",
EmbeddingsRequestModel.BaaiBgeBaseEnV15 => "BAAI/bge-base-en-v1.5",
EmbeddingsRequestModel.BaaiBgeLargeEnV15 => "BAAI/bge-large-en-v1.5",
EmbeddingsRequestModel.WhereIsAIUaeLargeV1 => "WhereIsAI/UAE-Large-V1",
EmbeddingsRequestModel.TogethercomputerM2Bert80m8kRetrieval => "togethercomputer/m2-bert-80M-8k-retrieval",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -52,10 +52,10 @@ public static string ToValueString(this EmbeddingsRequestModel value)
{
return value switch
{
"BAAI/bge-base-en-v1.5" => EmbeddingsRequestModel.BAAIDividebgeBaseEnV15,
"BAAI/bge-large-en-v1.5" => EmbeddingsRequestModel.BAAIDividebgeLargeEnV15,
"WhereIsAI/UAE-Large-V1" => EmbeddingsRequestModel.WhereIsAIDivideUAELargeV1,
"togethercomputer/m2-bert-80M-8k-retrieval" => EmbeddingsRequestModel.TogethercomputerDividem2Bert80m8kRetrieval,
"BAAI/bge-base-en-v1.5" => EmbeddingsRequestModel.BaaiBgeBaseEnV15,
"BAAI/bge-large-en-v1.5" => EmbeddingsRequestModel.BaaiBgeLargeEnV15,
"WhereIsAI/UAE-Large-V1" => EmbeddingsRequestModel.WhereIsAIUaeLargeV1,
"togethercomputer/m2-bert-80M-8k-retrieval" => EmbeddingsRequestModel.TogethercomputerM2Bert80m8kRetrieval,
_ => null,
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ public enum RealtimeTtsModel
/// <summary>
///
/// </summary>
CartesiaDividesonicEnglish,
CartesiaSonicEnglish,
/// <summary>
///
/// </summary>
HexgradDivideKokoro82m,
HexgradKokoro82m,
}

/// <summary>
Expand All @@ -31,8 +31,8 @@ public static string ToValueString(this RealtimeTtsModel value)
{
return value switch
{
RealtimeTtsModel.CartesiaDividesonicEnglish => "cartesia/sonic-english",
RealtimeTtsModel.HexgradDivideKokoro82m => "hexgrad/Kokoro-82M",
RealtimeTtsModel.CartesiaSonicEnglish => "cartesia/sonic-english",
RealtimeTtsModel.HexgradKokoro82m => "hexgrad/Kokoro-82M",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -43,8 +43,8 @@ public static string ToValueString(this RealtimeTtsModel value)
{
return value switch
{
"cartesia/sonic-english" => RealtimeTtsModel.CartesiaDividesonicEnglish,
"hexgrad/Kokoro-82M" => RealtimeTtsModel.HexgradDivideKokoro82m,
"cartesia/sonic-english" => RealtimeTtsModel.CartesiaSonicEnglish,
"hexgrad/Kokoro-82M" => RealtimeTtsModel.HexgradKokoro82m,
_ => null,
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public enum RerankRequestModel
/// <summary>
///
/// </summary>
SalesforceDivideLlamaRankV1,
SalesforceLlamaRankV1,
}

/// <summary>
Expand All @@ -26,7 +26,7 @@ public static string ToValueString(this RerankRequestModel value)
{
return value switch
{
RerankRequestModel.SalesforceDivideLlamaRankV1 => "Salesforce/Llama-Rank-v1",
RerankRequestModel.SalesforceLlamaRankV1 => "Salesforce/Llama-Rank-v1",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -37,7 +37,7 @@ public static string ToValueString(this RerankRequestModel value)
{
return value switch
{
"Salesforce/Llama-Rank-v1" => RerankRequestModel.SalesforceDivideLlamaRankV1,
"Salesforce/Llama-Rank-v1" => RerankRequestModel.SalesforceLlamaRankV1,
_ => null,
};
}
Expand Down