Add support for import some Q&A text not need LLM to generate results #7777

Closed
opened 2026-02-21 18:22:20 -05:00 by yindo · 6 comments
Owner

Originally created by @CN-P5 on GitHub (Jan 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).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • 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?

  • I am interested in contributing to this feature.
Originally created by @CN-P5 on GitHub (Jan 18, 2025). ### Self Checks - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [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.
yindo added the 💪 enhancement label 2026-02-21 18:22:20 -05:00
yindo closed this issue 2026-02-21 18:22:21 -05:00
Author
Owner

@jiandanfeng commented on GitHub (Jan 19, 2025):

Isn't this just a Annotation Reply? Already have it.

Image

@jiandanfeng commented on GitHub (Jan 19, 2025): Isn't this just a Annotation Reply? Already have it. ![Image](https://github.com/user-attachments/assets/389cf14e-d9fa-4461-95a1-885e0e638e57)
Author
Owner

@CN-P5 commented on GitHub (Jan 20, 2025):

Isn't this just a Annotation Reply? Already have it.这不就是 Annotation Reply 吗?已经拥有它。

Image

The results you upload here will be generated by the LLM. I want to upload QA file not need LLM to generate results。

@CN-P5 commented on GitHub (Jan 20, 2025): > Isn't this just a Annotation Reply? Already have it.这不就是 Annotation Reply 吗?已经拥有它。 > > ![Image](https://github.com/user-attachments/assets/389cf14e-d9fa-4461-95a1-885e0e638e57) The results you upload here will be generated by the LLM. I want to upload QA file not need LLM to generate results。
Author
Owner

@jiandanfeng commented on GitHub (Jan 20, 2025):

Isn't this just a Annotation Reply? Already have it.这不就是 Annotation Reply 吗?已经拥有它。
Image

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 commented on GitHub (Jan 20, 2025): > > Isn't this just a Annotation Reply? Already have it.这不就是 Annotation Reply 吗?已经拥有它。 > > ![Image](https://github.com/user-attachments/assets/389cf14e-d9fa-4461-95a1-885e0e638e57) > > 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
Author
Owner

@CN-P5 commented on GitHub (Jan 21, 2025):

@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.

@CN-P5 commented on GitHub (Jan 21, 2025): @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.
Author
Owner

@riverbutte commented on GitHub (Feb 12, 2025):

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。

@riverbutte commented on GitHub (Feb 12, 2025): 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。
Author
Owner

@dosubot[bot] commented on GitHub (Mar 15, 2025):

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!

@dosubot[bot] commented on GitHub (Mar 15, 2025): Hi, @CN-P5. I'm [Dosu](https://dosu.dev), 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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#7777