Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,11 +31,8 @@ class BasicAgent:
|
|
| 31 |
# self.agent = smart_agent()
|
| 32 |
# self.api_key = os.getenv("HF_TOKEN")
|
| 33 |
OpenAI_key = os.getenv("OPEN_AI_TOKEN")
|
| 34 |
-
self.llm = OpenAI(model="gpt-4o-mini", temperature=0.2, api_key=OpenAI_key)
|
| 35 |
-
|
| 36 |
-
# [wikipedia_search_tool, youtube_transcript_tool, youtube_transcript_snippet_tool, round_to_two_decimals_tool, text_inverter_tool, google_web_search_tool],
|
| 37 |
-
# llm=self.llm,
|
| 38 |
-
# )
|
| 39 |
self.system_prompt = (
|
| 40 |
"You are a helpful AI assistant completing GAIA benchmark tasks.\n"
|
| 41 |
"You MUST use the tools provided to answer the user's question. Do not answer from your own knowledge.\n"
|
|
|
|
| 31 |
# self.agent = smart_agent()
|
| 32 |
# self.api_key = os.getenv("HF_TOKEN")
|
| 33 |
OpenAI_key = os.getenv("OPEN_AI_TOKEN")
|
| 34 |
+
#self.llm = OpenAI(model="gpt-4o-mini", temperature=0.2, api_key=OpenAI_key)
|
| 35 |
+
self.llm = OpenAI(model="gpt-4o", temperature=0.1, api_key=OpenAI_key)
|
|
|
|
|
|
|
|
|
|
| 36 |
self.system_prompt = (
|
| 37 |
"You are a helpful AI assistant completing GAIA benchmark tasks.\n"
|
| 38 |
"You MUST use the tools provided to answer the user's question. Do not answer from your own knowledge.\n"
|