### What problem does this PR solve?

#7623

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Kevin Hu 2025-05-15 11:03:05 +08:00 committed by GitHub
parent dd0fd13ea8
commit d49025b501
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,6 +99,7 @@ def get():
"dataset_id": get_value(ck, "kb_id", "dataset_id"), "dataset_id": get_value(ck, "kb_id", "dataset_id"),
"image_id": get_value(ck, "image_id", "img_id"), "image_id": get_value(ck, "image_id", "img_id"),
"positions": get_value(ck, "positions", "position_int"), "positions": get_value(ck, "positions", "position_int"),
"doc_type": get_value(ck, "doc_type", "doc_type_kwd"),
} }
for ck in ref.get("chunks", []) for ck in ref.get("chunks", [])
] ]