Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -135,9 +135,11 @@ def process_and_query(question):
|
|
135 |
provided context just say, "answer is not available in the context",
|
136 |
don't provide the wrong answer
|
137 |
|
138 |
-
Context
|
|
|
139 |
|
140 |
-
Question:
|
|
|
141 |
|
142 |
Answer:
|
143 |
--------------------------------------------------
|
@@ -163,9 +165,11 @@ def process_and_query(question):
|
|
163 |
19. Resolve any vague or conflicting information in the context.
|
164 |
20. Cite case studies or examples that demonstrate the concepts discussed in the context.
|
165 |
--------------------------------------------------
|
166 |
-
Context
|
|
|
167 |
|
168 |
-
Question
|
|
|
169 |
|
170 |
Answer:
|
171 |
"""
|
|
|
135 |
provided context just say, "answer is not available in the context",
|
136 |
don't provide the wrong answer
|
137 |
|
138 |
+
Context:
|
139 |
+
{context}
|
140 |
|
141 |
+
Question:
|
142 |
+
{question}
|
143 |
|
144 |
Answer:
|
145 |
--------------------------------------------------
|
|
|
165 |
19. Resolve any vague or conflicting information in the context.
|
166 |
20. Cite case studies or examples that demonstrate the concepts discussed in the context.
|
167 |
--------------------------------------------------
|
168 |
+
Context:
|
169 |
+
{context}
|
170 |
|
171 |
+
Question:
|
172 |
+
{question}
|
173 |
|
174 |
Answer:
|
175 |
"""
|