mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 00:23:17 +00:00
feat: remote sources have clickable links
This commit is contained in:
@@ -69,6 +69,11 @@ class ClassicRAG(BaseRetriever):
|
||||
else i.page_content
|
||||
),
|
||||
"text": i.page_content,
|
||||
"source": (
|
||||
i.metadata.get("source")
|
||||
if i.metadata.get("source")
|
||||
else "local"
|
||||
),
|
||||
}
|
||||
for i in docs_temp
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user