Update agent.py
Browse files
agent.py
CHANGED
@@ -90,23 +90,8 @@ llm = OpenAI(model="gpt-4")
|
|
90 |
agent = FunctionCallingAgent.from_tools(
|
91 |
tools=TOOLS,
|
92 |
llm=llm,
|
93 |
-
system_prompt="""
|
94 |
-
|
95 |
-
|
96 |
-
You have access to the following tools:
|
97 |
-
- Wikipedia search for factual lookups
|
98 |
-
- Python runner for math, logic, or text analysis
|
99 |
-
- YouTube transcript fetcher (via URL)
|
100 |
-
- Audio transcriber (Whisper, MP3)
|
101 |
-
- Excel food sales analyzer
|
102 |
-
|
103 |
-
Rules:
|
104 |
-
1. Always try to use a tool if relevant.
|
105 |
-
2. Return ONLY the final answer in the requested format.
|
106 |
-
3. Do not guess. If a tool fails, say \"Tool not available\".
|
107 |
-
4. Follow formats strictly: comma-separated lists, numeric values, chess notation, names only, etc.
|
108 |
-
5. Avoid all explanation unless requested.
|
109 |
-
"""
|
110 |
|
111 |
system_prompt="""
|
112 |
You are a highly capable AI agent taking the GAIA benchmark test.
|
|
|
90 |
agent = FunctionCallingAgent.from_tools(
|
91 |
tools=TOOLS,
|
92 |
llm=llm,
|
93 |
+
system_prompt=""""""
|
94 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
|
96 |
system_prompt="""
|
97 |
You are a highly capable AI agent taking the GAIA benchmark test.
|