Skip to content

Commit

Permalink
Change config
Browse files Browse the repository at this point in the history
  • Loading branch information
XueMoMo committed Oct 27, 2023
1 parent 9ed46f8 commit a0d9670
Showing 1 changed file with 66 additions and 53 deletions.
119 changes: 66 additions & 53 deletions projects/app/data/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,91 +2,104 @@
"SystemParams": {
"vectorMaxProcess": 15,
"qaMaxProcess": 15,
"pgHNSWEfSearch": 100
"pgIvfflatProbe": 20
},
"ChatModels": [
{
"model": "gpt-3.5-turbo",
"name": "GPT35-4k",
"price": 0,
"maxToken": 4000,
"quoteMaxToken": 2000,
"name": "GPT-3.5-turbo",
"contextMaxToken": 4000,
"quoteMaxToken": 2400,
"maxTemperature": 1.2,
"censor": false,
"defaultSystemChatPrompt": ""
"price": 2.2,
"defaultSystem": ""
},
{
"model": "gpt-3.5-turbo-16k",
"name": "GPT35-16k",
"maxToken": 16000,
"price": 0,
"name": "GPT-3.5-turbo-16k",
"contextMaxToken": 16000,
"quoteMaxToken": 8000,
"maxTemperature": 1.2,
"censor": false,
"defaultSystemChatPrompt": ""
"price": 5,
"defaultSystem": ""
},
{
"model": "gpt-4",
"name": "GPT4-8k",
"maxToken": 8000,
"price": 0,
"name": "GPT-4",
"contextMaxToken": 8000,
"quoteMaxToken": 4000,
"maxTemperature": 1.2,
"censor": false,
"defaultSystemChatPrompt": ""
}
],
"QAModels": [
"price": 50,
"defaultSystem": ""
},
{
"model": "gpt-3.5-turbo-16k",
"name": "GPT35-16k",
"maxToken": 16000,
"price": 0
}
],
"CQModels": [
"model": "chatglm_lite",
"name": "ChatGLM-Lite",
"contextMaxToken": 4000,
"quoteMaxToken": 2400,
"maxTemperature": 1,
"price": 1,
"defaultSystem": ""
},
{
"model": "gpt-3.5-turbo-16k",
"name": "GPT35-16k",
"maxToken": 16000,
"price": 0,
"functionCall": true,
"functionPrompt": ""
"model": "chatglm_std",
"name": "ChatGLM-Std",
"contextMaxToken": 8000,
"quoteMaxToken": 4000,
"maxTemperature": 1,
"price": 2.5,
"defaultSystem": ""
},
{
"model": "gpt-4",
"name": "GPT4-8k",
"maxToken": 8000,
"price": 0,
"functionCall": true,
"functionPrompt": ""
"model": "chatglm_pro",
"name": "ChatGLM-Pro",
"contextMaxToken": 8000,
"quoteMaxToken": 4000,
"maxTemperature": 1,
"price": 5,
"defaultSystem": ""
},
{
"model": "ERNIE-Bot",
"name": "文心一言",
"contextMaxToken": 4000,
"quoteMaxToken": 2400,
"maxTemperature": 1,
"price": 2,
"defaultSystem": ""
},
{
"model": "ERNIE-Bot-turbo",
"name": "文心一言turbo",
"contextMaxToken": 4000,
"quoteMaxToken": 2400,
"maxTemperature": 1,
"price": 2,
"defaultSystem": ""
},
{
"model": "Embedding-V1",
"name": "Embedding-V1",
"contextMaxToken": 4000,
"quoteMaxToken": 2400,
"maxTemperature": 1,
"price": 2,
"defaultSystem": ""
}
],
"ExtractModels": [
"QAModels": [
{
"model": "gpt-3.5-turbo-16k",
"name": "GPT35-16k",
"maxToken": 16000,
"price": 0,
"functionCall": true,
"functionPrompt": ""
}
],
"QGModels": [
{
"model": "gpt-3.5-turbo",
"name": "GPT35-4K",
"maxToken": 4000,
"price": 0
}
],
"VectorModels": [
{
"model": "text-embedding-ada-002",
"name": "Embedding-2",
"price": 0.2,
"defaultToken": 700,
"maxToken": 3000
"price": 0
}
]
}

0 comments on commit a0d9670

Please sign in to comment.