Skip to content

[Bug]: Delimiter setting not working as intended #4704

Open
@mwd102

Description

@mwd102

Is there an existing issue for the same bug?

  • I have checked the existing issues.

RAGFlow workspace code commit ID

na

RAGFlow image version

v0.15.1-180-g036f37a6 full

Other environment information

docker windows gpu compose file, no changes

Actual behavior

Using mutli-char delimiter is not working as intended. Setting word in backticks does not lead to a chunk on that word. A quick glance at the codebase suggests the way the regex is built may not be handling string delimiters properly (treating them as a collection of individual chars instead)

Expected behavior

text to delimit on a given string match and be visible as chunks

Steps to reproduce

create basic collection
use general parser
update the delimiter section to have `word` as sole value
upload text or md document containing the desired delimiter at intervals
process document in ui and view chunks
note they have not delimited on provided word

Additional information

No response

Metadata

Metadata

Labels

🐞 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions