Spaces:
Running
Running
Update src/app.py
Browse files- src/app.py +1 -0
src/app.py
CHANGED
|
@@ -314,6 +314,7 @@ with tab2:
|
|
| 314 |
"1. If the answer is present in the Context, provide it clearly. Do NOT add any disclaimers about missing information if you found the answer.\n"
|
| 315 |
"2. If the answer is NOT present in the Context, return ONLY this exact phrase: 'I cannot find that information in the provided documents.'\n\n"
|
| 316 |
f"### CONTEXT:\n{context_text}"
|
|
|
|
| 317 |
st.success(f"Found {len(retrieved_docs)} relevant documents.")
|
| 318 |
with st.expander("View Context Used"):
|
| 319 |
st.text(context_text)
|
|
|
|
| 314 |
"1. If the answer is present in the Context, provide it clearly. Do NOT add any disclaimers about missing information if you found the answer.\n"
|
| 315 |
"2. If the answer is NOT present in the Context, return ONLY this exact phrase: 'I cannot find that information in the provided documents.'\n\n"
|
| 316 |
f"### CONTEXT:\n{context_text}"
|
| 317 |
+
)
|
| 318 |
st.success(f"Found {len(retrieved_docs)} relevant documents.")
|
| 319 |
with st.expander("View Context Used"):
|
| 320 |
st.text(context_text)
|