Skip to content

feat: add SelectFiles and add KnowledgeTesting - #60

Merged
KevinHuSh merged 3 commits into
infiniflow:mainfrom
cike8899:main
Feb 8, 2024
Merged

KevinHuSh merged 3 commits into
infiniflow:mainfrom
cike8899:main

Conversation

@cike8899

@cike8899 cike8899 commented Feb 8, 2024

Copy link
Copy Markdown
Contributor

feat: add KnowledgeTesting
feat: add SelectFiles

@KevinHuSh
KevinHuSh merged commit bf0305a into infiniflow:main Feb 8, 2024
yingfeng pushed a commit that referenced this pull request Feb 21, 2024
* feat: add KnowledgeTesting

* feat: add SelectFiles
jay77721 added a commit to jay77721/ragflow that referenced this pull request Sep 16, 2026
The v0.1.9 -> v0.1.11 bump had no test behind it. Nothing in the suite
fails if the pin is reverted, and the defect is easy to miss in normal
output: "<SEP>" silently becomes "SEP" instead of erroring.

Add a DOCX fixture built in-test with archive/zip -- no binary blob in
the repo -- whose run text carries XML character references, and assert
both output paths preserve them:

  &lt;SEP&gt; / &infiniflow#60;SEP&infiniflow#62; / &#x3C;SEP&#x3E;  ->  <SEP>
  A&amp;B                               ->  A&B
  it&apos;s                            ->  it's
  a&infiniflow#8212;b                            ->  a—b

Verified in both directions: on v0.1.9 all six cases fail on the json and
markdown paths ("<SEP>" -> "SEP", "A&B" -> "AB", ...); on the pinned
v0.1.11 all six pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
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.

2 participants