Spaces:
Running
Running
ahmadgenus
commited on
Commit
·
a1a35ae
1
Parent(s):
c311c48
new_chatbot_minor_chnages_2
Browse files- chatbot.py +1 -2
chatbot.py
CHANGED
@@ -174,11 +174,10 @@ memory = ConversationBufferMemory(memory_key="chat_history")
|
|
174 |
chat_prompt = ChatPromptTemplate.from_template("""
|
175 |
Chat History:
|
176 |
{chat_history}
|
177 |
-
|
178 |
Context from Reddit and User Question:
|
179 |
{input}
|
180 |
|
181 |
-
Act as a Professional Assistant as an incremental chat agent. Provide reasoning and answer clearly based on the context and chat history. Your response should be valid, concise, and relevant.
|
182 |
""")
|
183 |
|
184 |
chat_chain = LLMChain(
|
|
|
174 |
chat_prompt = ChatPromptTemplate.from_template("""
|
175 |
Chat History:
|
176 |
{chat_history}
|
|
|
177 |
Context from Reddit and User Question:
|
178 |
{input}
|
179 |
|
180 |
+
Act as a Professional Assistant as an incremental chat agent. Provide reasoning and answer clearly based on the context and chat history. Your response should be valid, concise, Attractive and relevant.
|
181 |
""")
|
182 |
|
183 |
chat_chain = LLMChain(
|