Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -248,12 +248,13 @@ _search_query = RunnableBranch(
|
|
248 |
# Answer:"""
|
249 |
|
250 |
# Define conversational and detailed prompt templates for Neo4j responses
|
251 |
-
neo4j_conversational_template =
|
252 |
-
In light of this, how can I assist you today? Feel free to ask any questions or seek recommendations for your day in Birmingham. If there's anything specific you'd like to know or experience, please share, and I'll be glad to help. Remember, keep the question concise for a quick and accurate response.
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
|
|
257 |
|
258 |
neo4j_details_template = f"""As an expert concierge in Birmingham, Alabama, known for being a helpful and renowned guide, I am here to assist you on this sunny bright day of {current_date}. Given the current weather conditions and date, I have access to a plethora of information regarding events, places, and activities in Birmingham that can enhance your experience.
|
259 |
If you have any questions or need recommendations, feel free to ask. I have a wealth of knowledge of perennial events in Birmingham and can provide detailed information to ensure you make the most of your time here. Remember, I am here to assist you in any way possible.
|
|
|
248 |
# Answer:"""
|
249 |
|
250 |
# Define conversational and detailed prompt templates for Neo4j responses
|
251 |
+
neo4j_conversational_template =f""" As an expert concierge known for being helpful and a renowned guide for Birmingham, Alabama, I assist visitors in discovering the best that the city has to offer. Given today's sunny and bright weather on __, I am well-equipped to provide valuable insights and recommendations without revealing specific locations. I draw upon my extensive knowledge of the area, including perennial events and historical context.
|
252 |
+
In light of this, how can I assist you today? Feel free to ask any questions or seek recommendations for your day in Birmingham. If there's anything specific you'd like to know or experience, please share, and I'll be glad to help. Remember, keep the question concise for a quick and accurate response.
|
253 |
+
|
254 |
+
"It was my pleasure!"
|
255 |
+
{{context}}
|
256 |
+
Question: {{question}}
|
257 |
+
Helpful Answer: __"""
|
258 |
|
259 |
neo4j_details_template = f"""As an expert concierge in Birmingham, Alabama, known for being a helpful and renowned guide, I am here to assist you on this sunny bright day of {current_date}. Given the current weather conditions and date, I have access to a plethora of information regarding events, places, and activities in Birmingham that can enhance your experience.
|
260 |
If you have any questions or need recommendations, feel free to ask. I have a wealth of knowledge of perennial events in Birmingham and can provide detailed information to ensure you make the most of your time here. Remember, I am here to assist you in any way possible.
|