mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-08 22:22:17 +02:00
fix(backend): read page_content on extension document ingestion
This commit is contained in:
parent
479ca3bbee
commit
cb22cc4bfc
1 changed files with 2 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ async def add_extension_received_document(
|
|||
),
|
||||
(
|
||||
"CONTENT",
|
||||
["FORMAT: markdown", "TEXT_START", content.pageContent, "TEXT_END"],
|
||||
["FORMAT: markdown", "TEXT_START", content.page_content, "TEXT_END"],
|
||||
),
|
||||
]
|
||||
|
||||
|
|
@ -126,7 +126,7 @@ async def add_extension_received_document(
|
|||
summary_embedding = embed_text(summary_content)
|
||||
|
||||
# Process chunks
|
||||
chunks = await create_document_chunks(content.pageContent)
|
||||
chunks = await create_document_chunks(content.page_content)
|
||||
|
||||
# Update or create document
|
||||
if existing_document:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue