mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2025-04-29 00:27:09 +08:00
fix: change default temperature
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
parent
93ace3f53a
commit
828530cc10
@ -9,7 +9,7 @@ GOOGLE_GEMINI_KEY = environ.get("GOOGLE_GEMINI_KEY")
|
|||||||
|
|
||||||
genai.configure(api_key=GOOGLE_GEMINI_KEY)
|
genai.configure(api_key=GOOGLE_GEMINI_KEY)
|
||||||
generation_config = {
|
generation_config = {
|
||||||
"temperature": 0.9,
|
"temperature": 0.7,
|
||||||
"top_p": 1,
|
"top_p": 1,
|
||||||
"top_k": 1,
|
"top_k": 1,
|
||||||
"max_output_tokens": 2048,
|
"max_output_tokens": 2048,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user