Spaces:
Sleeping
Sleeping
Marina Pliusnina
commited on
Commit
•
843fee2
1
Parent(s):
64b7ff4
reverse to safety
Browse files
rag.py
CHANGED
@@ -63,7 +63,7 @@ class RAG:
|
|
63 |
for doc in docs:
|
64 |
text_context += doc[0].page_content
|
65 |
full_context += doc[0].page_content + "\n"
|
66 |
-
full_context += doc[0].metadata["
|
67 |
|
68 |
return text_context, full_context
|
69 |
|
|
|
63 |
for doc in docs:
|
64 |
text_context += doc[0].page_content
|
65 |
full_context += doc[0].page_content + "\n"
|
66 |
+
full_context += doc[0].metadata["Títol de la norma"] + "\n\n"
|
67 |
|
68 |
return text_context, full_context
|
69 |
|