How to moderate text with Google AI
Google for Developers Google for Developers
2.36M subscribers
3,260 views
0

 Published On May 8, 2024

In this tutorial, we delve into the power of Google AI to streamline content moderation and even offer rewriting suggestions for authors. Join blondiebytes as we explore the capabilities of Google's Gemini model, leveraging Python to build an application that not only identifies potentially harmful content but also assists authors in crafting more appropriate text.

Chapters:
0:00 - Intro
0:57 - Getting your authentication credentials from Google AI Studio
1:23 - Setting up your development environment
2:04 - Writing the python code
4:02 - Practice creating prompts in Google AI Studio
4:32 - Understanding safety risks when using LLMs
5:50 - Text-to-moderate app demo

Resources:
Get started by creating your API key at Google's AI Studio → https://goo.gle/3QwNgkD

Learn about the importance of safety settings and content moderation in AI language models → https://goo.gle/4adrppp

Insights from Google's Deep Mind blog → https://goo.gle/3UypNR3

Explore the safety attributes and settings documentation to ensure responsible AI usage → https://goo.gle/3wx6M9G


Subscribe to Google for Developers → https://goo.gle/developers


Note: the API key used in the video is not active and only used for demo.

show more

Share/Embed