Spaces:
Running
Running
luanpoppe
commited on
Commit
·
4f6fe00
1
Parent(s):
99fb68e
fix: gemini temperature
Browse files- .gitignore +3 -1
- _utils/langchain_utils/LLM_class.py +1 -1
.gitignore
CHANGED
@@ -172,4 +172,6 @@ cython_debug/
|
|
172 |
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
173 |
#.idea/
|
174 |
|
175 |
-
# End of https://www.toptal.com/developers/gitignore/api/django
|
|
|
|
|
|
172 |
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
173 |
#.idea/
|
174 |
|
175 |
+
# End of https://www.toptal.com/developers/gitignore/api/django
|
176 |
+
|
177 |
+
vella_gcp_luan_credentials.json
|
_utils/langchain_utils/LLM_class.py
CHANGED
@@ -38,7 +38,7 @@ class LLM:
|
|
38 |
return ChatGoogleGenerativeAI(
|
39 |
api_key=SecretStr(google_api_key),
|
40 |
model=model,
|
41 |
-
temperature=0,
|
42 |
max_tokens=None,
|
43 |
timeout=None,
|
44 |
max_retries=2,
|
|
|
38 |
return ChatGoogleGenerativeAI(
|
39 |
api_key=SecretStr(google_api_key),
|
40 |
model=model,
|
41 |
+
temperature=0.4,
|
42 |
max_tokens=None,
|
43 |
timeout=None,
|
44 |
max_retries=2,
|