Spaces:
Sleeping
Sleeping
Alexandre Gazola
commited on
Commit
·
8b53f5d
1
Parent(s):
3387c38
downgrade do modelo
Browse files- constants.py +2 -2
- langchain_agent.py +1 -1
constants.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import os
|
2 |
|
3 |
-
MODEL = 'gemini-2.5-pro-preview-05-06'
|
4 |
-
|
5 |
# MODEL = 'gemini-2.0-flash-exp'
|
6 |
# MODEL = 'gemini-2.5-pro-exp-03-25'
|
7 |
|
|
|
1 |
import os
|
2 |
|
3 |
+
# MODEL = 'gemini-2.5-pro-preview-05-06'
|
4 |
+
MODEL = 'gemini-2.0-flash'
|
5 |
# MODEL = 'gemini-2.0-flash-exp'
|
6 |
# MODEL = 'gemini-2.5-pro-exp-03-25'
|
7 |
|
langchain_agent.py
CHANGED
@@ -20,7 +20,7 @@ class LangChainAgent:
|
|
20 |
llm = ChatGoogleGenerativeAI(
|
21 |
model=constants.MODEL,
|
22 |
api_key=constants.API_KEY,
|
23 |
-
temperature=0.
|
24 |
timeout=20)
|
25 |
|
26 |
tools = [
|
|
|
20 |
llm = ChatGoogleGenerativeAI(
|
21 |
model=constants.MODEL,
|
22 |
api_key=constants.API_KEY,
|
23 |
+
temperature=0.5,
|
24 |
timeout=20)
|
25 |
|
26 |
tools = [
|