Pijush2023 commited on
Commit
8a133ff
·
verified ·
1 Parent(s): 33c4049

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -4
app.py CHANGED
@@ -41,11 +41,17 @@ event type and description. Always say "It was my pleasure!" at the end of the a
41
  Question: {question}
42
  Helpful Answer:"""
43
 
44
- template2 = """You are an expert guide of Omaha, Nebraska's perennial events.Based on the current weather condition.
45
- With the context, memory, and message history provided, answer the question in as crisp as possible. Always include the time, date, and
46
- event type and description only apart from that don't give any other details.Always say "It was my pleasure!" at the end of the answer.
47
- If you don't know the answer, simply say, "Homie, I need to get more data for this," without making up an answer.
48
 
 
 
 
 
 
 
49
  {context}
50
  Question: {question}
51
  Helpful Answer:"""
 
41
  Question: {question}
42
  Helpful Answer:"""
43
 
44
+ # template2 = """You are an expert guide of Omaha, Nebraska's perennial events.Based on the current weather condition.
45
+ # With the context, memory, and message history provided, answer the question in as crisp as possible. Always include the time, date, and
46
+ # event type and description only apart from that don't give any other details.Always say "It was my pleasure!" at the end of the answer.
47
+ # If you don't know the answer, simply say, "Homie, I need to get more data for this," without making up an answer.
48
 
49
+
50
+
51
+
52
+
53
+ template2 = """As an expert guide of Omaha, Nebraska's perennial events, provide a concise description based on the current weather conditions.
54
+ Include only the event name, time, date, and a brief description. End every response with "It was my pleasure!" If you don't have the information, say, "Homie, I need to get more data for this," without making up an answer
55
  {context}
56
  Question: {question}
57
  Helpful Answer:"""