Skip to content

Use default delims when specified incorrectly#93

Merged
jnu merged 2 commits into
mainfrom
delim
May 13, 2025
Merged

Use default delims when specified incorrectly#93
jnu merged 2 commits into
mainfrom
delim

Conversation

@jnu

@jnu jnu commented May 13, 2025

Copy link
Copy Markdown
Contributor

There's an edge case in the chunk configuration where the delimiter for a RedactedText input may be specified as an empty string. There may be other cases where this happens, I'm not sure yet. In these cases it doesn't really matter what the delimiter is, so fill in a default in the segmenter instead of throwing a misleading error.

@jnu jnu merged commit 85e9d14 into main May 13, 2025
1 check passed
@jnu jnu deleted the delim branch May 13, 2025 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant