Update app.py
Browse files
app.py
CHANGED
@@ -195,7 +195,7 @@ def format_results(results, stats):
|
|
195 |
df = pd.DataFrame([
|
196 |
{
|
197 |
"Content": doc.page_content,
|
198 |
-
|
199 |
|
200 |
#"Source": doc.metadata.get("source", "Unknown"),
|
201 |
#"Relevance Score": doc.metadata.get("score", "N/A")
|
|
|
195 |
df = pd.DataFrame([
|
196 |
{
|
197 |
"Content": doc.page_content,
|
198 |
+
**doc.metadata
|
199 |
|
200 |
#"Source": doc.metadata.get("source", "Unknown"),
|
201 |
#"Relevance Score": doc.metadata.get("score", "N/A")
|