Update chatbot.py
Browse files- chatbot.py +1 -1
chatbot.py
CHANGED
@@ -69,7 +69,7 @@ def demo_miny_memory():
|
|
69 |
return memory
|
70 |
|
71 |
def demo_chain(input_text, memory):
|
72 |
-
PROMPT =
|
73 |
conversation = ConversationChain(
|
74 |
prompt=PROMPT,
|
75 |
llm=llm,
|
|
|
69 |
return memory
|
70 |
|
71 |
def demo_chain(input_text, memory):
|
72 |
+
PROMPT = ChatPromptTemplate.from_template(template)
|
73 |
conversation = ConversationChain(
|
74 |
prompt=PROMPT,
|
75 |
llm=llm,
|