Great job, you just utilized Python to interact with the Gemini API in your own program.
You learned:
The strengths of Gemini API in comparison to OpenAI, when generating text.
How to implement basic text generation using Gemini’s API.
How to adjust and view the safety settings.
How to apply the different generation parameters.
In the next lesson, you’ll learn how to use the API to create a custom non-streaming chatbot.
See forum comments
This content was released on Nov 14 2024. The official support period is 6-months
from this date.
In this lesson, you gained experience with the Gemini Pro API using Python. You learned about tokens and parameters and analyzed how Gemini’s responses compare to OpenAI’s.
Download course materials from Github
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
Previous: Demo: Using Parameters
Next: Quiz: Text Generation with Gemini Pro 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.