improve qa generate prompt (#3132)

Co-authored-by: jyong <jyong@dify.ai>
This commit is contained in:
Jyong 2024-04-07 15:21:11 +08:00 • committed by GitHub
commit 28b1c48235
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View file

@ -166,6 +166,7 @@ class LLMGenerator:
response = model_instance.invoke_llm(
prompt_messages=prompt_messages,
model_parameters={
'temperature': 0.01,
"max_tokens": 2000
},
stream=False