Spaces:
Runtime error
Runtime error
Update basic_agent.py
Browse files- basic_agent.py +6 -1
basic_agent.py
CHANGED
|
@@ -1,4 +1,9 @@
|
|
| 1 |
-
from tools import
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
class BasicAgent:
|
| 4 |
def __call__(self, question: str) -> str:
|
|
|
|
| 1 |
+
from tools import (
|
| 2 |
+
all_tools,
|
| 3 |
+
analyze_youtube_video,
|
| 4 |
+
extract_number_from_text,
|
| 5 |
+
search_wikipedia,
|
| 6 |
+
)
|
| 7 |
|
| 8 |
class BasicAgent:
|
| 9 |
def __call__(self, question: str) -> str:
|