mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-11-10 21:32:43 +08:00
fix(sdk): retain image IDs on chunks (#19505)
Fix SDK dropping image_id — Chunk now retains it (was AttributeError despite API returning it).
This commit is contained in:
1 parent
b8f0fc496f
commit
464e672ff6
2 files changed
+108
No files matched your search
@@ -29,6 +29,7 @@ class Chunk(Base):
|
||||
def __init__(self, rag, res_dict):
|
||||
self.id = ""
|
||||
self.content = ""
|
||||
self.image_id = ""
|
||||
self.important_keywords = []
|
||||
self.tag_kwd = []
|
||||
self.questions = []
|
||||
|
||||
Reference in new issue
Block a user