Update chatbot.py
Browse files- 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,
|