Places API 向けの Gemini モデル機能

Places API(新版)向けの Gemini モデル機能により LLM のサポートが実現 Places API を利用して、場所に関連付けられたデータを返すことができます。 (営業時間、レビュー、写真)と、LLM から提供されたデータ。この 生成データには、LLM の集計および要約されたデータが含まれるため、 データが照合されます。

たとえば、標準の テキスト検索(新版) 「EV 充電スタンド」を検索は、EV 充電スタンドを提供する場所のリストを返します。この 最寄りの EV 充電器や 最も近くにあるものを選択する。

その他にも、周辺地域についてより深く理解し、 特に、1 時間以上充電する場合などに便利です。 。Gemini モデルの機能を使用して 同じ検索をした場合、回答には、各質問の動的な生成説明が含まれることがあります。 (充電スタンド周辺の情報を含む) Station:

  • 「徒歩 2 ~ 4 分圏内に飲食店やショップが数軒ある 「Chef Chu's」、「Gen Korean Burbury House」、「Amber India」、「Pacific」などの選択肢があります Walmart、Wallmart、Wall Foods Market、 トレーダー ジョーズです。」

  • 「徒歩 1 ~ 5 分圏内にレストランやショップが数軒ある Khao Kang Thai Kitchen、Roger's Deli、Donuts と La Costeña.寿司なら、ジョイ寿司がおすすめです。食料品用、Dollar Tree さまざまな商品を割引価格で提供しています。」

この LLM からの生成コンテンツは回答を補強し、 追加情報を提供することで、ユーザーが十分な情報に基づいて判断できるようになります。

AI を活用した新機能が Places API に追加されました(新規)

これらの機能によって、Places API(新版)のレスポンスに次のデータが追加されます。

場所の概要の生成

生成される場所の概要は、プレイス ID に固有のものです。場所の概要 その場所について、さまざまな種類のデータを 1 つのサマリーに集約する。

Places API(新版)では、次の 2 種類の場所の概要を生成できます。

  • 概要の概要: ある場所について、 場所のスナップショットを作成するのに役立つ。

  • 説明の概要: 場所に関する、より長い要約(平均) 約 400 文字です。 把握するのに役立ちます

場所の概要は現在、サポートされている場所のタイプ カテゴリ 文化エンターテイメントとレクリエーションフード、ドリンクショッピング、 およびスポーツです。

地域の概要の生成

LLM によって、近隣地域について、 できます。ある場所のエリアの概要には、必要な情報がすべて含まれている場合があります。 ユーザーがそれ以上のリクエストを行わなくても、ユーザーが決定を下せるようになります。 エリアの詳細をドリルダウンできます

レスポンスには、地域の説明に加えて、 description で参照されている場所のプレイス ID、および場所のリスト 並べ替えられます。たとえば、1 つのコンテンツ タイプに もう 1 つは、そのエリア内のアクティビティに関連付けられた場所のリストです。 近くのレストランを探しています

エリアの概要は現在、 サポートされている型 宿泊施設カテゴリ、および特定の場所タイプに対応する electric_vehicle_charging_stationgeocodepremise

場所とエリアの要約の生成

生成された場所サマリーと地域サマリーの生成はどちらも、 オフラインで頻繁に生成されますこれらの要約をオフラインで生成することで Gemini を活用したコンテンツをご利用いただけますが、 Places API(新版)ではこれまでと変わらないパフォーマンスを実現しています。

Google は、これらの要約を最新の状態に保つために頻繁に再生成します。 基づいています。つまり、 最新データだけを抽出できます。

コンテキスト検索結果

テキスト検索(新版)は、文字列に基づいて一連の場所に関する情報を返す - 例: 「ニューヨークのピザ」または「表参道 靴店」などと検索します。Text Search (新規)response には、テキスト文字列と指定した場所に一致する場所のリスト リクエストで指定された場所のバイアス。

コンテキスト検索結果をレスポンスに追加すると、 レビュー、写真、理由を記載して、ユーザーが 質問:

  • 検索結果にこの場所が表示される理由
  • この場所を選んだ理由は何ですか?

たとえば、Place Details(新版)、テキスト検索(新版)、または 特定の場所を含む Nearby Search(新版)をリリースしました。「 レスポンス データは 3 つのリクエストすべてで同じになります。これは、 その場所に関連付けられます。

ただし、新機能を使用したテキスト検索(新版)では、 入力したクエリ文字列自体から派生したデータも含まれます。つまり、 コンテキスト検索結果はクエリ文字列に対して一意です。たとえば、 次のクエリ文字列を使用したテキスト検索(新版)のリクエスト:

「東京都渋谷区のスパイシーなベジタリアン料理レストラン」

入力パラメータをすべてそのままにして、クエリ文字列だけを変更する これを、次のように変更します。

「東京都渋谷区のスパイシー ビーガン レストラン」

両方のレスポンスに出現するレストランの場合、そのレストランに関する データは場所自体に関連付けられているため、同じです。しかし、 コンテキスト検索の結果は検索クエリに固有で、 必要があります。その後、クチコミ、写真、その他の情報を 正当な理由をユーザーに伝え、 レスポンスのどの部分が検索リクエストに最もよく当てはまるかを判断できます。

Places API の Gemini モデル機能を有効にする(新規)

Gemini モデルの機能を使用するには、Places API(新版)を有効にする必要があります 。詳細については、次をご覧ください: Google Cloud プロジェクトを設定します

試験運用版リリースの制限事項

このリリースでは、米国の場所についての場所とエリアの概要のみがサポートされています 州は英語のみです。

Gemini とは

Gemini モデルについて詳しくは、Gemini よくある質問

場所の概要の生成をリクエストする

場所の要約は、特定の場所のために LLM が生成する要約であり、 できます。Places API(新版)では、レスポンスに次の 2 種類のサマリーを追加します。

  • 概要: 静的な記事に似た概要の生成 概要。生成される短い要約(平均) 約 100 文字程度であるため、次のような利点があります。

    • 多くの場所には編集者による概要がないため、 場所に関する情報が表示されます。

    • LLM から生成されるため、プレイスオーナーは必要ない 維持しなければなりません。

  • 説明 - 要約は、さまざまなソースに基づいて生成されます。 これには Google マップのクチコミも含まれます説明文は、平均で約 400 には、長いメッセージを生成するために使用されるレビューのリストが 説明します。

    説明の要約を手動で生成するには、集計する必要がある コンテンツを手作業で作成して維持する必要がありました。 Places API(新版)向けの Gemini モデル機能により 生成コンテンツの範囲と鮮度を維持します。

場所の概要は、以下でサポートされています。 Place Details (New) テキスト検索(新版)、 および Nearby Search(新版)。 レスポンスに場所の概要を含めるには、 フィールド マスク :

  • Place Details: generativeSummary

  • Text Search と Nearby Search: places.generativeSummary

generativeSummary フィールドには以下のフィールドがあります。

  • generativeSummary.overview: 生成される概要の要約。
  • generativeSummary.description: 生成された説明の概要。
  • generativeSummary.references: 最大 5 つのレビューの配列。最大 5 つの 説明の要約のコンテンツを提供します。説明がない場合 summary では、この配列は空です。

概要リクエストの例

このテキスト検索の例では、スパイシーである overview のサマリーのみが返されます。 カリフォルニア州マウンテンビューのベジタリアン レストラン:

curl -X  POST -d '{
  "textQuery": "Spicy Vegetarian Food",
  "location_bias":{
    "rectangle":{
      "low": {
        "latitude": 37.415,
       "longitude": -122.091},
    "high":{
      "latitude": 37.429,
      "longitude": -122.065}
    }
  },
  "maxResultCount": 5
}' \
-H 'Content-Type: application/json' -H "X-Goog-Api-Key: API_KEY" \
-H "X-Goog-FieldMask: places.id,places.displayName,places.generativeSummary.overview" \
https://places.googleapis.com/v1/places:searchText

レスポンスには、次を含む generativeSummary.overview フィールドが含まれます。 overview.textoverview.languageCode:

{
  "places": [
    {
      "id": "ChIJQ8nPjFW3j4ARcAaUg5pF-Ts",
      "displayName": {
        "text": "Zareen's",
        "languageCode": "en"
      },
      "generativeSummary": {
        "overview": {
          "text": "Casual restaurant serving halal Pakistani and Indian cuisine, plus a selection of vegetarian items.",
          "languageCode": "en-US"
        }
      }
    },
    {
      "id": "ChIJETHw0F-7j4AR85V_I6OobCI",
      "displayName": {
        "text": "Hyderabad Dum Biryani",
        "languageCode": "en"
      },
      "generativeSummary": {
        "overview": {
          "text": "Casual eatery offering vegetarian & non-vegetarian Indian fare, plus breads & desserts.",
          "languageCode": "en-US"
        }
      }
    },
  . . .
}

概要と説明の要約リクエストの例

この例では、前の例と同じクエリを実行しますが、 テキスト全体を返す places.generativeSummary のフィールド マスク generativeSummary オブジェクト(generativeSummary.overview を含む) generativeSummary.descriptiongenerativeSummary.references フィールド:

{
  "places": [
    {
      "id": "ChIJQ8nPjFW3j4ARcAaUg5pF-Ts",
      "displayName": {
        "text": "Zareen's",
        "languageCode": "en"
      },
      "generativeSummary": {
        "overview": {
          "text": "Casual restaurant serving halal Pakistani and Indian cuisine, plus a selection of vegetarian items.",
          "languageCode": "en-US"
        },
        "description": {
          "text": "Pakistani restaurant dishing up comfort food including vegetarian, vegan, and halal options.
          Offerings include chicken tikka masala, naan, and paratha. There's also a salad bar, and dessert is
          available.\nOpen for breakfast, lunch, and dinner, the venue has a casual atmosphere and outdoor rooftop
          seating. People mention the ambiance and say the service is prompt.\nCustomers typically spend $10–20.",
          "languageCode": "en-US"
        },
        "references": {
          "reviews": [
            {
              "name": "places/ChIJQ8nPjFW3j4ARcAaUg5pF-Ts/reviews/ChZDSUhNMG9nS0VJQ0FnSUN4aUtDbVJREAE",
              "relativePublishTimeDescription": "12 months ago",
              "rating": 5,
              "text": {
                "text": "Insanely good Pakistani food with the perfect ambiance! This food never disappoints AND THEY ARE OPEN TILL MIDNIGHT!!",
                "languageCode": "en"
              },
              "originalText": {
                "text": "Insanely good Pakistani food with the perfect ambiance! This food never disappoints AND THEY ARE OPEN TILL MIDNIGHT!!",
                "languageCode": "en"
              },
              "authorAttribution": {
                "displayName": "Anam Qureshi",
                "uri": "https://www.google.com/maps/contrib/116859422317024657778/reviews",
                "photoUri": "https://lh3.googleusercontent.com/a-/ALV-UjWbImVTop_1dl9FTSmec0x00000000-cc-rp-mo"
              },
              "publishTime": "2023-05-09T07:24:36Z"
            },
            . . .
          ]
        }
      }
    },
    {
      "id": "ChIJETHw0F-7j4AR85V_I6OobCI",
      "displayName": {
        "text": "Hyderabad Dum Biryani",
        "languageCode": "en"
      },
      "generativeSummary": {
        "overview": {
          "text": "Indian restaurant offering comfort food including vegetarian and vegan options.",
          "languageCode": "en-US"
        },
        . . .
}

エリアの概要の生成をリクエストする

地域の概要は、LLM が近隣地域について生成する要約です 特定します。地域の概要は、ユーザーが意思決定を行う際に できます。

たとえば、知らない都市のホテルを予約しようとしていて、 要件を満たすホテルを探したり、 ホテル周辺の情報を表示することもできます。周辺の地図を見るのではなく、 地図上の各場所を調査しなければならない場合、 ホテルのエリアの概要を生成します。

地域の概要は次の機能でサポートされています。 Place Details (New) テキスト検索(新版)、 および Nearby Search(新版)

回答に地域の概要を含めるには、 フィールド マスク :

  • areaSummary(Place Details)
  • places.areaSummary(Text Search と Nearby Search)。

areaSummary フィールドに、最大 4 つの配列が含まれます。 contentBlocks。 各ブロックのトピックは、場所のタイプに基づいています。

  • EV 充電スタンドの場合は、タイプの場所として定義 electric_vehicle_charging_station、トピック ブロックには次のものがあります: "overview""coffee""restaurant""store"

  • タイプが 宿泊施設 カテゴリ、特定の場所タイプ geocode および premise、トピック ブロックには "overview""activity""restaurant""store" が含まれます。

で確認できます。

EV 充電スタンドのエリア概要のリクエストの例

この Place Details リクエストの例は、特定の EV のエリアの概要を返します。 場所 ID で識別されるマウンテンビューの充電スタンド ChIJC5b6QKiwj4ARgn2EwlnJnWU:

curl -X GET -H 'Content-Type: application/json' \
  -H "X-Goog-Api-Key: API_KEY" \
  -H "X-Goog-FieldMask: id,displayName,areaSummary" \
  https://places.googleapis.com/v1/places/ChIJC5b6QKiwj4ARgn2EwlnJnWU

レスポンスには、contentBlocks を含む areaSummary フィールドが含まれます。 配列:

  • topic フィールドには、コンテンツ ブロックのタイプを指定します。なぜなら この例は EV 充電スタンドで、4 つのコンテンツ ブロックが "overview""coffee""restaurant""store"

  • content フィールドには、トピックの概要が含まれます。 あります。

  • references 配列には、プレイスのリソース名を次の形式で指定します。 places/PLACE_ID は、次のコンテンツを提供するために使用します: 作成します。

{
  "id": "ChIJC5b6QKiwj4ARgn2EwlnJnWU",
  "displayName": {
    "text": "EVgo Charging Station",
    "languageCode": "en"
  },
  "areaSummary": {
    "contentBlocks": [
      {
        "topic": "overview",
        "content": {
          "text": "Within a 4-minute walk, there are several dining and shopping options from this charging station, including Starbucks and Los Altos Taqueria.",
          "languageCode": "en-US"
        },
        "references": {
          "places": [
            "places/ChIJ-f-lEaiwj4ARB1IwfdLFfRY",
            "places/ChIJhzHBsAe6j4ARvq9oi8u-bqQ"
          ]
        }
      },
      {
        "topic": "coffee",
        "content": {
          "text": "Starbucks offers Wi-Fi, light bites, and its signature roasts in a cozy space.",
          "languageCode": "en-US"
        },
        "references": {
          "places": [
            "places/ChIJ-f-lEaiwj4ARB1IwfdLFfRY"
          ]
        }
      },
      {
        "topic": "restaurant",
        "content": {
          "text": "Los Altos Taqueria serves classic Mexican dishes in a kid-friendly venue.\nHyderabad Dum Biryani specializes in vegetarian and vegan Indian fare, including lunch and dinner options.\nSushi Jin is a popular spot for sushi and other Japanese dishes, featuring a relaxed atmosphere.\nSuper tacos el conrro is a kid-friendly spot for Mexican fare.",
          "languageCode": "en-US"
        },
        "references": {
          "places": [
            "places/ChIJhzHBsAe6j4ARvq9oi8u-bqQ",
            "places/ChIJETHw0F-7j4AR85V_I6OobCI",
            "places/ChIJ-9pg_Qmxj4AR4deSLfZINW0",
            "places/ChIJvcqEhTyxj4AR4ZdQevNxGZk"
          ]
        }
      },
      {
        "topic": "store",
        "content": {
          "text": "Safeway provides a range of groceries, along with a deli and a bakery.",
          "languageCode": "en-US"
        },
        "references": {
          "places": [
            "places/ChIJF7_iDaiwj4ARzdC4NlGzJFI"
          ]
        }
      }
    ]
  }
}

ホテルのエリア概要のリクエストの例

次の Text Search リクエストの例では、カリフォルニア州マウンテンビューのホテルをリクエストします。

curl -X  POST -d '{
  "textQuery": "Hotels",
  "location_bias":{
    "rectangle":{
      "low": {
        "latitude": 37.415,
       "longitude": -122.091},
    "high":{
      "latitude": 37.429,
      "longitude": -122.065}
    }
  },
  "maxResultCount": 5
}' \
-H 'Content-Type: application/json' -H "X-Goog-Api-Key: API_KEY" \
-H "X-Goog-FieldMask: places.id,places.displayName,places.areaSummary" \
https://places.googleapis.com/v1/places:searchText

レスポンスには、contentBlocks を含む areaSummary フィールドが含まれます。 あります。ホテルタイプの場所に対するレスポンスには、次のコンテンツ ブロックが含まれます。 トピック "overview""activity""restaurant""store":

{
  "places": [
    {
      "id": "ChIJ81X7bC63j4ARNJTuqMFBq-4",
      "displayName": {
        "text": "Shashi Hotel Mountain View, an Urban Resort",
        "languageCode": "en"
      },
      "areaSummary": {
        "contentBlocks": [
          {
            "topic": "overview",
            "content": {
              "text": "This area offers several attractions, including Cinemark Century Mountain View 16 and Computer History Museum. Charleston Park provides picnic spots and the Pear Theatre hosts performances.",
              "languageCode": "en-US"
            },
            "references": {
              "places": [
                "places/ChIJOYvCo1W3j4AR1LAifgk13rs",
                "places/ChIJm7NJkla3j4AR8vR-HWRxgOo",
                "places/ChIJo4za6vi5j4ARMua093RgGGA",
                "places/ChIJ4V-yslC3j4ARE6I2cpvyOeU"
              ]
            }
          },
          {
            "topic": "activity",
            "content": {
              "text": "Cinemark Century Mountain View 16 offers XD and RealD 3D screens, plus comfortable seating and a snack bar.\nComputer History Museum showcases the evolution of technology with interactive exhibits.\nRyptic Room Escape Mountain View presents themed rooms where teams solve puzzles to escape.",
              "languageCode": "en-US"
            },
            "references": {
              "places": [
                "places/ChIJOYvCo1W3j4AR1LAifgk13rs",
                "places/ChIJm7NJkla3j4AR8vR-HWRxgOo",
                "places/ChIJ1_ZkCKqwj4ARPaLA4yiEtdI"
              ]
            }
          },
          {
            "topic": "restaurant",
            "content": {
              "text": "Cucina Venti Restaurant prepares Italian cuisine in a rustic setting with outdoor seating.\nRoger Bar and Restaurant provides cocktails on tap, along with an indoor-outdoor bar and dining area.\nBroma Restaurant serves Spanish-inspired tapas and shareable plates in a trendy atmosphere.",
              "languageCode": "en-US"
            },
            "references": {
              "places": [
                "places/ChIJC_3cdla3j4ARMgf4Pw8Irek",
                "places/ChIJh1Y1MA23j4AREJz6Kxl75Uo",
                "places/ChIJLRvDZtu3j4ARgoNrKZnNw8g"
              ]
            }
          },
          {
            "topic": "store",
            "content": {
              "text": "NASA Gear Store and Food Mart offer a variety of gifts and convenience store items.",
              "languageCode": "en-US"
            },
            "references": {
              "places": [
                "places/ChIJh64-r0O3j4ARy1P41IH2j3k",
                "places/ChIJ5ZJtB8u3j4ARR0gohzD8-ns"
              ]
            }
          }
        ]
      }
    },
    ...
  ]
}

コンテキスト検索結果をリクエストする

コメントに対する テキスト検索(新版) request に、入力された検索条件に一致する場所の配列が含まれる 使用します。これで、 入力クエリを API に渡します。

コンテキストに基づく要約をサポートするために、 テキスト検索(新版) 配列と同じレベルに contextualContents という名前の新しい配列が レスポンスの places 配列:

{
  "places": [],
  "contextualContents":[]
}

contextualContents 配列の各要素(次の型) ContextualContent, 対応する配列位置(places 配列内の位置)にあります。 contextualContents[0] の要素は次の場所に対応します。 places[0]

各配列要素には次の配列フィールドがあります。

  • contextualContents.reviews: 最大 3 つの配列 レビュー
  • contextualContents.photos: 最大 5 個の配列 写真
  • contextualContents.justifications: 次の配列 理由 次のような要素が含まれます。

    • reviewJustification: カスタム ディメンションを というセクションがあります。
    • businessAvailabilityAttributesJustification: ユーザーの興味 / 関心のありそうなビジネスの属性を含める できます。

コンテキスト検索結果をレスポンスに含めるには、 contextualContentsフィールド マスク リクエストの内容は次のとおりです。

curl -X  POST  -d '{
  "textQuery": "Spicy vegetarian restaurant in Mountain View, CA",
  "openNow": true,
  "maxResultCount": 3
}' \
-H 'Content-Type: application/json' -H "X-Goog-Api-Key: API_KEY" \
-H "X-Goog-FieldMask: places.id,places.displayName,contextualContents" \
https://places.googleapis.com/v1/places:searchText

レスポンスには、contextualContents レスポンス:

{
  "places": [
    {
      "id": "ChIJETHw0F-7j4AR85V_I6OobCI",
      "displayName": {
        "text": "Hyderabad Dum Biryani",
        "languageCode": "en"
      }
    },
    . . .
  ],
  "contextualContents": [
    {
      "reviews": [
        {
          "name": "places/ChIJETHw0F-7j4AR85V_I6OobCI/reviews/ChdDSUhNMG9nS0VJQ0FnSURSeEtMdHZ3RRAB",
          "relativePublishTimeDescription": "a year ago",
          "rating": 5,
          "text": {
            "text": "Very tasty! Rich spices and textures. We really appreciated
            all of the vegan options. We shared samosas (great sauce!) , tofu 65
            (spicy!!), gobi manchurian (less flavorful but a nice sweet offset to
            the tofu 65) and veg pakoras (very crunchy and awesome flavor). We
            enjoyed all of it, with the pakoras being the table's favorite.",
            "languageCode": "en"
          },
          "originalText": {
            "text": "Very tasty! Rich spices and textures. We really appreciated
            all of the vegan options. We shared samosas (great sauce!) , tofu 65
            (spicy!!), gobi manchurian (less flavorful but a nice sweet offset
            to the tofu 65) and veg pakoras (very crunchy and awesome flavor).
            We enjoyed all of it, with the pakoras being the table's favorite.",
            "languageCode": "en"
          },
          "authorAttribution": {
            "displayName": "Guillaume Riesen",
            "uri": "https://www.google.com/maps/contrib/1131462893/reviews",
            "photoUri": "https://lh3.googleusercontent.com/a-/ALVVXe4iwG_WXt1SjB1rJg=s128-c-c0x00000000-cc-rp-mo-br100"
          },
          "publishTime": "2023-04-18T02:48:02Z"
        },
        {
          "name": "places/ChIJETHw0F-7j4AR85V_I6OobCI/reviews/ChdDSUhNMG9nS0VJQ0FnSUNKZzlhTG53RRAB",
          "relativePublishTimeDescription": "10 months ago",
          "rating": 5,
          "text": {
            "text": "This is a nice little spot to eat at. I'm a big fan of
            curries, and they are spot on when it comes to flavor and spice. I highly recommend this place.",
            "languageCode": "en"
          },
          "originalText": {
            "text": "This is a nice little spot to eat at. I'm a big fan of curries,
            and they are spot on when it comes to flavor and spice. I highly recommend this place.",
            "languageCode": "en"
          },
          "authorAttribution": {
            "displayName": "Paul Sacks",
            "uri": "https://www.google.com/maps/contrib/1106671734435/reviews",
            "photoUri": "https://lh3.googleusercontent.com/a/ACg8ocIAGguhz-EccsS9sVQ=s128-c-c0x00000000-cc-rp-mo-ba4-br100"
          },
          "publishTime": "2023-07-03T16:51:49Z"
        },
        . . .
      ],
      "photos": [
        {
          "name": "places/ChIJETHw0F-7j4AR85V_I6OobCI/photos/Vt2DAKajwJfgC_I-baPKjSeSw-JAXY-tCZOBAe7pBxxIS0Vo1w23sCO9o5RzoxJ",
          "widthPx": 1920,
          "heightPx": 1080,
          "authorAttributions": [
            {
              "displayName": "A Google User",
              "uri": "//maps.google.com/maps/contrib/113209927655010465422",
              "photoUri": "//lh3.googleusercontent.com/a-/ALV-UjV_8hbrtgycOLDgOqPRYhzJ0EJlBFyKo9OrmacOo3C5YvrtR4Q=s100-p-k-no-mo"
            }
          ]
        },
        {
          "name": "places/ChIJETHw0F-7j4AR85V_I6OobCI/photos/AUGGfZkJ4MMlLikE2EyP-b13GeFZ9YNzyjkjDMD15gyobIQtIYg1GFPy3BdQHAaA3iNwhk24vK212hZo",
          "widthPx": 960,
          "heightPx": 720,
          "authorAttributions": [
            {
              "displayName": "Toast"
            }
          ]
        },
        . . .
      ],
      "justifications": [
        {
          "reviewJustification": {
            "highlightedText": {
              "text": "\"Not too spicy or oily.\"",
              "highlightedTextRanges": [
                {
                  "startIndex": 9,
                  "endIndex": 14
                }
              ]
            },
            "review": {
              "name": "places/ChIJETHw0F-7j4AR85V_I6OobCI/reviews/ChZDSUhNMG9nS0VJQ0FnSUR4djR2Z1B3EAE",
              "relativePublishTimeDescription": "10 months ago",
              "rating": 5,
              "text": {
                "text": "Not too spicy or oily. We have the mutton dum biryanis
                and tandoori fish. Very flavorful. The food was served promptly.
                Clean environment. A little small more like a hole in the wall.
                We'd come back for sure.",
                "languageCode": "en"
              },
              "originalText": {
                "text": "Not too spicy or oily. We have the mutton dum biryanis
                and tandoori fish. Very flavorful. The food was served promptly.
                Clean environment. A little small more like a hole in the wall.
                We'd come back for sure.",
                "languageCode": "en"
              },
              "authorAttribution": {
                "displayName": "Harpal Kochar",
                "uri": "https://www.google.com/maps/contrib/1166232959/reviews",
                "photoUri": "https://lh3.googleusercoEnzB1zdrNbR00000-cc-rp-mo"
              },
              "publishTime": "2023-06-18T06:12:41Z"
            }
          }
        },
        {
          "businessAvailabilityAttributesJustification": {
            "dineIn": true
          }
        }
      ]
    },
    . . .
  ]
}

自動車ユースケースの実装ガイダンス

ドライバーの安全のため、Google は生成 AI による要約を 駐車モードもサポートしています運転モードで要約をレンダリングする場合 画面上の情報は、 運転手の注意がすぐに戻ります

  • 最大 3 行
  • 半角 120 文字(全角 60 文字)以下
  • 前面の最小サイズは 24 dp

特に自動車の分野では、開発には開発者の責任で 生成 AI による要約を、あらゆるものに準拠し安全な方法でレンダリングする 法律および規制を遵守する必要があります

帰属表示

アプリにレビュー、写真、生成 AI による要約を表示すると、 表示する場合は [ 提供します。

生成された要約の帰属を表示する

アプリに生成 AI によるサマリー(場所や地域など)を表示する場合 必要な帰属表示も表示する必要があります。このセクション 生成 AI の表示方法に基づいて帰属情報を表示する方法について説明します。 要約を作成できます

いずれの場合も、アトリビューションでは大文字と小文字の区別を使用する必要があります。アトリビューションと Google ロゴは、すべての色、スタイル、書体の標準に準拠している必要があります。詳細 詳細については、このモジュールの Places API(新版)のポリシー

他の Google データのコンテキストで表示された生成 AI サマリー

この場合、生成 AI のアトリビューションは単独で表示することも、上部に表示することもできます。 その他のコンテンツについては、Google の帰属を前提としています。

帰属表示には「AI による要約」というテキストを使用してくださいこのようになります。

帰属表示には「AI による要約」というテキストを使用します。

単独で表示される生成 AI の概要

生成 AI による要約が、他のコンテンツとは独立して表示される場合、 生成 AI の帰属表示と帰属表示の両方を Google は interpunct で区切られます。帰属表示には、「要約」というテキストを使用します。 。次の画像のように、Google のロゴが表示されます。

単独で表示される要約の場合は、生成 AI のアトリビューションと
  Google アトリビューション(区切り記号で区切る)。

リストで繰り返されている生成 AI の要約

生成 AI について繰り返し説明する場合、 場所の概要を場所のリストで表示する ここで、

  • リストのコンテンツが Google に帰属する
  • 表示される要約は AI で生成されたものです
  • コンテンツは Google から入手できます

帰属表示は、リストの上または下に 1 行で表示します。 AI アトリビューションは左揃えで、Google アトリビューションは 右揃え:

リストの場合は、帰属表示をリストの上または下に 1 行で表示します。

生成 AI の説明の要約が長文の場合 各要約に AI が付加されている必要があります 情報アイコン/ボタン付きの「AI による要約」。

生成 AI による要約に関する情報をダイアログに表示する

生成 AI による要約とともに、会話を終了できるようにする必要があります ユーザーが概要に関する情報と問題を報告するためのリンクを表示します。 生成 AI を使用する場合 description summary(説明の要約): 参照と呼ばれる要約の情報源について。

情報アイコン(インタラクティビティとして)を含めることで、このダイアログにアクセスできるようにします アフォーダンスなど)と AI アトリビューション(上記の図を参照)を組み合わせて、 AI アトリビューションの領域とアイコンを 押したりクリックしたりします。

場所の概要を生成する場合は、以下を表示します。

概要 AI による場所の要約は、Google のクチコミやその他の情報から生成されます。 分析できます
問題を報告する 要約の内容について Google に問題を報告する手順は次のとおりです。 こちらのリンクをクリックしてください。
参照 ソースレビュー

例:

生成 AI による要約に関する情報をダイアログに表示します。

地域の概要を生成する場合は、次のように表示します。

概要 AI エリアの概要は、Google のクチコミとローカルデータから生成されます。
問題を報告する 要約の内容について Google に問題を報告する手順は次のとおりです。 こちらのリンクをクリックしてください。

表示領域の概要アトリビューション。