Skip to content

Commit

Permalink
内置文心一言 4.0 Turbo 模型
Browse files Browse the repository at this point in the history
  • Loading branch information
Richasy committed Jun 28, 2024
1 parent 0a0208f commit 8e22590
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions src/Core/RodelChat.Core/Providers/Predefined/Qianfan.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,41 @@ internal static partial class PredefinedModels
{
internal static List<ChatModel> QianFanModels { get; } = new List<ChatModel>
{
new ChatModel
{
DisplayName = "ERNIE-4.0-Turbo-8K",
Id = "ernie-4.0-turbo-8k",
ContextLength = 8124,
},
new ChatModel
{
DisplayName = "ERNIE-4.0-8K",
Id = "completions_pro",
ContextLength = 5000,
ContextLength = 8124,
},
new ChatModel
{
DisplayName = "ERNIE-3.5-8K",
Id = "completions",
ContextLength = 4000,
ContextLength = 8124,
},
new ChatModel
{
DisplayName = "ERNIE-Speed-8K",
Id = "ernie_speed",
ContextLength = 4000,
ContextLength = 8124,
},
new ChatModel
{
DisplayName = "ERNIE-Lite-8K",
Id = "eb-instant",
ContextLength = 4000,
ContextLength = 8124,
},
new ChatModel
{
DisplayName = "ERNIE-Tiny-8K",
Id = "ernie-tiny-8k",
ContextLength = 4000,
ContextLength = 8124,
},
};
}

0 comments on commit 8e22590

Please sign in to comment.