fix: change default temperature

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
yihong0618 2023-12-15 15:09:05 +08:00
parent 93ace3f53a
commit 828530cc10

View File

@ -9,7 +9,7 @@ GOOGLE_GEMINI_KEY = environ.get("GOOGLE_GEMINI_KEY")
genai.configure(api_key=GOOGLE_GEMINI_KEY)
generation_config = {
"temperature": 0.9,
"temperature": 0.7,
"top_p": 1,
"top_k": 1,
"max_output_tokens": 2048,