Explorar o código

修改会话的温度

kobe6258 hai 1 mes
pai
achega
0a3ef9537d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      utils/llm/eta_llm/eta_llm_client.go

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

@@ -124,7 +124,7 @@ func (ds *ETALLMClient) KnowledgeBaseChat(query string, KnowledgeBaseName string
 		ScoreThreshold: 0.5,
 		Stream:         true,
 		Model:          ds.LlmModel,
-		Temperature:    0.7,
+		Temperature:    0.1,
 		MaxTokens:      0,
 		PromptName:     DEFALUT_PROMPT_NAME,
 		ReturnDirect:   false,