KvrParaskevi commited on
Commit
8dd7c64
·
verified ·
1 Parent(s): ad3d99f

Update chatbot.py

Browse files
Files changed (1) hide show
  1. chatbot.py +1 -0
chatbot.py CHANGED
@@ -65,6 +65,7 @@ def demo_miny_memory():
65
  return memory
66
 
67
  def demo_chain(input_text, memory):
 
68
  conversation = ConversationChain(
69
  prompt=PROMPT,
70
  llm=llm,
 
65
  return memory
66
 
67
  def demo_chain(input_text, memory):
68
+ PROMPT = PromptTemplate(input_variables=["history", "input"], template=template)
69
  conversation = ConversationChain(
70
  prompt=PROMPT,
71
  llm=llm,