mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-13 00:39:04 +08:00
fix: create child chunk (#18209)
Co-authored-by: devxing <devxing@gmail.com>
This commit is contained in:
parent
cac0d3c33e
commit
e912928cce
@ -2025,7 +2025,7 @@ class SegmentService:
|
||||
dataset_id=dataset.id,
|
||||
document_id=document.id,
|
||||
segment_id=segment.id,
|
||||
position=max_position + 1,
|
||||
position=max_position + 1 if max_position else 1,
|
||||
index_node_id=index_node_id,
|
||||
index_node_hash=index_node_hash,
|
||||
content=content,
|
||||
|
Loading…
x
Reference in New Issue
Block a user