@@ -158,10 +158,10 @@ func (ds *ETALLMClient) FileChat(query string, KnowledgeId string, history []jso
Query: query,
KnowledgeId: KnowledgeId,
History: ChatHistory,
- TopK: 3,
- ScoreThreshold: 0.5,
+ TopK: 20,
+ ScoreThreshold: 1,
Stream: false,
- Temperature: 0.7,
+ Temperature: 0.3,
MaxTokens: 0,
PromptName: DEFALUT_PROMPT_NAME,
}