CourseTechnology
Call Gemini using the OpenAI Library
By External Provider
About this course
This is a self-paced lab that takes place in the Google Cloud console. In this lab, you will learn how to call Gemini using the OpenAI library
What you will learn
- Configure OpenAI SDK for the Gemini Chat Completions API. Send a chat completions request.
- Stream chat completions response. Send a multimodal request.
- Send a function calling request. Send a function calling request with the tool_choice parameter.