mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-27 17:56:25 +02:00
fix: Streaming Dulplicate Sources & Delete Search Space UI
This commit is contained in:
parent
ca9614cd5e
commit
d804be5fb3
4 changed files with 76 additions and 75 deletions
|
|
@ -91,7 +91,7 @@ def format_document_for_citation(document: dict[str, Any]) -> str:
|
|||
"""Format a single document for citation in the standard XML format."""
|
||||
content = document.get("content", "")
|
||||
doc_info = document.get("document", {})
|
||||
document_id = doc_info.get("id", "")
|
||||
document_id = document.get("chunk_id", "")
|
||||
document_type = doc_info.get("document_type", "CRAWLED_URL")
|
||||
|
||||
return f"""<document>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue