diff --git a/projects/app/data/config.json b/projects/app/data/config.json index 97837f48f993..4f59d3105a48 100644 --- a/projects/app/data/config.json +++ b/projects/app/data/config.json @@ -2,81 +2,96 @@ "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 } ], @@ -84,9 +99,7 @@ { "model": "text-embedding-ada-002", "name": "Embedding-2", - "price": 0.2, - "defaultToken": 700, - "maxToken": 3000 + "price": 0 } ] }