fix: VectorStore can not be attached to EmbeddingAssemblerOperator bug (#2170)

This commit is contained in:
Aries-ckt
2024-12-02 20:56:23 +08:00
committed by GitHub
parent a14eeb56dd
commit 4fa60037dd
11 changed files with 121 additions and 66 deletions

View File

@@ -232,6 +232,7 @@ class PDFKnowledge(Knowledge):
"page": page,
"type": "excel",
"title": file_title,
"source": self.file_path,
}
page_documents.append(
Document(
@@ -244,6 +245,7 @@ class PDFKnowledge(Knowledge):
"page": page,
"type": "text",
"title": file_title,
"source": self.file_path,
}
page_documents.append(
Document(content=inside_content, metadata=content_metadata)