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,
subchunk_segmentation: {
separator: parentChildConfig.child.delimiter,
separator: unescape(parentChildConfig.child.delimiter),
max_tokens: parentChildConfig.child.maxLength,
},
}, // api will check this. It will be removed after api refactored.

Loading…
Cancel
Save