Advanced Gemini API for Integration
1h 53mAdvanced2024-11-12
Authors

Fikayo Adepoju
Technical Writer | Software Developer
Course details
The Gemini API allows you to integrate your apps with one of Google’s largest and most powerful AI models. In this course, instructor Fikayo Adepoju provides an overview of how to successfully configure and utilize the Gemini API to get the results you want every time with ease. Explore the basics of configuring the API for model generation, prompting with media and files, managing safety, leveraging advanced features, and using Gemini 1.5 Pro to generate code. This course is ideal for software engineers who already have a basic understanding of the Gemini API but want to learn more about how to use it more effectively.
Learning objectives
Configure the type and shape of response that the model generates.
Prompt the model with different types of inputs for predictable results.
Apply safety settings to moderate model responses.
Leverage advanced functions of the API, including model tuning, generating embeddings, function calling, and context caching.
Learning objectives
Configure the type and shape of response that the model generates.
Prompt the model with different types of inputs for predictable results.
Apply safety settings to moderate model responses.
Leverage advanced functions of the API, including model tuning, generating embeddings, function calling, and context caching.
Skills covered
GeminiAPIsAI Productivity ToolsGenerative AIGoogleArtificial Intelligence (AI)Business Software and ToolsSoftware DevelopmentOne-Off
Concepts
Introduction
- Dive deep into the Gemini API
- What you should know
- Who is this course for
Configuring Gemini Model Generation
- Using system instructions
- Setting the number of responses with candidateCount
- Limiting the maximum number of output tokens
- Setting randomness with temperature
- Token counts - topK
- Cumulative token counts - topP
Prompting with Media and Files
- Prompting with images
- Getting file metadata
- Prompting with files
Managing Safety
- Understanding safety
- Safety settings
- Configuring safety in an API request
Advanced API Features
- Model tuning
- Generating embeddings
- Calling functions
- Context caching
Gemini 1.5 Pro
- Capabilities and limitations
- Code generation with Gemini 1.5 Pro
Conclusion
- Next steps