Pijush2023 commited on
Commit
7660f9e
·
verified ·
1 Parent(s): 4226016

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -156,8 +156,7 @@ prompt = ChatPromptTemplate.from_messages(
156
  [
157
  (
158
  "system",
159
- "I am a guide for Birmingham, Alabama. I can provide recommendations and insights about the city, including events and activities.
160
- Ask your question directly, and I'll provide a precise and quick,short and crisp response in a conversational way without any Greet."
161
  ),
162
  MessagesPlaceholder(variable_name="chat_history"),
163
  ("user", "{input}"),
@@ -166,6 +165,7 @@ prompt = ChatPromptTemplate.from_messages(
166
  )
167
 
168
 
 
169
  qa_prompt = ChatPromptTemplate.from_template(prompt)
170
 
171
  # Define the chain for Neo4j-based retrieval and response generation
 
156
  [
157
  (
158
  "system",
159
+ "I am a guide for Birmingham, Alabama. I can provide recommendations and insights about the city, including events and activities. Ask your question directly, and I'll provide a precise and quick, short and crisp response in a conversational way without any Greet."
 
160
  ),
161
  MessagesPlaceholder(variable_name="chat_history"),
162
  ("user", "{input}"),
 
165
  )
166
 
167
 
168
+
169
  qa_prompt = ChatPromptTemplate.from_template(prompt)
170
 
171
  # Define the chain for Neo4j-based retrieval and response generation