Spaces:
Sleeping
Sleeping
Update agent_llamaindex.py
Browse files- agent_llamaindex.py +1 -1
agent_llamaindex.py
CHANGED
@@ -14,7 +14,7 @@ def date_tool(text: str) -> str:
|
|
14 |
|
15 |
def agent_llamaindex(config, prompt):
|
16 |
llm = OpenAI(
|
17 |
-
model = config["
|
18 |
temperature = config["temperature"])
|
19 |
|
20 |
tool_spec = OpenWeatherMapToolSpec(key = os.environ["OPENWEATHERMAP_API_KEY"])
|
|
|
14 |
|
15 |
def agent_llamaindex(config, prompt):
|
16 |
llm = OpenAI(
|
17 |
+
model = config["model"],
|
18 |
temperature = config["temperature"])
|
19 |
|
20 |
tool_spec = OpenWeatherMapToolSpec(key = os.environ["OPENWEATHERMAP_API_KEY"])
|