Spaces:
Running
Running
Marina Pliusnina
commited on
Commit
·
084159d
1
Parent(s):
843fee2
adding urls to context
Browse files
rag.py
CHANGED
@@ -64,6 +64,7 @@ class RAG:
|
|
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 |
|
|
|
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 |
+
full_context += doc[0].metadata["url"] + "\n\n"
|
68 |
|
69 |
return text_context, full_context
|
70 |
|