bstraehle commited on
Commit
420a318
·
verified ·
1 Parent(s): 5263e94

Update agent_llamaindex.py

Browse files
Files changed (1) hide show
  1. agent_llamaindex.py +1 -1
agent_llamaindex.py CHANGED
@@ -7,7 +7,7 @@ from llama_index.core.tools import FunctionTool
7
  from llama_index.tools.weather import OpenWeatherMapToolSpec
8
 
9
  from llama_index.core.tools.tool_spec.base import BaseToolSpec
10
- from llama_index.tools.weather import OpenWeatherMapToolSpec
11
 
12
  def today_tool(text: str) -> str:
13
  """Returns today's date. Use this for any questions related to knowing today's date.
 
7
  from llama_index.tools.weather import OpenWeatherMapToolSpec
8
 
9
  from llama_index.core.tools.tool_spec.base import BaseToolSpec
10
+ from llama_index.integrations.tools.weather import OpenWeatherMapToolSpec
11
 
12
  def today_tool(text: str) -> str:
13
  """Returns today's date. Use this for any questions related to knowing today's date.