arrow_back

Arcade Chatbot: Interactive Olympic Sprint Guide-bot

로그인 가입
700개 이상의 실습 및 과정 이용하기

Arcade Chatbot: Interactive Olympic Sprint Guide-bot

실습 30분 universal_currency_alt 크레딧 1개 show_chart 입문
info 이 실습에는 학습을 지원하는 AI 도구가 통합되어 있을 수 있습니다.
700개 이상의 실습 및 과정 이용하기

arc133-genai

Google Cloud self-paced labs logo

Overview

In this lab you will learn the fundamentals of prompt engineering using Generative AI and Google Cloud. During the lab you will have access to a chatbot that will act as a .

If you are new to Generative AI or looking for an overview of how to get started, you are in the right place. Read on to learn about the specifics of this lab and areas that you will get hands-on practice with.

In this lab learn use a chat application to interact and learn:

  • The basics of prompt engineering
  • Why context in relation to AI is important
  • How to work with Generative AI

Prerequisites

Over the course of this lab the following elements are required:

  • Vertex AI
  • Generative AI models

Task 1. Access the Chat Application

Open the to gain access to the lab chat application.

Note: The chat bot link works in both a normal browser tab and an incognito window. An initial loading screen will appear while the lab data is being prepared.

From here you will be able to interact with a Generative AI model during the course of this lab.

Chatbot main screen Note: The above image is the main chat screen. The chat screen includes multiple personas reflecting different knowledge domains. Each persona has specific but limited abilities to demonstrate the functionality of generative ai on a defined topic.

The lab mimics a chat application interface to provide access to a generative ai model. Select a persona from the contacts list to initiate a discussion on a specified topic.

Note: The application uses a simplified version of the Gemini Flash model. In this demo, each query is distinct and therefore, the user must input the full context per query.

The application allows the user to perform interactions with the generative ai from Google Cloud. From here you will be able to sample the power of generative ai in a scenario reflecting real-world usage.

Task 2. Using Prompt Engineering

In this lab we will interact with a Generative AI model to discuss . Don't worry, if you don't know much about this, use it as a learning exercise.

Generative AI is a type of artificial intelligence that can be used to create new information, such as text, images, or music. This makes it a powerful tool for learning about , as it can be used to generate realistic new content.

Generative AI can be used in competitive activities in a number of ways, including:

  • Generating new training routines: Generative AI can be used to generate new training routines for participants. This could be done by providing the AI with a set of parameters, such as the desired skill to be trained, the level of difficulty, and the number of participants involved. The AI could then generate a routine that meets these requirements.
  • Creating new strategic approaches: Generative AI can be used to create new strategic approaches for teams or individuals. This could be done by providing the AI with a set of parameters, such as the strengths and weaknesses of the team/individual, the strengths and weaknesses of the opponents, and the desired outcome. The AI could then generate a strategy that meets these requirements.
  • Improving existing strategic approaches: Generative AI can be used to improve existing strategic approaches for teams or individuals. This could be done by providing the AI with a set of parameters, such as the desired outcome, the strengths and weaknesses of the team/individual, and the strengths and weaknesses of the opponents. The AI could then generate suggestions for how to improve the strategy.
  • Personalizing the training experience: Generative AI can be used to personalize the training experience for participants. This could be done by providing the AI with a set of parameters, such as the participant's skill level, strengths and weaknesses, and desired areas of improvement. The AI could then generate a personalized training plan for the participant.

Here are some examples of how generative AI is being used in competitive environments today:

  • Professional organizations are using generative AI to develop new training routines for their participants. The AI is being used to generate routines that are tailored to the individual needs of each participant.
  • Competitive teams are using generative AI to create new strategic approaches. The AI is being used to generate strategies that are based on the strengths and weaknesses of the team and the opposing teams/individuals.
  • Organizations are using generative AI to improve their existing strategic approaches. The AI is being used to generate suggestions for how to improve their offense and defense.
  • Training facilities are using generative AI to personalize the training experience for their participants. The AI is being used to generate personalized training plans for each participant based on their individual needs.

Overall, generative AI has the potential to revolutionize competitive activities. By generating new training routines, creating new strategic approaches, improving existing strategic approaches, and personalizing the training experience, generative AI can help participants to train more effectively, compete more intelligently, and achieve better results.

Task 3. Context is Key

Generative AI Chat Bot needs context to answer questions. In the demo lab bot we have taken away some of its smarts to show the importance of context.

In the application we can put our questions to the AI model. To start, let's establish some basics around the importance of context relating to crafting questions.

  1. Click on the persona
Note: Clicking on the chatbot persona will open the chat interface. From this interface you can interact with the generative ai model.
  1. Start by saying hello to the chat bot, enter the following text
{{{ project_0.startup_script.question_1 | "generated question" }}} Note: The chatbot will respond to this initial interaction with a helpful message to let you know it's ready to interact with you.
  1. Let's start by asking a broad question to the AI
{{{ project_0.startup_script.question_2 | "generated question" }}}
  1. Let's try a more specific question
{{{ project_0.startup_script.question_3 | "generated question" }}}
  1. Let's try to test the chatbots breadth of knowledge
{{{ project_0.startup_script.question_4 | "generated question" }}}

Amazingly, we have just set the context for our journey. The Generative AI model has knowledge on lots of subjects. Here we are interested in finding out more about .

Task 4. Improving knowledge

Now that we have learned the basics, let's improve our knowledge of .

Note: Remember generative ai models are based on data taken from a point in time. The models need to be continually generated when working with time based information.

In the following section, we use Generative AI to create questions. Pay attention, you will be tested on these later in the lab!

  1. Can you use the chatbot to answer the following question?
{{{ project_0.startup_script.question_5 | "generated question" }}}
  1. Can you use the chatbot to answer the following question?
{{{ project_0.startup_script.question_6 | "generated question" }}}
  1. Can you use the chatbot to answer the following question?
{{{ project_0.startup_script.question_7 | "generated question" }}}
  1. Can you use the chatbot to answer the following question?
{{{ project_0.startup_script.question_8 | "generated question" }}} Note: Want to learn more? Ask the chatbot more questions and see if it can help.

Great, it looks like you really know your stuff. Let's move onto the final assessment.

Task 5. Taking the Assessment

Finally, answer the assessment question based on .

Note: The lab assessment is accessed using the bottom navigation bar. Click on the Assess option to move to this screen. Answer correctly to pass the assessment. Once done, you can return from the chatbot application to the lab interface.

Click on the assess bottom navigation button to reveal the lab question. Select the correct answer to successfully complete the lab.

Chatbot assessment.

To successfully complete the lab assessment, each question presented must be answered correctly.

Note: The lab assessment is accessed using the bottom navigation bar. Click on the Assess option to move to this screen. Answer correctly to pass the assessment. Once done, you can return from the chatbot application to the lab interface.

Click Check my progress to verify the objective.

Assess my progress

Congratulations!

In just 30 minutes, you developed a solid understanding of Generative AI and the prompt engineering. You are now ready to take more labs.

What's next

  • Try out other Google Cloud features for yourself. Have a look at our tutorials.
  • Explore more Google Cloud solutions.
  • Learn about the Firebase suite of products and services

Manual Last Updated May 1, 2025

Lab Last Tested May 1, 2025

시작하기 전에

  1. 실습에서는 정해진 기간 동안 Google Cloud 프로젝트와 리소스를 만듭니다.
  2. 실습에는 시간 제한이 있으며 일시중지 기능이 없습니다. 실습을 종료하면 처음부터 다시 시작해야 합니다.
  3. 화면 왼쪽 상단에서 실습 시작을 클릭하여 시작합니다.

시크릿 브라우징 사용

  1. 실습에 입력한 사용자 이름비밀번호를 복사합니다.
  2. 비공개 모드에서 콘솔 열기를 클릭합니다.

콘솔에 로그인

    실습 사용자 인증 정보를 사용하여
  1. 로그인합니다. 다른 사용자 인증 정보를 사용하면 오류가 발생하거나 요금이 부과될 수 있습니다.
  2. 약관에 동의하고 리소스 복구 페이지를 건너뜁니다.
  3. 실습을 완료했거나 다시 시작하려고 하는 경우가 아니면 실습 종료를 클릭하지 마세요. 이 버튼을 클릭하면 작업 내용이 지워지고 프로젝트가 삭제됩니다.

현재 이 콘텐츠를 이용할 수 없습니다

이용할 수 있게 되면 이메일로 알려드리겠습니다.

감사합니다

이용할 수 있게 되면 이메일로 알려드리겠습니다.

한 번에 실습 1개만 가능

모든 기존 실습을 종료하고 이 실습을 시작할지 확인하세요.

시크릿 브라우징을 사용하여 실습 실행하기

이 실습을 실행하려면 시크릿 모드 또는 시크릿 브라우저 창을 사용하세요. 개인 계정과 학생 계정 간의 충돌로 개인 계정에 추가 요금이 발생하는 일을 방지해 줍니다.