Bladeren bron

调整大模型问答参数

kobe6258 4 weken geleden
bovenliggende
commit
5b05050b7f

File diff suppressed because it is too large
+ 0 - 0
static/imgs/ai/article/【东海首席】黑色金属专题报告新一轮钢铁供给侧改革能否全面开启.md


+ 1 - 1
utils/llm/eta_llm/eta_llm_client.go

@@ -159,7 +159,7 @@ func (ds *ETALLMClient) FileChat(query string, KnowledgeId string, history []jso
 		KnowledgeId:    KnowledgeId,
 		History:        ChatHistory,
 		TopK:           20,
-		ScoreThreshold: 1,
+		ScoreThreshold: 2,
 		Stream:         false,
 		Temperature:    0.3,
 		MaxTokens:      0,

Some files were not shown because too many files changed in this diff