8000 Removed the "USER:" in the question, reducing the accuracy of the search by Sol-Ghf · Pull Request #7852 · infiniflow/ragflow · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Removed the "USER:" in the question, reducing the accuracy of the search #7852

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 27, 2025

Conversation

Sol-Ghf
Copy link
Contributor
@Sol-Ghf Sol-Ghf commented May 26, 2025

What problem does this PR solve?

85784793b445e081ea1c7524b568123f
77e59b94b621b3b6fdda654104f01d1a
73e91d72114b905cfa39e804cd3240a3
45c8a52ecf5e1603354c4d0a814ecf06
user will be used as a common keyword to participate in the search, which may lead to the recall of irrelevant content and reduce the search accuracy.
If user appears frequently in your knowledge base, it may affect relevance sorting and even recall some irrelevant FAQs or documents.

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

Sol-Ghf and others added 6 commits May 22, 2025 16:12
去除大模型生成sql里的反引号,导致执行报错
对于提问文本添加:
1. 纯英文和中文间加空格(good想法——>good 想法)
2. 英文加数字和中文间加空格(iPhone 5s价格——> iphone 5s 价格)
3. 中文后的英文和英文数字间加空格(蓝色的5s——> 蓝色的 5s;美丽的world——>美丽的 world)
检索时,问题里携带USER,会产生些许影响
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label May 26, 2025
@KevinHuSh KevinHuSh added the ci Continue Integration label May 27, 2025
@KevinHuSh KevinHuSh merged commit bc578e1 into infiniflow:main May 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continue Integration size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0