Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -175,7 +175,9 @@ def answer_question_with_metadata(question, show_metadata=True, use_metadata_in_
|
|
| 175 |
|
| 176 |
# Analyze metadata
|
| 177 |
metadata_stats = analyze_metadata(retrieved_docs)
|
| 178 |
-
|
|
|
|
|
|
|
| 179 |
# Build context with or without metadata
|
| 180 |
context_parts = []
|
| 181 |
for i, d in enumerate(retrieved_docs[:6]): # Limit to 6 for context
|
|
|
|
| 175 |
|
| 176 |
# Analyze metadata
|
| 177 |
metadata_stats = analyze_metadata(retrieved_docs)
|
| 178 |
+
# All Reviews
|
| 179 |
+
# metadata_stats = analyze_metadata(chunks)
|
| 180 |
+
|
| 181 |
# Build context with or without metadata
|
| 182 |
context_parts = []
|
| 183 |
for i, d in enumerate(retrieved_docs[:6]): # Limit to 6 for context
|