bstraehle commited on
Commit
f097df2
·
verified ·
1 Parent(s): 85ca202

Update agent_llamaindex.py

Browse files
Files changed (1) hide show
  1. agent_llamaindex.py +2 -2
agent_llamaindex.py CHANGED
@@ -2,8 +2,8 @@ import os
2
 
3
  from datetime import date
4
  #from llama_hub.tools.weather import OpenWeatherMapToolSpec
5
- from llama_index.agent import OpenAIAgent
6
- from llama_index.llms import OpenAI
7
  from llama_index.core.tools import FunctionTool
8
 
9
  def today_tool(text: str) -> str:
 
2
 
3
  from datetime import date
4
  #from llama_hub.tools.weather import OpenWeatherMapToolSpec
5
+ from llama_index.agent.openai import OpenAIAgent
6
+ from llama_index.llms.openai import OpenAI
7
  from llama_index.core.tools import FunctionTool
8
 
9
  def today_tool(text: str) -> str: