Spaces:
Sleeping
Sleeping
Update agent_llamaindex.py
Browse files- agent_llamaindex.py +1 -1
agent_llamaindex.py
CHANGED
@@ -4,7 +4,7 @@ from datetime import date
|
|
4 |
from llama_index.agent.openai import OpenAIAgent
|
5 |
from llama_index.llms.openai import OpenAI
|
6 |
from llama_index.core.tools import FunctionTool
|
7 |
-
from
|
8 |
|
9 |
def today_tool(text: str) -> str:
|
10 |
"""Returns today's date. Use this for any questions related to knowing today's date.
|
|
|
4 |
from llama_index.agent.openai import OpenAIAgent
|
5 |
from llama_index.llms.openai import OpenAI
|
6 |
from llama_index.core.tools import FunctionTool
|
7 |
+
from llama_index.tools.weather import OpenWeatherMapToolSpec
|
8 |
|
9 |
def today_tool(text: str) -> str:
|
10 |
"""Returns today's date. Use this for any questions related to knowing today's date.
|