File tree Expand file tree Collapse file tree
docs-website/reference/haystack-api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -603,6 +603,7 @@ Split documents based on embedding similarity.
603603- ` documents ` : List of documents with the split texts. Each document includes:
604604 - A metadata field ` source_id ` to track the original document.
605605 - A metadata field ` split_id ` to track the split number.
606+ - A metadata field ` split_idx_start ` with the character offset of the chunk in the original document.
606607 - A metadata field ` page_number ` to track the original page number.
607608 - All other metadata copied from the original document.
608609
@@ -632,6 +633,7 @@ This is the asynchronous version of the `run` method with the same parameters an
632633- ` documents ` : List of documents with the split texts. Each document includes:
633634 - A metadata field ` source_id ` to track the original document.
634635 - A metadata field ` split_id ` to track the split number.
636+ - A metadata field ` split_idx_start ` with the character offset of the chunk in the original document.
635637 - A metadata field ` page_number ` to track the original page number.
636638 - All other metadata copied from the original document.
637639
You can’t perform that action at this time.
0 commit comments