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

[FEAT]: Setup collections of blacklisted and whitelisted vocabulary #5

Open
5 tasks
AbhijithGanesh opened this issue Oct 16, 2024 · 1 comment
Open
5 tasks
Labels
good first issue Good for newcomers hacktoberfest Hacktoberfest help wanted Extra attention is needed

Comments

@AbhijithGanesh
Copy link
Owner

Description:

We need to implement a system for managing collections of blacklisted and whitelisted vocabulary in the project. This will allow for more effective content moderation by restricting the use of certain undesirable words (blacklisted) and promoting the use of approved or required terms (whitelisted). The vocabulary collections should be configurable and extensible to accommodate various use cases.

Goals:

  • Implement API support to add/delete blacklist/whitelist vocabulary dynamically using FastAPI
  • Implement collections for blacklisted (disallowed) and whitelisted (approved) words or phrases.
  • Ensure these lists are easy to configure and manage (e.g., stored in a file or database).
  • Introduce logic to scan input content against the lists, flagging or blocking content based on the match.
  • Support different categories of content (e.g., comments, submissions, etc.).
  • Provide feedback to users when they use blacklisted terms and suggest whitelisted alternatives where relevant.

Acceptance Criteria:

  • Blacklist and whitelist collections implemented.
  • Input is checked against both lists, and appropriate actions (flagging/blocking/suggestion) are triggered.
  • Blacklist takes precedence over the whitelist when there's a conflict.
  • Collections can be easily updated or extended.
  • Detailed documentation provided on how to configure and manage the lists.

Additional Information:

  • Consider storing the vocabulary in YAML files for easy maintenance.
  • Ensure flexibility in the length and type of blacklisted and whitelisted items (single words, phrases, etc.).
  • Provide examples in the documentation of how to use and update the collections.
@AbhijithGanesh AbhijithGanesh added help wanted Extra attention is needed good first issue Good for newcomers hacktoberfest Hacktoberfest labels Oct 16, 2024
@SartHak-0-Sach
Copy link

Hi @AbhijithGanesh, I would love to work on this issue, please assign me this and allow me to contribute to it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest Hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants