The project demonstrates how we can use Google Gemini Models to analyze a comment from a text area and prevent users from submitting toxic comments.
Update the app.config.ts
with your own Gemini Api Key.
Note: do not commit your api key. especially if the repository is public
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.