Skip to content

Commit

Permalink
new basic data
Browse files Browse the repository at this point in the history
  • Loading branch information
sdcb committed Nov 29, 2024
1 parent d99df5d commit 5a46711
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions src/BE/DB/Init/BasicData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,16 @@ private static void InsertTransactionTypes(ChatsDB db)

private static void InsertModelReferences(ChatsDB db)
{
// Generated from data, hash: ed6a1783216f24f6c4bb3917a657ab652fa71ee11ce4500d7a4e0f329a05c597
// Generated from data, hash: 72d3a15e6337fecb401318e7441dd32991aa8e9ad06f972b8cab646526847f00
db.ModelReferences.AddRange(
[
new(){ Id=0, ProviderId=0, Name="Test", ShortName=null, IsLegacy=false, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=true, AllowVision=true, AllowSystemPrompt=true, AllowStreaming=true, ContextWindow=2048, MaxResponseTokens=2048, TokenizerId=1, PromptTokenPrice1M=0.00000M, ResponseTokenPrice1M=0.00000M, CurrencyCode="RMB", },
new(){ Id=100, ProviderId=1, Name="gpt-3.5-turbo-0301", ShortName="gpt-3.5-turbo", IsLegacy=true, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ContextWindow=4096, MaxResponseTokens=4096, TokenizerId=1, PromptTokenPrice1M=1.50000M, ResponseTokenPrice1M=2.00000M, CurrencyCode="USD", },
new(){ Id=101, ProviderId=1, Name="gpt-3.5-turbo-16k-0613", ShortName="gpt-3.5-turbo", IsLegacy=true, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ContextWindow=16385, MaxResponseTokens=16385, TokenizerId=1, PromptTokenPrice1M=3.00000M, ResponseTokenPrice1M=4.00000M, CurrencyCode="USD", },
new(){ Id=102, ProviderId=1, Name="gpt-3.5-turbo-0613", ShortName="gpt-3.5-turbo", IsLegacy=true, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ContextWindow=4096, MaxResponseTokens=4096, TokenizerId=1, PromptTokenPrice1M=1.50000M, ResponseTokenPrice1M=2.00000M, CurrencyCode="USD", },
new(){ Id=103, ProviderId=1, Name="gpt-3.5-turbo-1106", ShortName="gpt-3.5-turbo", IsLegacy=true, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ContextWindow=4096, MaxResponseTokens=4096, TokenizerId=1, PromptTokenPrice1M=1.00000M, ResponseTokenPrice1M=2.00000M, CurrencyCode="USD", },
new(){ Id=104, ProviderId=1, Name="gpt-3.5-turbo-instruct", ShortName="gpt-3.5-turbo", IsLegacy=true, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ContextWindow=4096, MaxResponseTokens=4096, TokenizerId=1, PromptTokenPrice1M=1.50000M, ResponseTokenPrice1M=2.00000M, CurrencyCode="USD", },
new(){ Id=105, ProviderId=1, Name="gpt-3.5-turbo-0125", ShortName="gpt-3.5-turbo", IsLegacy=true, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ContextWindow=4096, MaxResponseTokens=4096, TokenizerId=1, PromptTokenPrice1M=0.50000M, ResponseTokenPrice1M=1.50000M, CurrencyCode="USD", },
new(){ Id=0, ProviderId=0, Name="Test", ShortName=null, IsLegacy=false, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ContextWindow=2048, MaxResponseTokens=2048, TokenizerId=1, PromptTokenPrice1M=0.00000M, ResponseTokenPrice1M=0.00000M, CurrencyCode="RMB", },
new(){ Id=100, ProviderId=1, Name="gpt-35-turbo-0301", ShortName="gpt-35-turbo", IsLegacy=true, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ContextWindow=4096, MaxResponseTokens=4096, TokenizerId=1, PromptTokenPrice1M=1.50000M, ResponseTokenPrice1M=2.00000M, CurrencyCode="USD", },
new(){ Id=101, ProviderId=1, Name="gpt-35-turbo-16k-0613", ShortName="gpt-35-turbo", IsLegacy=true, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ContextWindow=16385, MaxResponseTokens=16385, TokenizerId=1, PromptTokenPrice1M=3.00000M, ResponseTokenPrice1M=4.00000M, CurrencyCode="USD", },
new(){ Id=102, ProviderId=1, Name="gpt-35-turbo-0613", ShortName="gpt-35-turbo", IsLegacy=true, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ContextWindow=4096, MaxResponseTokens=4096, TokenizerId=1, PromptTokenPrice1M=1.50000M, ResponseTokenPrice1M=2.00000M, CurrencyCode="USD", },
new(){ Id=103, ProviderId=1, Name="gpt-35-turbo-1106", ShortName="gpt-35-turbo", IsLegacy=true, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ContextWindow=4096, MaxResponseTokens=4096, TokenizerId=1, PromptTokenPrice1M=1.00000M, ResponseTokenPrice1M=2.00000M, CurrencyCode="USD", },
new(){ Id=104, ProviderId=1, Name="gpt-35-turbo-instruct", ShortName="gpt-35-turbo", IsLegacy=true, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ContextWindow=4096, MaxResponseTokens=4096, TokenizerId=1, PromptTokenPrice1M=1.50000M, ResponseTokenPrice1M=2.00000M, CurrencyCode="USD", },
new(){ Id=105, ProviderId=1, Name="gpt-35-turbo-0125", ShortName="gpt-35-turbo", IsLegacy=true, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=false, AllowSystemPrompt=true, AllowStreaming=true, ContextWindow=4096, MaxResponseTokens=4096, TokenizerId=1, PromptTokenPrice1M=0.50000M, ResponseTokenPrice1M=1.50000M, CurrencyCode="USD", },
new(){ Id=106, ProviderId=1, Name="gpt-4-vision-preview", ShortName="gpt-4-vision", IsLegacy=true, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=true, AllowSystemPrompt=true, AllowStreaming=true, ContextWindow=128000, MaxResponseTokens=4096, TokenizerId=1, PromptTokenPrice1M=10.00000M, ResponseTokenPrice1M=30.00000M, CurrencyCode="USD", },
new(){ Id=107, ProviderId=1, Name="gpt-4-1106-preview", ShortName="gpt-4-turbo", IsLegacy=true, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=true, AllowSystemPrompt=true, AllowStreaming=true, ContextWindow=128000, MaxResponseTokens=4096, TokenizerId=1, PromptTokenPrice1M=10.00000M, ResponseTokenPrice1M=30.00000M, CurrencyCode="USD", },
new(){ Id=108, ProviderId=1, Name="gpt-4-0125-preview", ShortName="gpt-4-turbo", IsLegacy=true, MinTemperature=0.00M, MaxTemperature=2.00M, AllowSearch=false, AllowVision=true, AllowSystemPrompt=true, AllowStreaming=true, ContextWindow=128000, MaxResponseTokens=4096, TokenizerId=1, PromptTokenPrice1M=10.00000M, ResponseTokenPrice1M=30.00000M, CurrencyCode="USD", },
Expand Down
2 changes: 1 addition & 1 deletion src/BE/DB/Init/scaffold-basic-data.linq
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static CompilationUnitSyntax GenerateCompilationUnit(TableDef[] tableDefs)
usingDef("Chats.BE.DB").WS("\n\n")
)
.AddMembers(
fileScopedNamespaceDef("Chats.BE.Services.Init").AddMembers(
fileScopedNamespaceDef("Chats.BE.DB.Init").AddMembers(
classDef("BasicData")
.AddMembers(
[
Expand Down

0 comments on commit 5a46711

Please sign in to comment.