mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Edit chunk shall update instead of insert it (#3709)
### What problem does this PR solve? Edit chunk shall update instead of insert it. Close #3679 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -419,7 +419,7 @@ class InfinityConnection(DocStoreConnection):
|
||||
v = list(v)
|
||||
elif fieldnm == "important_kwd":
|
||||
assert isinstance(v, str)
|
||||
v = v.split(" ")
|
||||
v = v.split()
|
||||
else:
|
||||
if not isinstance(v, str):
|
||||
v = str(v)
|
||||
|
||||
Reference in New Issue
Block a user