Places API 的 Gemini 模型功能

Places API 的 Gemini 模型功能 (新功能) 支援大型語言模型, Places API,用來傳回與地點相關的資料 (營業時間、評論和相片),以及 LLM 提供的資料。這個 生成式資料包含 LLM 的匯總和摘要資料,可提升 與地點相關聯的資料

例如標準廣告 Text Search (新版) 「電動車充電站」會傳回提供電動車充電的地點清單。這個 無論你只是搜尋最近的電動車充電器,或是 最接近與車輛相容的位置

但您可能也希望更瞭解周圍區域 充電站,尤其是您會到家中超過一小時 。使用 Gemini 模型功能時 相同搜尋,回應可包含個別的動態、生成說明 包括充電區域的相關資訊 電台:

  • 「步行 2-4 分鐘內,有多家餐廳和商店 包括 Chef Chu's、Gen 韓文烤肉餐廳、印度琥珀、太平洋 捕獲及數間雜貨店,例如 Walmart、Whole Foods Market Trader Joe's。」

  • 「步行 1-5 分鐘內,有多家餐廳和商店 包括「Khao Kang Thai Kitchen」、「Roger's Deli」和Donuts 和 La 哥斯大黎加。就壽司而言,Joy Sushi 是很好的選擇。購買雜貨時,應使用美金樹 提供各式各樣商品的折扣

這些 LLM 生成的內容能提高回覆品質,並提供 有助使用者在充分掌握資訊的情況下做出決定。

Places API 中新增了採用 AI 技術的功能 (新功能)

這些功能會將下列資料新增至 Places API (新版) 回應:

生成地點摘要

生成的地點摘要是專屬地點 ID。地點摘要 將許多不同類型的資料彙整成單一地點摘要。

Places API (新版) 提供兩種生成地點摘要:

  • 總覽摘要:地點的簡要總覽 100 個字元,可協助使用者取得地點的數據匯報。

  • 說明摘要:平均來說,地點的摘要內容越長。 大約 400 個字元,詳盡地說明頂端 建築物不同層面

地點摘要目前適用於支援的地點類型 類別 文化娛樂與休閒餐飲購物、 和運動

生成區域摘要

生成區域摘要是由 LLM 根據鄰近區域生成 。地點的區域摘要可能包含所有必要資訊 讓使用者做出決定,不必 就能細查地區詳細資料

除了說明區域說明外,回應中還包含 說明中參照的地點 ID,以及地點清單 並依不同的內容類型排序例如,一種內容類型包含清單 與當地活動相關的地點,而另一個則包含 附近的餐廳。

系統目前可針對以下地點顯示的地點類型提供區域摘要: 支援類型 (住宿類別) 以及特定的地點類型 electric_vehicle_charging_stationgeocodepremise

產生地點和區域摘要

生成式地點摘要和生成式區域摘要 通常是由 Google 經常產生離線產生這些摘要後 使用 Gemini 技術提供的內容,畫面顯示 與您期望的 Places API (新版) 相同。

Google 會經常重新產生這些摘要,確保內容符合現況 都是以最新的資訊為準也就是說,您將在 您呼叫 API 時,服務會使用最新的資料。

內容比對搜尋結果

Text Search (新版) 可根據字串傳回一組地點的相關資訊 — 例如「臺北披薩」或「渥太華附近的鞋店」。Text Search (New) 回應包含與文字字串和任何 要求中所設定的位置自訂調整。

在回應中新增內容相關搜尋結果時,系統會立即回應 當中會列出評論、相片和原因 問題:

  • 為什麼我的搜尋結果會顯示這個地點?
  • 為何要選擇這個地點?

例如,您向 Place Details (新版)、Text Search (新版) 或 今天的 Nearby Search (新版),當中包含回覆中的特定地點。 所有三種要求的地點回應資料都相同,因為 傳回的資料則會與該地點相關聯。

不過,使用新功能執行 Text Search (新版) 時, 納入來自輸入查詢字串本身的資料。也就是說 而是只針對該查詢字串顯示專屬的內容搜尋結果。例如,假設您設定 含有下列查詢字串的 Text Search (新版) 要求:

「加州山景城的素食餐廳」

隨後所有輸入參數維持不變,只變更查詢字串 改為:

「加州山景城的純素餐廳」

假如餐廳同時出現在兩個回應中, 地點相同,因為這些資料與地點本身相關。不過 查詢內容獨有相關的內容搜尋結果,因為它們是擷取自 查詢字串。你可以選擇顯示評論、相片和 從內容相關搜尋結果提供給使用者的理由 判斷回應中的哪個位置最符合他們的搜尋要求。

為 Places API 啟用 Gemini 模型功能 (新功能)

必須啟用 Places API (新版),才能使用 Gemini 模型功能 Places API (新版)。若需更多資訊,請參閲 設定 Google Cloud 專案

實驗版本的限制

這個版本僅支援美國的地點和區域摘要 目前僅支援英文。

Gemini 是什麼?

如要瞭解 Gemini 模型,請參閱 Gemini 常見問題

要求產生地點摘要

地點摘要是大型語言模型根據 。Places API (新版) 會在回應中加入兩種摘要:

  • 總覽:生成類似靜態內容摘要的生成式摘要 地點的摘要。平均來說,生成式 AI 的簡短摘要 就會有以下幾個優點:

    • 許多地點並未提供編輯摘要,因此會在 特定地點的其他資訊

    • 這些摘要是由 LLM 生成,因此不需要地點擁有者 維護這些資源

  • 說明生成式摘要取自許多來源 包括 Google 地圖的評論平均約 400 則說明 也包含用來產生長篇評論的評論清單 生成 3D 物件

    使用者需要匯總資料,才能手動生成說明摘要 再手動製作及維護內容 Places API 的 Gemini 模型功能 (新版) 會建立這些摘要 確保生成內容的涵蓋範圍和新鮮度

地點摘要功能適用於 Place Details (新版) Text Search (新版), 和 搜尋附近地點 (新版)。 如要在回應中納入地點摘要,請在 欄位遮罩 的要求:

  • Place DetailsgenerativeSummary

  • Text Search and Nearby Searchplaces.generativeSummary

generativeSummary 欄位包含下列欄位:

  • generativeSummary.overview:生成式總覽摘要。
  • generativeSummary.description:生成式說明摘要。
  • generativeSummary.references:最多包含 5 則評論的陣列, 提供說明摘要的內容如果沒有說明 則屬於空白陣列。

總覽摘要要求範例

這個 Text Search 範例只會傳回辣度的 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 (新版) Text Search (新版), 和 搜尋附近地點 (新版)

如要在回覆中附上區域摘要,請在 欄位遮罩 的要求:

  • areaSummary (Place Details)
  • places.areaSummary (「搜尋文字」和「附近地點搜尋」)。

areaSummary 回應中地點的欄位包含最多四個陣列 contentBlocks。 每個區塊的主題取決於地點類型:

  • 電動車充電站,定義為地點 electric_vehicle_charging_station,主題區塊包括:"overview""coffee""restaurant""store"

  • 如果地點的類型是由 住宿地點 類別以及特定地點類型 geocodepremise,以及主題 區塊包括:"overview""activity""restaurant""store"

,瞭解如何調查及移除這項存取權。

電動車充電站區域摘要的要求範例

這個 Place Details 要求範例會傳回特定電動車的區域摘要 臺北市的充電站 (以地點 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

回應中包含 areaSummary 欄位,包括 contentBlocks 陣列:

  • topic 欄位會指定內容區塊的類型。由於 這個範例是電動車充電站,而 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

回應中包含 areaSummary 欄位,包括 contentBlocks 陣列。旅館類型的回應包含 主題 "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"
              ]
            }
          }
        ]
      }
    },
    ...
  ]
}

要求情境搜尋結果

Text Search (新版) 要求包含符合輸入搜尋條件的地點陣列 字串。現在您可以在回應中,根據 輸入查詢至 API

為了支援內容摘要 Text Search (新版) 內含名為 contextualContents 的新陣列,其層級與 回應中的 places 陣列:

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

contextualContents 陣列中的每個元素,類型為 ContextualContent, 位於對應的陣列位置,做為 places 陣列中的位置。沒錯 是 contextualContents[0] 的元素對應位置 places[0]

每個陣列元素包含下列陣列欄位:

  • contextualContents.reviews:最多三個陣列 評論
  • contextualContents.photos:最多包含五個的陣列 相片
  • contextualContents.justifications理由 ,包括:

    • reviewJustification:醒目顯示 可能感興趣的使用者評論部分。
    • businessAvailabilityAttributesJustification: 加入可能感興趣的商家屬性 內容。

如要在回覆中加入關聯搜尋結果,請加上 contextualContents欄位遮罩 部分文字 Search (新版) 請求中的快訊:

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 個半形字元或 24 個字以內
  • 前端最小尺寸為 24dp

特別是在汽車時,開發人員必須負責 以安全且符合法規的方式呈現生成式 AI 摘要 當地法律和法規。

歸因

在應用程式中顯示評論、相片和生成式 AI 摘要時 包括地點和區域摘要,您也必須顯示 必要的作者資訊

顯示生成摘要的作者資訊

在應用程式中顯示生成式 AI 摘要時 (包括地點和區域) 當中也需要列出必要的作者資訊。這個區段 說明如何根據生成式 AI 的顯示方式,顯示出處 在應用程式中提供摘要

在所有情況下,作者資訊都必須以句首字母大寫。出處和 Google 標誌必須符合所有顏色、樣式和字體標準。如要 有關這些標準的資訊,詳情請參閱 Places API 政策 (新版)

生成式 AI 摘要顯示在其他 Google 資料中

在這種情況下,生成式 AI 出處可以單獨顯示,或是顯示在上方,或是 則需要 Google 的作者資訊標示在其他來源提供內容。

如果選擇提供出處,請使用「由 AI 產生摘要」字樣如下圖所示:

對於出處,請使用由 AI 生成的摘要文字。

單獨顯示生成式 AI 摘要

生成式 AI 摘要獨立出現時 Google 地圖必須同時包含生成式 AI 歸因和歸因於 Google 以插邊分隔。屬性請使用「摘要」字樣 由 AI 技術製作」以及 Google 標誌,如下圖所示:

如要單獨顯示的摘要,請加入生成式 AI 歸因和
  Google 歸因模式,並以半形逗號分隔。

清單中重複出現生成式 AI 摘要

重複使用生成式 AI 地點摘要總覽。 其中:

  • 清單內容歸 Google 所有
  • 顯示的摘要內容是由 AI 生成
  • 可從 Google 取得的內容

出處必須顯示於清單上方或下方,且在同一行中。 AI 歸因分析經過靠左對齊,Google 歸因分析是 靠右對齊:

如為清單,請將出處列於清單的上方或下方,一行顯示。

較長形式的生成式 AI 說明摘要 在清單中使用時,每份摘要都必須包含 出處 (標有資訊圖示/按鈕和「由 AI 生成摘要」)。

在對話方塊中顯示生成式 AI 摘要的相關資訊

除了生成式 AI 摘要,也必須將對話方塊結束 ,包括摘要相關資訊以及回報問題的連結。 使用生成式 AI 時 說明摘要,請務必提供 摘要來源 (稱為參照)。

加入資訊圖示 (做為互動活動) 來啟用這個對話方塊的存取權 可負擔性) 結合 AI 歸因 (如上所述) 並使 AI 歸因區域和圖示能回應 按下/點選。

如要查看生成式地點摘要,請顯示:

關於 AI 地點摘要是根據 Google 評論和其他內容生成 資料。
回報問題 如要向 Google 回報摘要內容相關問題, 請點選這個連結
參考資料 來源評論

例如:

在對話方塊中顯示生成式 AI 摘要的相關資訊。

如要查看生成區域摘要,請填入以下資訊:

關於 AI 區域摘要是根據 Google 評論和當地資料產生。
回報問題 如要向 Google 回報摘要內容相關問題, 請點選這個連結

顯示區域摘要歸因。