This commit is contained in:
archer
2023-06-14 14:33:26 +08:00
parent 85e6a0f38d
commit 8036ed6143
3 changed files with 7 additions and 7 deletions

View File

@@ -29,14 +29,14 @@ const fileExtension = '.txt,.doc,.docx,.pdf,.md';
const modeMap = {
[TrainingModeEnum.qa]: {
maxLen: 9000,
maxLen: 8000,
slideLen: 3000,
price: ChatModelMap[OpenAiChatEnum.GPT35].price,
isPrompt: true
},
[TrainingModeEnum.index]: {
maxLen: 2000,
slideLen: 600,
maxLen: 1400,
slideLen: 700,
price: embeddingPrice,
isPrompt: false
}