mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-15 05:59:59 +00:00
fix: VectorStore can not be attached to EmbeddingAssemblerOperator bug (#2170)
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user