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: add profanity filter #13

Merged
merged 4 commits into from
Jul 21, 2024

Conversation

AmanNegi
Copy link
Collaborator

@AmanNegi AmanNegi commented Jul 9, 2024

Issue Description

Block users from using profane words, using LLM to classify if a text contains profanity or not. Validate user input when:

  • user passes a query for prompt generation.
  • user passes a prompt for GIF generation.

Fixes: #9

Preview

profanity-img

- Block users from using profane words, using LLM to classify if a text
  contains profanity or not.
@Nabhag8848 Nabhag8848 self-requested a review July 9, 2024 09:49
@Nabhag8848
Copy link
Collaborator

@AmanNegi this doesn't include readme changes + llm url to set from settings as discussed.

- update features progress.
- add banner as well as architecture image.
- update setup steps
@AmanNegi
Copy link
Collaborator Author

@Nabhag8848 I have made the requested changes could you look into this.

Copy link
Collaborator

@Nabhag8848 Nabhag8848 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🔥

@Nabhag8848 Nabhag8848 merged commit 93a1ac7 into RocketChat:main Jul 21, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

[feat] Add profanity filter to prompt and GIF generation
2 participants