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/nsfw text check plugin #1

Merged
merged 6 commits into from
Oct 23, 2024
Merged

Feat/nsfw text check plugin #1

merged 6 commits into from
Oct 23, 2024

Conversation

petercr
Copy link
Owner

@petercr petercr commented Oct 23, 2024

Title:
Well I tried to add NSFW content filtering to the project, which included bringing in a npm package to handle downloading and checking the words.

Description: (optional)

  • Installed washyourmouthoutwithsoap to handle getting list and filtering it.
  • Added a .d.ts file to the root of the project to declare this type less package 😅
  • Added plugins/nsfw/manifest.json file for plugin details
  • Added plugins/nsfw/nsfwChecker.ts to handle plugin logic
  • Added plugins/nsfw/nsfw.test.ts for plugin tests

Motivation:
I was trying to solve an issue for Hacktoberfest 2024 🎃 but it turned out to be a lot harder than I thought I guess 🤷🏻‍♂️

Related Issues:
For issue Portkey-AI#676

@petercr petercr merged commit 054114a into main Oct 23, 2024
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.

1 participant