Skip to content

From Spring 2023 Hackathon - sends file content along with hard-coded prompt to openai and returns the response

License

Notifications You must be signed in to change notification settings

codecademy-docs/openai-moderation-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ai-moderation-comment-action

For local dev you need to install ncc bundler tool: install npm i -g @vercel/ncc

Then after making any changes, you need to run the following command before pushing: ncc build index.js

This will combine your code + all the dependencies in node_modules into a single .js file in the dist dir.

Its important to have a single file otherwise the action may not work correctly (per official github docs on custom JS actions).

About

From Spring 2023 Hackathon - sends file content along with hard-coded prompt to openai and returns the response

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published