Skip to content
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

[Bug]: When I only sent "bom", I found the prompt was modified to: You are a Database Administrator. You need to check the fields of the following tables based on the user's list of questions and write the SQL corresponding to the last question. #6230

Open
4 tasks done
Simpler-Dz opened this issue Mar 18, 2025 · 5 comments

Comments

@Simpler-Dz
Copy link

Simpler-Dz commented Mar 18, 2025

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

RAGFlow workspace code commit ID

448fa1c

RAGFlow image version

v0.16.0

Other environment information

Actual behavior

bug

Expected behavior

No response

Steps to reproduce

After entering "bom" in the chat page and sending the message, I'm not sure what action was triggered, but the prompt changed, and the generated content is also incorrect.

Additional information

A knowledge base, using the Qwen2.5 model, has been added to the chat assistance interface.
No response

@KevinHuSh
Copy link
Collaborator

Is there any KB parsed via Table?

@yw2598
Copy link

yw2598 commented Mar 19, 2025

same issue, kb with table

@Simpler-Dz
Copy link
Author

Is there any KB parsed via Table?

Yes, some files are parsed using a table format

@KevinHuSh
Copy link
Collaborator

If any file parsed via Table, RAGFlow will transfer questions to SQL to retrieve.

@Simpler-Dz
Copy link
Author

If any file parsed via Table, RAGFlow will transfer questions to SQL to retrieve.

Why is it set up this way? I don't think this is a good default choice. When a file is parsed as a table, how can I prevent it from being automatically converted into an SQL query?

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

No branches or pull requests

3 participants