AI 輔助區域摘要
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
系統會為地點周圍區域生成 AI 輔助的區域摘要。區域摘要會提供地點的額外背景資訊,包括附近的景點,方便使用者更明智地決定目的地和行程。
舉例來說,當您造訪新城市時,可以查看飯店的街區摘要,進一步瞭解周邊區域:
"這個位於舊金山的熱鬧區域融合了北灘和中國城,位於金融區西北方,有文學地標、獨特的文化景點和多元的餐飲選擇。值得一遊的地點包括標誌性的城市之光書店、引人入勝的纜車博物館,以及熱鬧的唐人街。
這個區域融合了歷史與文化,雖然有些山丘和人潮,但友善的行人環境仍吸引許多人前來探索。在 City Lights Bookstore 沉浸於文學史中,在唐人街體驗充滿活力的文化,參觀寺廟和幸運餅工廠,或在纜車博物館回到過去。從道地的中式料理到美味的披薩,這裡有各式各樣的餐飲選擇。"
如果考慮為電動車充電,可以查看電動車充電站的摘要,尋找附近的咖啡館或餐廳,在等待期間前往:
- 「這個區域提供多種餐飲選擇,步行 9 分鐘即可抵達,
包括星巴克、Sushi Jin 和 Safeway。」
除了區域說明外,回應也包含說明中提及的地點 ID 清單。
Places API (新版) 提供兩種 AI 輔助的區域摘要:
- 鄰近地區摘要:針對類型為
premise
、street_address
的地點,以及「住家」和「住宿」類別中的所有類型,提供附近景點的高層級總覽。
- 電動車充電站 (EVCS) 設施摘要,可為類型為
electric_vehicle_charging_station
的地點提供附近景點的概略總覽。
Place Details (新版)、Text Search (新版) 和 Nearby Search (新版) 均支援 AI 技術生成區域摘要。
以下語言和地區的搜尋點支援區域摘要:
要求提供鄰里摘要
系統可為類型為 premise
、street_address
的地點,以及「房屋」和「住宿」類別中的所有類型生成鄰里摘要。如要在回應中傳回鄰里摘要,請在要求欄位遮罩中加入下列項目:
- 地點詳細資料 (新版):
neighborhoodSummary
- Text Search (新版) 和 Nearby Search (新版):
places.neighborhoodSummary
回應中地點的 neighborhoodSummary
欄位包含下列項目:
- 兩個子欄位:
overview
和 description
。overview
子欄位包含地點附近的特定搜尋點,而 description
子欄位則提供周邊區域的更一般資訊。每個子欄位都包含參照地點資源名稱的清單,格式為 place/PLACE_ID
。
flagContentUri
連結:使用者可透過這個連結檢舉生成的摘要有問題。
- 含有揭露文字「由 Gemini 摘要」的本地化文字字串,必須納入出處資訊。
以下範例要求紐約市某間飯店的鄰近地區摘要:
curl -X GET -H 'Content-Type: application/json' \
-H "X-Goog-Api-Key: API_KEY" \
-H "X-Goog-FieldMask: id,displayName,neighborhoodSummary" \
'https://places.googleapis.com/v1/places/ChIJT0DdRo1ZwokRkufwSD-TdGM'
回覆格式如下:
{
"id": "ChIJT0DdRo1ZwokRkufwSD-TdGM",
"displayName": {
"text": "Courtyard New York Manhattan/SoHo",
"languageCode": "en"
}
"neighborhoodSummary": {
"overview": {
"content": {
"text": "This area resides within SoHo, a trendy Lower Manhattan neighborhood celebrated for its upscale boutiques, designer shops, and thriving art scene. The area is home to the Color Factory and Dominique Ansel Bakery, known for its popular Cronuts.",
"languageCode": "en-US"
},
"referencedPlaces": [
"places/ChIJZd0F3oxZwokRiaEouMZKQ-0",
/.../
]
},
"description": {
"content": {
"text": "SoHo's walkability and convenient public transportation options make exploration easy. A diverse array of restaurants and cafes cater to varied tastes. SoHo's central location, surrounded by vibrant neighborhoods, contributes to its fast-paced and energetic atmosphere, with a focus on fashion and design.",
"languageCode": "en-US"
},
"referencedPlaces": [
"places/ChIJZd0F3oxZwokRiaEouMZKQ-0",
/.../
]
},
"flagContentUri": "https://www.google.com/local/review/rap/report?postId=&d=17924085&t=12",
"disclosureText": {
"text": "Summarized with Gemini",
"languageCode": "en-US"
}
}
}
要求提供電動車充電站設施摘要
如果地點類型為 electric_vehicle_charging_station
,系統可以產生電動車充電站 (EVCS) 設施摘要。如要在回應中加入 EVCS 設施摘要,請在要求的欄位遮罩中加入下列項目:
- 地點詳細資料 (新版):
evChargeAmenitySummary
- Text Search (新版) 和 Nearby Search (新版):
places.evChargeAmenitySummary
回應中地點的 evChargeAmenitySummary 欄位包含下列資訊:
- 四個子欄位:
overview
、coffee
、restaurant
和 store
。每個子欄位都包含附近搜尋點的簡短說明,以及 place/PLACE_ID
格式的參照地點資源名稱清單。
flagContentUri
連結,使用者可透過這個連結檢舉生成的摘要有問題。
- 本地化文字字串,內含揭露文字「由 Gemini 摘要」
,必須納入出處資訊。
以下範例要求 Mountain View 充電站的電動車充電站設施摘要:
curl -X GET -H 'Content-Type: application/json' \
-H "X-Goog-Api-Key: API_KEY" \
-H "X-Goog-FieldMask: id,displayName,evChargeAmenitySummary" \
'https://places.googleapis.com/v1/places/ChIJtwHgNNa2j4ARlC8vbI9lLZA'
回覆格式如下:
{
"id": "ChIJf8j-4z23j4AR_MQ2-bgMmrY",
"displayName": {
"text": "EVgo Charging Station",
"languageCode": "en"
},
"evChargeAmenitySummary": {
"overview": {
"content": {
"text": "Within a short walk, there are several coffee and restaurant options, including Clocktower Coffee Roasting Company, Khao Kang Thai Kitchen, and Roger's Deli & Donuts.",
"languageCode": "en-US"
},
"referencedPlaces": [
"places/ChIJZZR2-j23j4ARi5CXEIAc57Q",
/.../
]
},
"coffee": {
"content": {
"text": "Clocktower Coffee Roasting Company has Wi-Fi and a variety of coffee and pastries in a laid-back atmosphere.",
"languageCode": "en-US"
},
"referencedPlaces": [
"places/ChIJZZR2-j23j4ARi5CXEIAc57Q"
]
},
"restaurant": {
"content": {
"text": "Roger's Deli & Donuts is a bustling deli with sandwiches and breakfast items.\nJoy Sushi serves classic Japanese dishes, including vegetarian and healthy options.\nSubway is a chain sandwich shop offering its usual subs, wraps, and salads.",
"languageCode": "en-US"
},
"referencedPlaces": [
"places/ChIJQ4F3PBa3j4ARf7_QjN1Cklo",
/.../
]
},
"store": {
"content": {
"text": "Rotten Robbie is a chain gas station with a convenience store and a restroom.",
"languageCode": "en-US"
},
"referencedPlaces": [
"places/ChIJA6deFBa3j4AREY0EyTEGhN8",
/.../
]
},
"flagContentUri": "https://www.google.com/local/review/rap/report?postId=ABCDEFG=1234567&t=12",
"disclosureText": {
"text": "Summarized with Gemini",
"languageCode": "en-US"
}
}
}
歸因
應用程式中顯示的所有 AI 生成摘要,都必須按照 Google 政策和標準附上適當的出處資訊。詳情請參閱「Places API 政策」。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-29 (世界標準時間)。
[null,null,["上次更新時間:2025-08-29 (世界標準時間)。"],[],[],null,["# AI-powered area summaries are generated for the area surrounding a place. Area\nsummaries provide additional context for a location, including points of\ninterest nearby, so that users can make a more informed decision about where to\ngo and what to do once they get there.\n\nFor example, when visiting a new city, you can view a generated neighborhood\nsummary for a hotel to learn more about the surrounding area:\n\n- *\"This vibrant area in San Francisco, blending North Beach and Chinatown,\n sits northwest of the Financial District and features literary landmarks,\n unique cultural attractions, and diverse dining. Notable spots include the\n iconic City Lights Bookstore, the fascinating Cable Car Museum, and the\n bustling streets of Chinatown.*\n\n *The area offers a unique blend of history and culture, where a\n pedestrian-friendly environment invites exploration despite some hills and\n crowds. Immerse yourself in the literary history at City Lights Bookstore,\n experience the vibrant culture of Chinatown with its temples and fortune\n cookie factories, or step back in time at the Cable Car Museum. A variety of\n dining options await, from authentic Chinese cuisine to delicious pizza.\"*\n\nIf you are considering charging an electric vehicle, you can view a generated\nsummary for an electric vehicle charging station to find nearby coffee shops or\nrestaurants to visit while you wait:\n\n- *\"This area offers a range of dining options within a 9-minute walk,\n including Starbucks, Sushi Jin, and Safeway.\"*\n\nAlong with a description of the area, the response also contains a list of place\nIDs for the places referenced in the description.\n\nPlaces API (New) provides two types of AI-powered area summaries:\n\n- **Neighborhood summaries** , which provide high-level overviews of nearby attractions for places with types `premise`, `street_address`, and all types in the **[Housing](/maps/documentation/places/web-service/place-types#housing)** and **[Lodging](/maps/documentation/places/web-service/place-types#lodging)** categories.\n- **Electric vehicle charging station (EVCS) amenity summaries** , which provide high-level overviews of nearby attractions for places with type `electric_vehicle_charging_station`.\n\nAI-powered area summaries are supported in\n[Place Details (New)](/maps/documentation/places/web-service/place-details),\n[Text Search (New)](/maps/documentation/places/web-service/text-search),\nand\n[Nearby Search (New)](/maps/documentation/places/web-service/nearby-search).\n\nArea summaries are supported for points of interest in the following languages and regions:\n\n| Language | Region |\n|----------|---------------|\n| English | United States |\n\n**Note:** Area summaries are not guaranteed for all places. \n[Try the AI-powered summaries demoopen_in_new](https://mapsplatform.google.com/gemini-placesapi-demo/)\n\nRequest a neighborhood summary\n------------------------------\n\nNeighborhood summaries can be generated for places with types `premise`,\n`street_address`, and all types in the\n**[Housing](/maps/documentation/places/web-service/place-types#housing)** and\n**[Lodging](/maps/documentation/places/web-service/place-types#lodging)**\ncategories. To return a neighborhood summary in the response, include the\nfollowing in the field mask of your request:\n\n- **Place Details (New):** `neighborhoodSummary`\n- **Text Search (New)** and **Nearby Search (New):** `places.neighborhoodSummary`\n\nThe `neighborhoodSummary` field for a place in the response contains the\nfollowing:\n\n- Two subfields: `overview` and `description`. The `overview` subfield includes nearby points of interest specific to the place, while the `description` subfield provides more general information about the surrounding area. Each subfield includes a list of referenced place resource names in the form `place/PLACE_ID`.\n- A [`flagContentUri`](/maps/documentation/places/web-service/content-reporting) link where users can flag a problem with the generated summary.\n- A localized text string with the disclosure text \"Summarized with Gemini\" that must be incorporated in the attributions.\n\nThe following example requests a neighborhood summary for a hotel in New York\nCity: \n\n```\ncurl -X GET -H 'Content-Type: application/json' \\\n-H \"X-Goog-Api-Key: API_KEY\" \\\n-H \"X-Goog-FieldMask: id,displayName,neighborhoodSummary\" \\\n'https://places.googleapis.com/v1/places/ChIJT0DdRo1ZwokRkufwSD-TdGM'\n```\n\nThe response is in the form: \n\n```json\n{\n \"id\": \"ChIJT0DdRo1ZwokRkufwSD-TdGM\",\n \"displayName\": {\n \"text\": \"Courtyard New York Manhattan/SoHo\",\n \"languageCode\": \"en\"\n }\n \"neighborhoodSummary\": {\n \"overview\": {\n \"content\": {\n \"text\": \"This area resides within SoHo, a trendy Lower Manhattan neighborhood celebrated for its upscale boutiques, designer shops, and thriving art scene. The area is home to the Color Factory and Dominique Ansel Bakery, known for its popular Cronuts.\",\n \"languageCode\": \"en-US\"\n },\n \"referencedPlaces\": [\n \"places/ChIJZd0F3oxZwokRiaEouMZKQ-0\",\n /.../\n ]\n },\n \"description\": {\n \"content\": {\n \"text\": \"SoHo's walkability and convenient public transportation options make exploration easy. A diverse array of restaurants and cafes cater to varied tastes. SoHo's central location, surrounded by vibrant neighborhoods, contributes to its fast-paced and energetic atmosphere, with a focus on fashion and design.\",\n \"languageCode\": \"en-US\"\n },\n \"referencedPlaces\": [\n \"places/ChIJZd0F3oxZwokRiaEouMZKQ-0\",\n /.../\n ]\n },\n \"flagContentUri\": \"https://www.google.com/local/review/rap/report?postId=&d=17924085&t=12\",\n \"disclosureText\": {\n \"text\": \"Summarized with Gemini\",\n \"languageCode\": \"en-US\"\n }\n }\n}\n```\n\nRequest an EVCS amenity summary\n-------------------------------\n\nElectric vehicle charging station (EVCS) amenity summaries can be generated for\nplaces with type `electric_vehicle_charging_station`. To include the EVCS\namenity summary in the response, include the following in the field mask of your\nrequest:\n\n- **Place Details (New):** `evChargeAmenitySummary`\n- **Text Search (New)** and **Nearby Search (New):** `places.evChargeAmenitySummary`\n\nThe **evChargeAmenitySummary** field for a place in the response contains the\nfollowing:\n\n- Four subfields: `overview`, `coffee`, `restaurant`, and `store`. Each subfield includes a brief description of nearby points of interest and a list of referenced place resource names in the form `place/PLACE_ID`.\n- A `flagContentUri` link where users can flag a problem with the generated summary.\n- A localized text string with the disclosure text \"Summarized with Gemini\" that must be incorporated in attributions.\n\nThe following example requests an EV charging station amenity summary for a\ncharging station in Mountain View: \n\n```\ncurl -X GET -H 'Content-Type: application/json' \\\n-H \"X-Goog-Api-Key: API_KEY\" \\\n-H \"X-Goog-FieldMask: id,displayName,evChargeAmenitySummary\" \\\n'https://places.googleapis.com/v1/places/ChIJtwHgNNa2j4ARlC8vbI9lLZA'\n```\n\nThe response is in the form: \n\n```json\n{\n \"id\": \"ChIJf8j-4z23j4AR_MQ2-bgMmrY\",\n \"displayName\": {\n \"text\": \"EVgo Charging Station\",\n \"languageCode\": \"en\"\n },\n \"evChargeAmenitySummary\": {\n \"overview\": {\n \"content\": {\n \"text\": \"Within a short walk, there are several coffee and restaurant options, including Clocktower Coffee Roasting Company, Khao Kang Thai Kitchen, and Roger's Deli & Donuts.\",\n \"languageCode\": \"en-US\"\n },\n \"referencedPlaces\": [\n \"places/ChIJZZR2-j23j4ARi5CXEIAc57Q\",\n /.../\n ]\n },\n \"coffee\": {\n \"content\": {\n \"text\": \"Clocktower Coffee Roasting Company has Wi-Fi and a variety of coffee and pastries in a laid-back atmosphere.\",\n \"languageCode\": \"en-US\"\n },\n \"referencedPlaces\": [\n \"places/ChIJZZR2-j23j4ARi5CXEIAc57Q\"\n ]\n },\n \"restaurant\": {\n \"content\": {\n \"text\": \"Roger's Deli & Donuts is a bustling deli with sandwiches and breakfast items.\\nJoy Sushi serves classic Japanese dishes, including vegetarian and healthy options.\\nSubway is a chain sandwich shop offering its usual subs, wraps, and salads.\",\n \"languageCode\": \"en-US\"\n },\n \"referencedPlaces\": [\n \"places/ChIJQ4F3PBa3j4ARf7_QjN1Cklo\",\n /.../\n ]\n },\n \"store\": {\n \"content\": {\n \"text\": \"Rotten Robbie is a chain gas station with a convenience store and a restroom.\",\n \"languageCode\": \"en-US\"\n },\n \"referencedPlaces\": [\n \"places/ChIJA6deFBa3j4AREY0EyTEGhN8\",\n /.../\n ]\n },\n \"flagContentUri\": \"https://www.google.com/local/review/rap/report?postId=ABCDEFG=1234567&t=12\",\n \"disclosureText\": {\n \"text\": \"Summarized with Gemini\",\n \"languageCode\": \"en-US\"\n }\n }\n}\n```\n\nAttributions\n------------\n\nAll AI-powered summaries displayed in your app must be accompanied by the\nappropriate attribution in accordance with Google's policies and standards. For\nmore information, see [Policies for Places\nAPI](/maps/documentation/places/web-service/policies#ai-powered_summaries)."]]