Parcourir la source

调整大模型问答参数

kobe6258 il y a 4 semaines
Parent
commit
5b05050b7f

Fichier diff supprimé car celui-ci est trop grand
+ 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,

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff