patti-j commited on
Commit
233b22e
1 Parent(s): f84b04d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ from langchain.agents import initialize_agent, AgentType
14
 
15
  # initialize OpenAI chatbot agent
16
  llm = ChatOpenAI(temperature=0)
17
- agent = initialize_agent(tools, llm, AgentType.CHAT_CONVERSATIONAL_REACT_DESCRIPTION)
18
 
19
  # define function to get chatbot response
20
  def get_response(text):
 
14
 
15
  # initialize OpenAI chatbot agent
16
  llm = ChatOpenAI(temperature=0)
17
+ agent = initialize_agent(llm, AgentType.CHAT_CONVERSATIONAL_REACT_DESCRIPTION)
18
 
19
  # define function to get chatbot response
20
  def get_response(text):