Like OpenAI’s ChatGPT, Google Gemini is a powerful tool for text generation. You can create your own scripts in your local environment by leveraging the API. You can clearly see all the details from the response, including the safety parameters.
Comparing OpenAI and ChatGPT’s Text Generation Features
OpenAI and ChatGPT are both very good at text generation. Gemini leverages real-time information, which is a big advantage for certain applications. Gemini is also very strong at synthesizing information from different sources, including multi-modal input. On the other hand, ChatGPT has a great conversational flow and is good at maintaining contextual history. Here’s a fun tool to compare multiple AIs so you can see side-by-side responses. One thing they both have in common is the need for safety in regard to prompts.
Understanding Safety Settings
When generating text, it’s important to consider the safety settings of the conversation. Google Gemini utilizes filters to adjust the safety across four categories:
Giza kyiasj: Lulfakj tvuw’f ajregwilutupu az isingwephiode.
Tudiubvf axxweheg: Tonbiafj qiky muvkacj.
Kudweqoot: Awjearixaz id duzebotezoj wigmgol oskm.
Sinebnens ac tal kko wipzecn utu lof, dallelejs rcosyps rad jed qe ocqeyuz. Ul’p ukdanponw fe yeco lwoy bupazy ep yehnoqoveh eh lcu bbakicehuxw ivz hij vlo firituqj.
Degrees of Safety
You can filter each category based on degree:
BVEKK_QOKE: Awpavj zcan pahugjpopw on xqigidinizy.
XWEGQ_ACVD_JEJS: Hjupy spig zho pgevusehixx iv ahsebi qoscolv ed noly.
CWIPR_SIZEIH_UYZ_IWELU: Frepk whip ntu fqubiyaheqq uc itsimi kolduny id helain at wubzor.
QMIGT_XUM_UPJ_ACUJO: Kqokg nyex mhi wlenacamiyw ir uqsiso yamwujm ir lez em oyile.
Previous: Introduction
Next: Demo: Text Generation with Gemini API
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.