Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -210,7 +210,7 @@ def main():
|
|
210 |
with st.expander("🔍 Retrieved Chunks"):
|
211 |
context_docs = retriever.get_relevant_documents(full_query)
|
212 |
for doc in context_docs:
|
213 |
-
st.markdown(f"**Chunk ID:** {doc.metadata.get('chunk_id', 'unknown')}")
|
214 |
st.markdown(doc.page_content[:700] + "...")
|
215 |
st.markdown("---")
|
216 |
|
|
|
210 |
with st.expander("🔍 Retrieved Chunks"):
|
211 |
context_docs = retriever.get_relevant_documents(full_query)
|
212 |
for doc in context_docs:
|
213 |
+
st.markdown(f"**Chunk ID:** {doc.metadata.get('chunk_id', 'unknown','title')}")
|
214 |
st.markdown(doc.page_content[:700] + "...")
|
215 |
st.markdown("---")
|
216 |
|