Tesneem commited on
Commit
a067cdb
·
verified ·
1 Parent(s): 0fba843

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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