arrow_back

End to End Baseline Chat Summarization

ログイン 参加
700 以上のラボとコースにアクセス

End to End Baseline Chat Summarization

ラボ 1時間 30分 universal_currency_alt クレジット: 1
info このラボでは、学習をサポートする AI ツールが組み込まれている場合があります。
700 以上のラボとコースにアクセス

Overview

A summarization baseline model in Agent Assist enables users to customize the content of the summary by selecting from the following predefined sections:

  • Situation: What the customer needs help with or has question about.
  • Action: What the agent does to help the customer.
  • Resolution: Result of the customer service.
  • Customer satisfaction: "Unsatisfied" if the customer is unsatisfied at the end of the conversation and "Satisfied" otherwise.
  • Reason for cancellation: If the customer requests to cancel service. N/A otherwise.
  • Entities: The key-value pairs of important entities extracted from the conversation.

In this lab, you will configure a summarization baseline model and use it to summarize examples of customer chat.

Objectives

In this lab, you learn how to

  • Configure a conversation profile in Agent Assist
  • Run PII redaction on chat transcripts using the Data Loss Prevention API
  • Generate summaries from Baseline Summarization Model

Setup

Before you click the Start Lab button

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 will be made available to you.

This Qwiklabs hands-on lab lets you do the lab activities yourself in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials that you use to sign in and access Google Cloud for the duration of the lab.

What you need

To complete this lab, you need:

  • Access to a standard internet browser (Chrome browser recommended).
  • Time to complete the lab.

Note: If you already have your own personal Google Cloud account or project, do not use it for this lab.

Note: If you are using a Pixelbook, open an Incognito window to run this lab.

How to start your lab and sign in to the Google Cloud Console

1. Click the Start Lab button. If you need to pay for the lab, a pop-up opens for you to select your payment method. On the left is a panel populated with the temporary credentials that you must use for this lab.

Open Google Console

2. Copy the username, and then click Open Google Console. The lab spins up resources, and then opens another tab that shows the Sign in page.

Sign in

Tip: Open the tabs in separate windows, side-by-side.

 If you see the Choose an account page, click Use Another Account.

Choose an account

3. In the Sign in page, paste the username that you copied from the Connection Details panel. Then copy and paste the password.

Important: You must use the credentials from the Connection Details panel. Do not use your Qwiklabs credentials. If you have your own Google Cloud account, do not use it for this lab (avoids incurring charges).

4. Click through the subsequent pages:

  • Accept the terms and conditions.
  • Do not add recovery options or two-factor authentication (because this is a temporary account).
  • Do not sign up for free trials.

After a few moments, the Cloud Console opens in this tab.

Task 1. Create a conversation profile.

  1. Navigate to Agent Assist. In the navigation menu, under Data, click on Conversation profiles. If asked, select the project and enable APIs as requested.

    Agent Assist Nav

  2. At the top of the page, click the + Create button to create a new conversation profile.

    Create a conversation profile

  3. Input lab-conv-profile for the conversation profile Display name.

  4. Ensure that en - English is set as the value in the Language dropdown.

  5. Select suggestion type Conversation summarization (legacy).

  6. Set Suggestion model type to Baseline model.

  7. Set Baseline model version to 2.0.

  8. Leave the Output sections as their default values.

    Input for coversation profile

  9. Click Create at the bottom of the page to create your conversation profile.

  10. Click on the copy button to the right of the Integration ID column and record the integration ID somewhere you can reference later. Your integration ID should be similar in from to the following

    projects/your-project-id/locations/global/conversationProfiles/UwGMTR-ASoim4FLKamQRdg

    Copy Integration ID

Task 2. Access Vertex AI Workbench Instance

  1. Return to the Google Cloud Console and type "Vertex AI Workbench" in the search bar, and then click Workbench Vertex AI in the resulting options.

  2. Click on the Open JupyterLab button beside lab-workbench instance. You may need to wait a few minutes while the instance is being provisioned before being able to click the button.

    Open JupyterLab

  3. Once the JupyterLab opens in a new browser tab, click on the Terminal icon from Launcher. This will open up a new Terminal window.

  4. Clone the repository containing the lab notebook by running the following command in the Terminal window:

    git clone https://github.com/GoogleCloudPlatform/specialized-training-content
  5. Navigate to specialized-training-content > courses > agent_assist and open the baseline_summarization_chat.ipynb notebook.

Task 3. Generate redacted summaries from the baseline summarization model

  1. Click Kernel > Restart kernel and clear all outputs.

  2. Follow the instructions in the notebook file, running the notebook one cell at a time. Be sure to keep an eye out for directions that ask you to update code in the cells.

Congratulations!

In this lab you configured a summarization baseline model, redacted sensitive information using the Data Loss Prevention API, and used the conversation profile to summarize examples of customer chat.

End your lab

When you have completed your lab, click End Lab. Qwiklabs removes the resources you’ve used and cleans the account for you.

You will be given an opportunity to rate the lab experience. Select the applicable number of stars, type a comment, and then click Submit.

The number of stars indicates the following:

  • 1 star = Very dissatisfied
  • 2 stars = Dissatisfied
  • 3 stars = Neutral
  • 4 stars = Satisfied
  • 5 stars = Very satisfied

You can close the dialog box if you don't want to provide feedback.

For feedback, suggestions, or corrections, please use the Support tab.

Copyright 2023 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.

始める前に

  1. ラボでは、Google Cloud プロジェクトとリソースを一定の時間利用します
  2. ラボには時間制限があり、一時停止機能はありません。ラボを終了した場合は、最初からやり直す必要があります。
  3. 画面左上の [ラボを開始] をクリックして開始します

シークレット ブラウジングを使用する

  1. ラボで使用するユーザー名パスワードをコピーします
  2. プライベート モードで [コンソールを開く] をクリックします

コンソールにログインする

    ラボの認証情報を使用して
  1. ログインします。他の認証情報を使用すると、エラーが発生したり、料金が発生したりする可能性があります。
  2. 利用規約に同意し、再設定用のリソースページをスキップします
  3. ラボを終了する場合や最初からやり直す場合を除き、[ラボを終了] はクリックしないでください。クリックすると、作業内容がクリアされ、プロジェクトが削除されます

このコンテンツは現在ご利用いただけません

利用可能になりましたら、メールでお知らせいたします

ありがとうございます。

利用可能になりましたら、メールでご連絡いたします

1 回に 1 つのラボ

既存のラボをすべて終了して、このラボを開始することを確認してください

シークレット ブラウジングを使用してラボを実行する

このラボの実行には、シークレット モードまたはシークレット ブラウジング ウィンドウを使用してください。これにより、個人アカウントと受講者アカウントの競合を防ぎ、個人アカウントに追加料金が発生することを防ぎます。