yoda1976 commited on
Commit
811c53c
·
1 Parent(s): 56a0866

made changes in tools

Browse files
Files changed (1) hide show
  1. tools.py +1 -1
tools.py CHANGED
@@ -43,7 +43,7 @@ def web_search(query: str) -> str:
43
  )
44
  return context if context else "No results found."
45
 
46
- llm = ChatOpenAI(model = "gpt-4")
47
  tools = [add, subtract, divide, web_search]
48
  llm_with_tools = llm.bind_tools(tools, parallel_tool_calls = False)
49
 
 
43
  )
44
  return context if context else "No results found."
45
 
46
+ llm = ChatOpenAI(model = "gpt-3.5-turbo")
47
  tools = [add, subtract, divide, web_search]
48
  llm_with_tools = llm.bind_tools(tools, parallel_tool_calls = False)
49