
Before you begin
- Labs create a Google Cloud project and resources for a fixed time
- Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
- On the top left of your screen, click Start lab to begin
Import the necessary libraries and set up the Gen AI SDK.
/ 10
Initial Analysis with Gemini 2.0 Flash.
/ 10
Deep Dive with Gemini 2.5 Flash: Reasoning on Customer Sentiment
/ 10
Initial Analysis with Gemini 2.0 Flash.
/ 10
Reasoning on Image Trends with Gemini 2.5 Flash.
/ 10
Initial Analysis with Gemini 2.0 Flash
/ 10
Reasoning on Audio Insights with Gemini 2.5 Flash
/ 20
Synthesize multimodal insights: generate a comprehensive report
/ 20
In a challenge lab you’re given a scenario and a set of tasks. Instead of following step-by-step instructions, you will use the skills learned from the labs in the course to figure out how to complete the tasks on your own! An automated scoring system (shown on this page) will provide feedback on whether you have completed your tasks correctly.
When you take a challenge lab, you will not be taught new Google Cloud concepts. You are expected to extend your learned skills, like changing default values and reading and researching error messages to fix your own mistakes.
To score 100% you must successfully complete all tasks within the time period!
This lab is recommended for students who have enrolled in the Analyze and Reason Multimodal Data with Gemini course. Are you ready for the challenge?
Before starting this lab, you should be familiar with:
In this challenge, you use the Gemini 2.0 Flash and Gemini 2.5 Flash models to:
Read these instructions. Labs are timed and you cannot pause them. The timer, which starts when you click Start Lab, shows how long Google Cloud resources are made available to you.
This hands-on lab lets you do the lab activities in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials you use to sign in and access Google Cloud for the duration of the lab.
To complete this lab, you need:
Cymbal Direct just launched a new line of athletic apparel designed for enhanced performance during various activities. To gauge public perception and potential market impact, Cymbal Direct is tasked with analyzing social media engagement across multiple platforms. This analysis involves:
The goal is to provide Cymbal Direct with actionable insights to refine their marketing strategy, improve their products, and bolster product positioning. Are you ready for the challenge?
In the Google Cloud console, on the Navigation menu (), click Vertex AI > Workbench.
Find the
The JupyterLab interface for your Workbench instance opens in a new browser tab.
1. Close the browser tab for JupyterLab, and return to the Workbench home page.
2. Select the checkbox next to the instance name, and click Reset.
3. After the Open JupyterLab button is enabled again, wait one minute, and then click Open JupyterLab.
Click on the
In the Select Kernel dialog, choose Python 3 from the list of available kernels.
Complete Task 1 in the notebook to import the libraries and install the Gen AI SDK.
Once you have completed Task 1 and have set up your environment, you are ready to move onto the next sections.
For the following tasks, you need to complete the missing parts of each cell to progress to the next section. The missing parts are denoted with TODO
and an instruction to complete.
Click Check my progress to verify the objective.
In this task, you gather information about Cymbal Direct's new athletic apparel using the Gemini 2.0 Flash and Gemini 2.5 Flash models to analyze customer reviews and social media posts in text format. You then save the findings from the model into a Markdown file to use for a comprehensive report in the last task.
#TODO
section in the cell. Read each cell carefully and ensure you are filling them out correctly! Check your progress to be sure you have completed the cells correctly.
In the notebook, use the cells in the Task 2. Analyze and reason on customer feedback (text) section for this task.
In the Initial Analysis with Gemini 2.0 Flash section of the notebook:
In the notebook cell, under 3. Construct the prompt for Gemini, fill in the TODOs
to construct a prompt that instructs the Gemini model to analyze the customer reviews and social media posts.
In the notebook cell, under 4. Send the prompt to Gemini, fill in the TODOs
to send the prompt and text data to the Gemini model.
Click Check my progress to verify the objective.
In this section, you use the Thinking model to delve deeper into the customer sentiment and identify key areas for improvement. Particularly interesting is the reasoning behind positive and negative reviews and uncovering any recurring themes that might not be immediately apparent.
You also configure a thinking budget, which provides guidance to the model on the number of thinking tokens it can use when generating a response. A greater number of tokens is typically associated with more detailed thinking, which is needed for solving more complex tasks. Setting budget to 0
turns off thinking and turns the model into a non-thinking model for simpler tasks.
In the notebook, in the Deep Dive with Gemini-2.5-flash: Reasoning on Customer Sentiment section, under 1. Construct the prompt for Gemini, fill in the TODOs
to construct a prompt that instructs the Gemini model to analyze the customer reviews and social media posts in more detail.
Under 2. Send the prompt to the Gemini Thinking model, fill in the TODOs
to send the prompt and text data to the Gemini model.
Click Check my progress to verify the objective.
In this task, you use the Gemini 2.0 Flash and Gemini 2.5 Flash models to analyze images related to Cymbal Direct's new athletic apparel line. The goal is to identify style trends and customer behavior based on the images. You save the findings from the model into a markdown file that to use for a comprehensive report in the last task.
#TODO
section in the cell. Read each cell carefully and ensure you are filling them out correctly! Check your progress on this page to ensure you have completed the cells correctly.
In the notebook, use the cells in the Task 3. Analyze and reason on visual content: Style trends and customer behavior section for this task.
In the notebook, in the Initial Analysis with Gemini 2.0 Flash section, under 3. Construct the prompt for Gemini, fill in the TODOs
to construct a prompt that instructs the Gemini model to analyze the images of Cymbal Direct's new athletic apparel line.
Under 4. Send the prompt and images to Gemini, fill in the TODOs
to send the prompt and images to the Gemini model.
Click Check my progress to verify the objective.
You'll now use the Thinking model to perform a more in-depth analysis of the visual elements, inferring context, target audience, and potential marketing implications.
In the notebook, in the Reasoning on image trends with Gemini-2.5-flash section, under 1. Construct the prompt for Gemini, fill in the TODOs
to construct a prompt that instructs the Gemini model to analyze the images in more detail.
Under "2. Send the prompt and images to the Gemini Thinking model", fill in the TODOs
to send the prompt and images to the Gemini model.
Click Check my progress to verify the objective.
In this task, you use the Gemini 2.0 Flash and Gemini 2.5 Flash models to analyze a podcast about Cymbal Direct's new clothing line. You extract information/sentiment out of it and use those to generate insights for the company. You then save the findings from the model into a Markdown file to use for a comprehensive report in the last task.
This audio clip is from a podcast episode featuring an Cymbal Direct representative interview discussing the new athletic apparel line. The conversation covers various aspects of the apparel, including design, features, target audience, and marketing strategy.
#TODO
section in the cell. Read each cell carefully and ensure you are filling them out correctly! Check your progress to ensure you have completed the cells correctly.
In the notebook, use the cells in the Task 4. Analyze and reason on audio content: Customer perceptions section for this task.
In the notebook, in the Initial analysis with Gemini 2.0 Flash section, under 1. Construct the prompt for Gemini, fill in the TODOs
to construct a prompt that instructs the Gemini model to analyze the audio recording of the conversation about Cymbal Direct's new athletic apparel line.
Under 2. Send the prompt and audio to Gemini, fill in the TODOs
to send the prompt and audio data to the Gemini model.
Click Check my progress to verify the objective.
In this section, you use the Thinking model to analyze the conversation at a deeper level, reason about customer satisfaction, deduce influencing factors, and generate data-driven recommendations.
In the notebook, in the Reasoning on Audio Insights with Gemini 2.5 Flash section, under 1. Construct the prompt for Gemini, fill in the TODOs
to construct a prompt that instructs the Gemini model to analyze the audio recording in more detail.
Under 2. Send the prompt and audio to the Gemini Thinking model, fill in the TODOs
to send the prompt and audio data to the Gemini model.
Click Check my progress to verify the objective.
In this final task, you synthesize the insights gained from your previous analyses of text, images, and audio data. You use the Gemini 2.5 Flash model to generate a comprehensive report that consolidates the findings from each modality, providing a holistic view of customer sentiment, style preferences, and key trends related to Cymbal Direct's new athletic apparel line.
You then save the final report generated by the model into a markdown file, which you upload to Cloud Storage for review and evaluation. This comprehensive report serves as a valuable resource for Cymbal Direct, enabling them to make informed decisions and optimize their strategies based on a thorough understanding of customer perceptions and market trends.
#TODO
section in the cell. Read each cell carefully and ensure you are filling them out correctly! Check your progress on this page to ensure you have completed the cells correctly.
In the notebook, in the Task 5. Synthesize multimodal insights: Generate a comprehensive report section, under 3. Construct the prompt for Gemini, fill in the TODOs
to construct a prompt to instruct the Gemini model to generate a comprehensive report based on the combined analysis results.
Under 4. Send the prompt to Gemini, fill in the TODOs
to send the prompt to the Gemini model.
Click Check my progress to verify the objective.
Congratulations! In this lab, you have successfully utilized the Gemini 2.0 Flash and Gemini 2.5 Flash models to analyze multimodal data, including text, images, and audio, to gain valuable insights for Cymbal Direct's new athletic apparel line. You have demonstrated proficiency in constructing effective prompts, leveraging the reasoning and thinking budget capabilities of the Thinking model, and generating a comprehensive report with actionable recommendations.
Check out the following resources to learn more about Gemini:
...helps you make the most of Google Cloud technologies. Our classes include technical skills and best practices to help you get up to speed quickly and continue your learning journey. We offer fundamental to advanced level training, with on-demand, live, and virtual options to suit your busy schedule. Certifications help you validate and prove your skill and expertise in Google Cloud technologies.
Manual Last Updated July 11, 2025
Lab Last Tested July 11, 2025
Copyright 2025 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.
This content is not currently available
We will notify you via email when it becomes available
Great!
We will contact you via email if it becomes available
One lab at a time
Confirm to end all existing labs and start this one