mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-13 02:48:58 +08:00
Fix chunk available issue (#3877)
### What problem does this PR solve? Close #3873 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
56f473b680
commit
8037dc7b76
@ -70,7 +70,7 @@ def list_chunk():
|
||||
"important_kwd": sres.field[id].get("important_kwd", []),
|
||||
"question_kwd": sres.field[id].get("question_kwd", []),
|
||||
"image_id": sres.field[id].get("img_id", ""),
|
||||
"available_int": sres.field[id].get("available_int", 1),
|
||||
"available_int": int(sres.field[id].get("available_int", 1)),
|
||||
"positions": json.loads(sres.field[id].get("position_list", "[]")),
|
||||
}
|
||||
assert isinstance(d["positions"], list)
|
||||
|
Loading…
x
Reference in New Issue
Block a user