fix: child sparator not escape

pull/12097/head
Joel 1 year ago
parent c22c010210
commit 6ea333fb44

@ -230,7 +230,7 @@ const StepTwo = ({
}, },
parent_mode: parentChildConfig.chunkForContext, parent_mode: parentChildConfig.chunkForContext,
subchunk_segmentation: { subchunk_segmentation: {
separator: parentChildConfig.child.delimiter, separator: unescape(parentChildConfig.child.delimiter),
max_tokens: parentChildConfig.child.maxLength, max_tokens: parentChildConfig.child.maxLength,
}, },
}, // api will check this. It will be removed after api refactored. }, // api will check this. It will be removed after api refactored.

Loading…
Cancel
Save