Spaces:
Sleeping
Sleeping
Update ragchain.py
Browse files- ragchain.py +1 -1
ragchain.py
CHANGED
@@ -80,7 +80,7 @@ class RAGChain:
|
|
80 |
metadata_str = ", ".join(f"{key}: {value}" for key, value in all_metadata.items())
|
81 |
print("\n")
|
82 |
print("------------------------------Beneath is retrieved doc------------------------------------------------")
|
83 |
-
print(metadata_str
|
84 |
formatted_docs.append(metadata_str)
|
85 |
print("\n")
|
86 |
formatted_docs.append("\n")
|
|
|
80 |
metadata_str = ", ".join(f"{key}: {value}" for key, value in all_metadata.items())
|
81 |
print("\n")
|
82 |
print("------------------------------Beneath is retrieved doc------------------------------------------------")
|
83 |
+
print(metadata_str)
|
84 |
formatted_docs.append(metadata_str)
|
85 |
print("\n")
|
86 |
formatted_docs.append("\n")
|