bstraehle commited on
Commit
dafac0b
1 Parent(s): 09909f3

Update agent_llamaindex.py

Browse files
Files changed (1) hide show
  1. 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["model_name"],
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"])