Vertex AI は、予測 AI と生成 AI の両方の機能を備えた包括的な ML 開発プラットフォームです。予測を目的とした ML モデルのトレーニング、評価、デプロイと、コンテンツ生成を目的とした生成 AI モデルの選定、チューニング、サービングが可能です。たとえば、保険会社は常に、請求処理やリスク評価などの分野で効率向上を目指しています。Vertex AI Studio は、このような課題に対する生成 AI ソリューションのプロトタイプを迅速に開発するための強力な方法を提供します。
Vertex AI Studio では、生成 AI モデルを迅速にテスト、カスタマイズし、その機能をアプリケーションで利用できます。直感的なユーザー インターフェース(UI)を含むさまざまなツールとリソースが用意されており、機械学習の専門的な知識がなくても生成 AI を簡単に使い始めることができます。
このラボでは、Vertex AI Studio を使用して Gemini のような最先端の生成 AI モデルの可能性を引き出します。自身が保険会社がリスク分析アシスタントのプロトタイプを作成できるようサポートする役割を担っているとします。その前提のもとで、Google Cloud コンソールで直接、プロンプトのアイデアをデプロイ可能なアプリケーションに発展させる方法、特定の生成結果を得るための高度なプロンプトを設計する方法、マルチモーダル機能を使用して画像を含むさまざまな種類のデータを分析する方法を学習します。これらのコアタスクに API や Python SDK は必要ありません。
重要: ラボで提供された認証情報を使用する必要があります。Google Cloud アカウントの認証情報は使用しないでください。注: このラボでご自身の Google Cloud アカウントを使用すると、追加料金が発生する場合があります。
その後次のように進みます。
利用規約に同意してください。
一時的なアカウントなので、復元オプションや 2 要素認証プロセスは設定しないでください。
無料トライアルには登録しないでください。
その後、このタブで Google Cloud コンソールが開きます。
注: Google Cloud のプロダクトやサービスにアクセスするには、ナビゲーション メニューをクリックするか、[検索] フィールドにサービス名またはプロダクト名を入力します。
タスク 1. プロンプトからアプリケーションを作成する
このタスクでは、Vertex AI Studio を使って、生成 AI アシスタントのアイデアをすばやく実用的なプロトタイプに変換する方法を学びます。保険会社のユースケースとして、リスク分析レポートを目的としたクライアント情報の要約に役立つプロンプトを作成し、このプロンプトをシンプルなアプリケーションとして準備します。
Google Cloud コンソールのナビゲーション メニュー()で、[Vertex AI] > [Vertex AI Studio] > [概要] を選択します。
Vertex AI のメニューの [Vertex AI Studio] で、[プロンプトを作成] を選択します。プロンプト エディタ ページが表示されます。
You are an expert AI assistant for an insurance underwriting department.
Your primary goal is to help underwriters by accurately and concisely summarizing client information and highlighting potential risk factors.
Maintain a professional and objective tone.
Focus only on the information provided in the prompt. Do not invent details.
システム指示の下の、ページの下部にあるメインのプロンプト領域に、次の内容を貼り付けます。
Customer Notes for 'SafeHarbor Warehousing':
"The applicant is seeking coverage for their 50,000 sq ft warehouse. The business is 5 years old. The building is a concrete tilt-up structure, originally built in 2010. They store a variety of non-hazardous dry goods.
Fire safety measures include a full sprinkler system, a centrally monitored fire alarm, and documented annual inspections by a certified third party.
Security measures include a 24/7 centrally monitored burglar alarm, comprehensive security camera coverage of the interior and exterior, a fully fenced perimeter, and nightly patrols by a contracted security guard service.
The company reports no major property or liability losses in their 5-year history. They have specifically asked to ensure their new automated shelving and retrieval system, installed last month, is adequately covered under the policy."
Your Task:
1. Briefly summarize the key details of the 'SafeHarbor Warehousing' business and its existing safety measures.
2. Based *only* on the notes provided, identify any immediate questions an underwriter should ask or potential risk factors they should consider further.
Present the summary first, then the questions/risk factors as bullet points.
New Customer Inquiry:
"Applicant 'Coastal Goods Delivery' has a fleet of 10 delivery vans, all equipped with GPS and telematics. They operate within a 100-mile radius of their depot. Drivers undergo annual safety training. They had one minor fender bender last year, no injuries, $1500 damages. What are the primary risk considerations?"
Please summarize key points and identify potential risks.
送信ボタンをクリックして、メッセージをアプリケーションに送信します。
デプロイした生成 AI アプリからの回答を確認します。Vertex AI Studio で定義したロジックとシステムの指示に基づいて入力が処理されます。
You are an AI assistant specializing in parsing and extracting specific data points from unstructured insurance claim notifications.
Your goal is to identify and list key information accurately.
If a piece of information is not found, clearly state "Not found".
Output the extracted information in a key: value format, with each key on a new line.
メインのプロンプト領域に、次の非構造化請求メモの例を貼り付けます。
Claim Notification Received:
"Hi team, just got a call from Mrs. Eleanor Vance, policy #POL458892. She reported a kitchen fire that occurred on May 12th, 2025, around 3 PM. The main damage seems to be to the oven and surrounding cabinets. She mentioned smoke damage in the kitchen and dining area too. She thinks the total damage might be around $7,500. Her contact is 555-0123. No injuries reported, thankfully."
Extract the following:
- Policy Number
- Claimant Name
- Date of Loss
- Time of Loss
- Type of Loss
- Brief Description of Damage
- Estimated Loss Amount
- Injuries Reported
Claim Notification Received:
"Email from John Sterling (policy POL77521) re: water damage at his shop. Happened sometime last night, May 10th, 2025. A pipe burst in the ceiling. Stockroom is flooded, some damage to inventory. He's not sure on the cost yet, maybe $5k-$10k? No one was there, so no injuries."
Extract the following:
- Policy Number
- Claimant Name
- Date of Loss
- Time of Loss
- Type of Loss
- Brief Description of Damage
- Estimated Loss Amount
- Injuries Reported
最初の例の出力に、次のように正しく書式設定された抽出結果を貼り付けます。
Policy Number: POL77521
Claimant Name: John Sterling
Date of Loss: May 10th, 2025
Time of Loss: Night
Type of Loss: Water damage
Brief Description of Damage: Pipe burst in ceiling, stockroom flooded, some damage to inventory.
Estimated Loss Amount: $5,000 - $10,000
Injuries Reported: No
You are an AI assistant specializing in parsing and extracting specific data points from unstructured insurance claim notifications.
Your goal is to identify and list key information accurately.
If a piece of information is not found, clearly state "Not found".
Output the extracted information in a key: value format, with each key on a new line.
次のように新しい入力とプロンプトを指定します。
(Input) Write value here と表示されている領域に、モデルで処理する Eleanor Vance さんの元の請求通知を貼り付けます。
Claim Notification Received:
"Hi team, just got a call from Mrs. Eleanor Vance, policy #POL458892. She reported a kitchen fire that occurred on May 12th, 2025, around 3 PM. The main damage seems to be to the oven and surrounding cabinets. She mentioned smoke damage in the kitchen and dining area too. She thinks the total damage might be around $7,500. Her contact is 555-0123. No injuries reported, thankfully."
Extract the following data points from the provided claim notification:
- Policy Number
- Claimant Name
- Date of Loss
- Time of Loss
- Type of Loss
- Brief Description of Damage
- Estimated Loss Amount
- Injuries Reported
You are an insurance risk analyst assistant. Your task is to identify potential risk factors from a given scenario. Be concise.
メインのプロンプト領域(「ここにプロンプトを入力します」の部分)に、以下を貼り付けます。
Scenario:
"The applicant, 'The Fiery Grill,' is a new upscale restaurant specializing in wood-fired oven pizzas and open-flame grilling. They have installed a brand new, custom-built fire suppression system for their cooking area, but it has not yet been certified by a third party. The restaurant plans to feature live acoustic music on weekend evenings and has a small, raised stage area. They also want to offer valet parking."
Based on this scenario, list three primary risk factors an underwriter should consider.
You are an expert insurance risk analyst assistant. Your task is to identify potential risk factors from a given scenario. For each risk factor, also briefly suggest a potential mitigation strategy or question for the underwriter. Be clear and structured.
Scenario:
"The applicant, 'The Fiery Grill,' is a new upscale restaurant specializing in wood-fired oven pizzas and open-flame grilling. They have installed a brand new, custom-built fire suppression system for their cooking area, but it has not yet been certified by a third party. The restaurant plans to feature live acoustic music on weekend evenings and has a small, raised stage area. They also want to offer valet parking."
Based on this scenario, list three primary risk factors an underwriter should consider.
Scenario:
"The applicant, 'The Fiery Grill,' is a new upscale restaurant specializing in wood-fired oven pizzas and open-flame grilling. They have installed a brand new, custom-built fire suppression system for their cooking area, but it has not yet been certified by a third party. The restaurant plans to feature live acoustic music on weekend evenings and has a small, raised stage area. They also want to offer valet parking."
Based on this scenario, list three primary risk factors an underwriter should consider.
*比較ビューにこのペイン用のシステム指示ボックスがない場合: システム指示「You are an insurance risk analyst assistant...」が消去されている時はこのシステム指示をここに追加し、左側ペインからこのシステム指示をグローバルに適用する場合は元のシステム指示を使用します。
1. Provide a concise title for this image (under 5 words).
2. Describe the image in one or two sentences.
3. Extract all visible text from the image. Present the flight schedule as a clearly formatted list with columns for "Time" and "City".
Vertex AI Studio は、テキストだけでなく、テキスト プロンプトから直接、または既存のメディアを改良してさまざまな種類のメディアを生成するための優れたツールも提供します。このタスクでは、画像、動画、音声の生成について説明します。
Vertex AI Studio にアクセスしていることを確認します。まだ Media Studio に移動していない場合は、ナビゲーション メニュー()から [Vertex AI] > [Vertex AI Studio] > [Media Studio] を選択します。ページは次のようになります。
Imagen で画像を生成する
まず、画像を生成します。
Media Studio ランディング ページの [テキスト プロンプトで始める] セクションで、[Imagen - 画像を生成] をクリックします。
画面下部のテキスト プロンプト領域に、詳細な説明を含むプロンプトを入力します。例:
A close-up, photorealistic image of a single honeybee collecting pollen from a vibrant purple lavender flower, with a softly blurred garden background.
SynthID は Google DeepMind が開発した技術で、AI によって生成された画像のピクセルに電子透かしを直接埋め込みます。この透かしは、人間の目には見えず、アルゴリズムによって検出できるように設計されています。この目的は、画像が AI によって生成されたものであることを識別し、画像が後で変更された場合(圧縮、フィルタ処理など)でも、透明性と責任ある AI への取り組みを促進することにあります。
Welcome to the world of generative AI on Google Cloud
右側の [設定] パネルで次の操作を行います。
モデル(例: Chirp 3. HD 音声)を選択します。
使用する言語を選択します(例: 英語(アメリカ))。
プルダウン リストから音声を選択します。いくつか試して、それぞれの特徴を聞くことができます。
利用可能な詳細オプションを必要に応じて確認します。
送信ボタンをクリックします。
処理が完了すると、生成された音声をインターフェースで直接再生できるようになります。
お疲れさまでした
これで完了です。このラボでは、Vertex AI Studio を操作して、保険会社のシナリオ向けの生成 AI アプリケーションのプロトタイプを作成しました。このプロトタイプでは、初期の設計とデプロイから、高度なプロンプト エンジニアリングと比較まで扱っています。さらに、特定の分析タスクに対するテキスト出力の改善を練習し、画像、動画、音声を生成する魅力的なマルチモーダル機能について学びました。これらの基本的なスキルを身に付けることで、Google Cloud でさらに高度な生成 AI ソリューションを構築できるようになります。