Spaces:
Sleeping
Sleeping
Update src/visualization.py
Browse files- src/visualization.py +2 -2
src/visualization.py
CHANGED
|
@@ -131,9 +131,9 @@ def display_reasoning_trace(query: str, retrieved_docs: List[Dict], answer: str,
|
|
| 131 |
|
| 132 |
# Display retrieved document details in expandable sections
|
| 133 |
for source, docs in docs_by_source.items():
|
| 134 |
-
st.subheader(f"{
|
| 135 |
|
| 136 |
-
for
|
| 137 |
# Add separator between documents
|
| 138 |
if i > 0:
|
| 139 |
st.markdown("---")
|
|
|
|
| 131 |
|
| 132 |
# Display retrieved document details in expandable sections
|
| 133 |
for source, docs in docs_by_source.items():
|
| 134 |
+
st.subheader(f"{source} ({len(docs)})")
|
| 135 |
|
| 136 |
+
for i, doc in enumerate(docs):
|
| 137 |
# Add separator between documents
|
| 138 |
if i > 0:
|
| 139 |
st.markdown("---")
|