Add support for import some Q&A text not need LLM to generate results
Self Checks
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [x] Please do not modify this template :) and fill in all the required fields.
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I need to import some Q&A text,not need LLM to generate results。I add code to support uploading qa files。 Q&A text format:
Q1: 只剩一个心脏了还能活吗?
A1: 能,人本来就只有一个心脏。
Q2: 爸爸再婚,我是不是就有了个新娘?
A2: 不是的,你有了一个继母。"新娘"是指新婚的女方,而你爸爸再婚,他的新婚妻子对你来说是继母。
Q3: 樟脑丸是我吃过最难吃的硬糖有奇怪的味道怎么还有人买
A3: 樟脑丸并不是硬糖,而是一种常见的驱虫药,不能食用。虽然它的味道可能不太好,但是由于其有效的驱虫效果,所以仍然有很多人会购买。
Resolves https://github.com/langgenius/dify/issues/4664 Resolves https://github.com/langgenius/dify/issues/6904 Resolves https://github.com/langgenius/dify/issues/7735 Resolves https://github.com/langgenius/dify/issues/7430 Resolves https://github.com/langgenius/dify/issues/10873
2. Additional context or comments
No response
3. Can you help us with this feature?
- [x] I am interested in contributing to this feature.
Isn't this just a Annotation Reply? Already have it.
Isn't this just a Annotation Reply? Already have it.这不就是 Annotation Reply 吗?已经拥有它。
The results you upload here will be generated by the LLM. I want to upload QA file not need LLM to generate results。
Isn't this just a Annotation Reply? Already have it.这不就是 Annotation Reply 吗?已经拥有它。
The results you upload here will be generated by the LLM. I want to upload QA file not need LLM to generate results。
No need to go through llm, just go through a vectorized model
@jiandanfeng Yes, but there are people who won't use it or find it troublesome. We want to be able to upload QA files directly.
Looking forward to great solution. This feature is indeed very necessary because according to the provided QA file, users can directly match Q-Q when asking questions, which is very beneficial for T2S scenarios. Based on similar questions, the corresponding SQL can be accurately matched。
Hi, @CN-P5. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.
Issue Summary:
- You proposed a feature to import Q&A text files without using a language model.
- @jiandanfeng questioned the necessity, suggesting a similar function exists.
- You clarified the proposal avoids language model dependency entirely.
- @riverhell supported the feature for its benefits in T2S scenarios.
Next Steps:
- Please let us know if this issue is still relevant to the latest version of the Dify repository by commenting here.
- If no updates are provided, the issue will be automatically closed in 15 days.
Thank you for your understanding and contribution!