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

Feature Request: Ability to Import Keywords Along with Questions and Answers in "Batch add chunks" #10810

Open
4 of 5 tasks
mamprogr opened this issue Nov 18, 2024 · 3 comments
Labels
💪 enhancement New feature or request

Comments

@mamprogr
Copy link

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 am using an Arabic dataset and want to leverage the "Segmenting in Question & Answer format" feature. Since Arabic support isn't available yet, I have prepared my segments in a CSV file for importing through the "Batch add chunks" UI.

Problem:
Currently, I can only import questions and answers. There is no option to include keywords in the import process. Upon reviewing the code in api/services/annotation_service.py at line 290, I noticed the following implementation:

content = {"question": row[0], "answer": row[1]}

This indicates that there is no mechanism for importing keywords.

Request:
I kindly request the addition of functionality to allow importing keywords alongside questions and answers in the "Batch add chunks" UI.

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
@dosubot dosubot bot added the 💪 enhancement New feature or request label Nov 18, 2024
Copy link

dosubot bot commented Dec 19, 2024

Hi, @mamprogr. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • Enhancement request to "Batch add chunks" UI.
  • Current feature supports importing questions and answers only.
  • Request to include keyword import functionality, especially for Arabic datasets.
  • No further comments or activity on the issue.

Next Steps:

  • Is this issue still relevant to the latest version of the Dify repository? If so, please comment to keep the discussion open.
  • If there is no further activity, the issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Dec 19, 2024
@mamprogr
Copy link
Author

Thanks, yes, the issue still exists.

@dosubot dosubot bot removed the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Dec 20, 2024
Copy link

dosubot bot commented Dec 20, 2024

@takatost, the user has confirmed that the enhancement request for the "Batch add chunks" UI is still relevant. Could you please assist them with this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant