Spaces:
Running
Running
Update agent_llamaindex.py
Browse files- 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:
|