Getting a Gemini API Key
Course Content
0 / 39 completedWhat We're Using
Google Colab
Jupyter Notebook
Introduction
Getting a Gemini API Key
Installing the Python SDK for Gemini API and Authenticating to Gemini
Generating Text From Text Inputs Gemini Pro
Generating Text From Image and Text Inputs
Streaming Model Responses
Google AI Studio Using Variables and Parameters in the Prompt
Gemini Multimodal Models Nano, Pro, and Ultra
Gemini API Generation Parameters Controlling How the Model Generates Responses
Building Chat Conversations
Gemini API Generation Parameters Explained
Project Building a Conversational Agent Using Gemini Pro
Google AI Studio Freeform Prompts With Gemini
Introduction to Gemini 1.5 Pro
The File API Prompting with Media Files
Tokens
Prompting with Audio
System Instructions
Building the Application
Creating the Web App Layout With Streamlit
Saving and Displaying the History Using the Streamlit Session State
Testing the Application
Streamlit Transform Your Jupyter Notebooks into Interactive Web Apps
Project Requirements
Project Introduction
Getting Images Using a Generator
Renaming Images Using Gemini
Tactic #1 - Position Instructions Clearly With Delimiters
Intro to Prompt Engineering the Gemini API
Tactic #3 - Specify the Response Format
Tactic #4 - Few-Shot Prompting
Tactic #6 - Give Models Time to Think
Other Tactics for Better Prompting and Avoiding Hallucinations
Tactic #2 - Provide Detailed Instructions for the Context, Outcome, or Length
Tactic #5 - Specify the Steps Required to Complete a Task
Prompt Engineering Summary