Chan-Y commited on
Commit
27b1b52
1 Parent(s): 6d45118

Update ChatEngine.py

Browse files
Files changed (1) hide show
  1. ChatEngine.py +1 -1
ChatEngine.py CHANGED
@@ -38,7 +38,7 @@ class ChatEngine:
38
  logging.info("Created Chat History")
39
 
40
  logging.info("Asking LLM")
41
- response = llm.generate(chat_history, self.params)
42
 
43
  logging.info("Got Response from LLM, Returning")
44
  return response
 
38
  logging.info("Created Chat History")
39
 
40
  logging.info("Asking LLM")
41
+ response = llm.invoke(chat_history, self.params)
42
 
43
  logging.info("Got Response from LLM, Returning")
44
  return response