Spaces:
Sleeping
Sleeping
arjunanand13
commited on
Commit
•
b9fd0ac
1
Parent(s):
4b691ed
Update app.py
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ def format_prompt(query):
|
|
137 |
I need you to answer my question and provide related information in a specific format.
|
138 |
|
139 |
Here's what I need:
|
140 |
-
1. A brief, general response to my question.
|
141 |
2. A JSON-formatted output containing:
|
142 |
- "question": The original question.
|
143 |
- "answer": The detailed answer.
|
@@ -147,6 +147,8 @@ def format_prompt(query):
|
|
147 |
|
148 |
Here's my question:
|
149 |
{query}
|
|
|
|
|
150 |
"""
|
151 |
return prompt
|
152 |
|
|
|
137 |
I need you to answer my question and provide related information in a specific format.
|
138 |
|
139 |
Here's what I need:
|
140 |
+
1. A brief, general response to my question based on related answers retrieved.
|
141 |
2. A JSON-formatted output containing:
|
142 |
- "question": The original question.
|
143 |
- "answer": The detailed answer.
|
|
|
147 |
|
148 |
Here's my question:
|
149 |
{query}
|
150 |
+
|
151 |
+
Do not produce any extra text other than required one
|
152 |
"""
|
153 |
return prompt
|
154 |
|