AI 技術產生的評論摘要
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
AI 輔助評論摘要是 AI 根據使用者評論生成的摘要,評論摘要會整合使用者評論的關鍵要素,例如地點屬性和評論者情緒,提供高層級的洞察資料,協助使用者做出明智決策。
舉例來說,舊金山渡輪大廈的評論摘要包含美食、購物、景色和氛圍等資訊:
"遊客表示,這個歷史地標提供多樣化的商店、餐廳和農夫市集,許多人讚賞海灣和城市景觀。他們也強調這裡充滿活力、可搭乘渡輪前往其他目的地,以及享受當地商家服務的機會。」
Place Details (新版)、Text Search (新版) 和 Nearby Search (新版) 均支援評論摘要。
下列語言和地區的興趣點支援評論摘要:
語言 |
區域 |
英文 |
印度
日本
英國
美國
|
日文 |
日本 |
要求提供評論摘要
如要要求提供評論摘要,請在要求的欄位遮罩中加入 reviewSummary
:
- 地點詳細資料 (新版):
reviewSummary
- Text Search (新版) 和 Nearby Search (新版):
places.reviewSummary
評論摘要的註記必須包含 Google 地圖上該地點評論的連結。如要擷取該連結,請在要求的欄位遮罩中加入 reviewSummary.reviewsUri
。
回應內容包含三個欄位:
text
:AI 生成的評論摘要。
flagContentUri
:用於檢舉不當內容,要求 Google 移除。
disclosureText
:本地化文字字串,內含「由 Gemini 摘要」揭露文字,必須納入出處資訊。
Place Details (New) 要求
以下範例會要求紐約市某間餃子餐廳的評論摘要:
curl -X GET https://places.googleapis.com/v1/places/ChIJD2l2k7ZL0YkRC80d-3MV1lM \
-H 'Content-Type: application/json' \
-H "X-Goog-Api-Key: API_KEY" \
-H "X-Goog-FieldMask: displayName,reviewSummary"
回覆格式如下:
{
"displayName": {
"text": "Dumpling House",
"languageCode": "en"
},
"reviewSummary": {
"text": {
"text": "People say this restaurant serves delicious dumplings, noodles, and pork belly buns. They highlight the generous portions, reasonable prices, and quick service. They also like the friendly and accommodating staff.",
"languageCode": "en-US"
},
"flagContentUri": "https://www.google.com/local/review/rap/report?postId=5%401:CAIQACodChtyc19oOnNwOUFtUVhIX1BoTEZjTFg0MmNXNEE%7CCAIQACorChtyc19oOnNwOUFtUVhIX1BoTEZjTFg0MmNXNEESDAikt7HDBhDopLLxAg&d=17924085&t=8",
"disclosureText": {
"text": "Summarized with Gemini",
"languageCode": "en-US"
},
"reviewsUri": "https://www.google.com/maps/place//data=!4m4!3m3!1s0x89d14bb69376690f:0x53d61573fb1dcd0b!9m1!1b1"
}
}
Text Search (新版) 要求
以下範例要求紐約市某間咖啡廳的評論摘要:
curl -X POST -d '{
"textQuery": "coffee shop",
"locationBias": {
"circle": {
"center": {
"latitude": 40.722630,
"longitude": -74.001397
}
}
},
}' \
-H 'Content-Type: application/json' -H "X-Goog-Api-Key: API_KEY" \
-H "X-Goog-FieldMask: places.id,places.reviewSummary" \
'https://places.googleapis.com/v1/places:searchText'
回應主體的格式如下:
{
"places": [
{
"id": "ChIJyfJXNphZwokRbo-oe0DjVT4",
"reviewSummary": {
"text": {
"text": "People say this coffee shop serves up delicious oat milk lattes, cold brew, and pastries, such as almond croissants and cheese danish. They also highlight the friendly staff, cozy atmosphere, and outdoor seating.",
"languageCode": "en-US"
},
"flagContentUri": "https://www.google.com/local/review/rap/report?postId=5%401:CAIQACodChtyc19oOkk1Z1UwZkp4cEJ3bnA3aGt5VGJLMFE%7CCAIQACorChtyc19oOkk1Z1UwZkp4cEJ3bnA3aGt5VGJLMFESDAj7p9_BBhCYsoeAAw&d=17924085&t=8",
"disclosureText": {
"text": "Summarized with Gemini",
"languageCode": "en-US"
},
"reviewsUri": "https://www.google.com/maps/place//data=!4m4!3m3!1s0x89c259983657f2c9:0x3e55e3407ba88f6e!9m1!1b1"
}
},
{
"id": "ChIJHcFFXH9ZwokR_QKedPacLiQ",
"reviewSummary": {
"text": {
"text": "People say this cafe offers delicious matcha, lattes, and freshly baked pastries, including the popular rose honey latte and blueberry lemon muffin. They highlight the spacious, chill, and cinema-inspired vibe, perfect for working or socializing, and the fast, friendly service. They also like the free WiFi, outlets, and clean restrooms.",
"languageCode": "en-US"
},
"flagContentUri": "https://www.google.com/local/review/rap/report?postId=5%401:CAIQACodChtyc19oOl8yWTlXS0NDVTk1UEhiTFdBQzhlelE%7CCAIQACorChtyc19oOl8yWTlXS0NDVTk1UEhiTFdBQzhlelESDAikt7HDBhDopLLxAg&d=17924085&t=8",
"disclosureText": {
"text": "Summarized with Gemini",
"languageCode": "en-US"
},
"reviewsUri": "https://www.google.com/maps/place//data=!4m4!3m3!1s0x89c2597f5c45c11d:0x242e9cf6749e02fd!9m1!1b1"
}
},
...
]
}
Nearby Search (新版) 要求
以下範例要求搜尋西雅圖市中心附近的飯店:
curl -X POST -d '{
"maxResultCount": 5,
"locationRestriction": {
"circle": {
"center": {
"latitude": 47.609937,
"longitude": -122.340714
},
"radius": 1000
}
},
"includedTypes": ["hotel"],
"excludedTypes": [],
"rankPreference":"POPULARITY"
}' \
-H 'Content-Type: application/json' -H "X-Goog-Api-Key: API_KEY" \
-H "X-Goog-FieldMask: places.id,places.reviewSummary" \
'https://places.googleapis.com/v1/places:searchNearby'
回覆格式如下:
{
"places": [
{
"id": "ChIJRwVmS-BrkFQRpAB3pO5JOuQ",
"reviewSummary": {
"text": {
"text": "People say this hotel offers clean, modern, and spacious rooms with comfortable beds and phenomenal city views. They highlight the convenient downtown location, with easy walking access to popular attractions, and the efficient self-parking option. They also like the friendly and helpful staff, and the smooth check-in and check-out process.",
"languageCode": "en-US"
},
"flagContentUri": "https://www.google.com/local/review/rap/report?postId=5%401:CAIQACodChtyc19oOlJWVG5YOXZrSnZhTXBqUy1rc1JZc3c%7CCAIQACorChtyc19oOlJWVG5YOXZrSnZhTXBqUy1rc1JZc3cSDAikt7HDBhDopLLxAg&d=17924085&t=8",
"disclosureText": {
"text": "Summarized with Gemini",
"languageCode": "en-US"
},
"reviewsUri": "https://www.google.com/maps/place//data=!4m4!3m3!1s0x54906be04b660547:0xe43a49eea47700a4!9m1!1b1"
}
},
{
"id": "ChIJQVJVX7RqkFQRcpsm3VVub9U",
"reviewSummary": {
"text": {
"text": "People say this hotel offers spacious rooms, a convenient location near the convention center and Pike Place Market, and a tasty restaurant. They also highlight the friendly and attentive staff, the comfortable beds and pillows, and the convenient amenities such as a Starbucks in the lobby and a club lounge.\n\nSome reviews mention the rooms can be noisy.",
"languageCode": "en-US"
},
"flagContentUri": "https://www.google.com/local/review/rap/report?postId=5%401:CAIQACodChtyc19oOldJVUlodGhTUTJOdUdTSmFxQWw2Nnc%7CCAIQACorChtyc19oOldJVUlodGhTUTJOdUdTSmFxQWw2NncSDAikt7HDBhDopLLxAg&d=17924085&t=8",
"disclosureText": {
"text": "Summarized with Gemini",
"languageCode": "en-US"
},
"reviewsUri": "https://www.google.com/maps/place//data=!4m4!3m3!1s0x54906ab45f555241:0xd56f6e55dd269b72!9m1!1b1"
}
},
...
]
}
歸因
應用程式中顯示的所有 AI 生成摘要,都必須按照 Google 政策和標準附上適當的出處資訊。詳情請參閱「Places API 政策」。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-29 (世界標準時間)。
[null,null,["上次更新時間:2025-08-29 (世界標準時間)。"],[],[],null,["# AI-powered review summaries are AI-generated summaries of places based solely on\nuser reviews. By synthesizing key elements of user reviews, such as place\nattributes and reviewer sentiment, review summaries provide high-level insights\nand help users make informed decisions.\n\nFor example, a review summary of the Ferry Building in San Francisco includes\ninformation ranging from food and shopping to views and atmosphere:\n\n*\"Visitors say this historical landmark offers a diverse selection of shops,\nrestaurants, and a farmers market, with many praising the views of the bay and\nthe city. They also highlight the vibrant atmosphere, convenient ferry access to\nother destinations, and the opportunity to enjoy local businesses.\"*\n\nReview 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\nReview summaries are supported for points of interest in the following languages\nand regions:\n\n| Language | Region |\n|----------|------------------------------------------|\n| English | India Japan United Kingdom United States |\n| Japanese | Japan |\n\n**Note:** Review 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 review summary\n------------------------\n\nTo request a review summary, include `reviewSummary` in the field mask of the\nrequest:\n\n- **Place Details (New):** `reviewSummary`\n- **Text Search (New)** and **Nearby Search (New):** `places.reviewSummary`\n\nAttributions for a review summary must include a link to the place's reviews on\nGoogle Maps. To retrieve that link, include\n[`reviewSummary.reviewsUri`](/maps/documentation/places/web-service/maps-links)\nin the field mask of the request.\n\nThe response body includes three fields:\n\n- `text`: The AI-generated review summary.\n- [`flagContentUri`](/maps/documentation/places/web-service/content-reporting): Used to flag inappropriate content for removal by Google.\n- `disclosureText`: A localized text string with the disclosure text \"Summarized with Gemini\" that must be incorporated in attributions.\n\n### Place Details (New) request\n\nThe following example requests a review summary for a dumpling restaurant in New\nYork: \n\n```\ncurl -X GET https://places.googleapis.com/v1/places/ChIJD2l2k7ZL0YkRC80d-3MV1lM \\\n-H 'Content-Type: application/json' \\\n-H \"X-Goog-Api-Key: API_KEY\" \\\n-H \"X-Goog-FieldMask: displayName,reviewSummary\"\n```\n\nThe response is in the form: \n\n```json\n{\n \"displayName\": {\n \"text\": \"Dumpling House\",\n \"languageCode\": \"en\"\n },\n \"reviewSummary\": {\n \"text\": {\n \"text\": \"People say this restaurant serves delicious dumplings, noodles, and pork belly buns. They highlight the generous portions, reasonable prices, and quick service. They also like the friendly and accommodating staff.\",\n \"languageCode\": \"en-US\"\n },\n \"flagContentUri\": \"https://www.google.com/local/review/rap/report?postId=5%401:CAIQACodChtyc19oOnNwOUFtUVhIX1BoTEZjTFg0MmNXNEE%7CCAIQACorChtyc19oOnNwOUFtUVhIX1BoTEZjTFg0MmNXNEESDAikt7HDBhDopLLxAg&d=17924085&t=8\",\n \"disclosureText\": {\n \"text\": \"Summarized with Gemini\",\n \"languageCode\": \"en-US\"\n },\n \"reviewsUri\": \"https://www.google.com/maps/place//data=!4m4!3m3!1s0x89d14bb69376690f:0x53d61573fb1dcd0b!9m1!1b1\"\n }\n}\n```\n\n### Text Search (New) request\n\nThe following example requests a review summary for a coffee shop in New York\nCity: \n\n```\ncurl -X POST -d '{\n \"textQuery\": \"coffee shop\",\n \"locationBias\": {\n \"circle\": {\n \"center\": {\n \"latitude\": 40.722630,\n \"longitude\": -74.001397\n }\n }\n },\n}' \\\n-H 'Content-Type: application/json' -H \"X-Goog-Api-Key: API_KEY\" \\\n-H \"X-Goog-FieldMask: places.id,places.reviewSummary\" \\\n'https://places.googleapis.com/v1/places:searchText'\n```\n\nThe response body is in the form: \n\n```json\n{\n \"places\": [\n {\n \"id\": \"ChIJyfJXNphZwokRbo-oe0DjVT4\",\n \"reviewSummary\": {\n \"text\": {\n \"text\": \"People say this coffee shop serves up delicious oat milk lattes, cold brew, and pastries, such as almond croissants and cheese danish. They also highlight the friendly staff, cozy atmosphere, and outdoor seating.\",\n \"languageCode\": \"en-US\"\n },\n \"flagContentUri\": \"https://www.google.com/local/review/rap/report?postId=5%401:CAIQACodChtyc19oOkk1Z1UwZkp4cEJ3bnA3aGt5VGJLMFE%7CCAIQACorChtyc19oOkk1Z1UwZkp4cEJ3bnA3aGt5VGJLMFESDAj7p9_BBhCYsoeAAw&d=17924085&t=8\",\n \"disclosureText\": {\n \"text\": \"Summarized with Gemini\",\n \"languageCode\": \"en-US\"\n },\n \"reviewsUri\": \"https://www.google.com/maps/place//data=!4m4!3m3!1s0x89c259983657f2c9:0x3e55e3407ba88f6e!9m1!1b1\"\n }\n },\n {\n \"id\": \"ChIJHcFFXH9ZwokR_QKedPacLiQ\",\n \"reviewSummary\": {\n \"text\": {\n \"text\": \"People say this cafe offers delicious matcha, lattes, and freshly baked pastries, including the popular rose honey latte and blueberry lemon muffin. They highlight the spacious, chill, and cinema-inspired vibe, perfect for working or socializing, and the fast, friendly service. They also like the free WiFi, outlets, and clean restrooms.\",\n \"languageCode\": \"en-US\"\n },\n \"flagContentUri\": \"https://www.google.com/local/review/rap/report?postId=5%401:CAIQACodChtyc19oOl8yWTlXS0NDVTk1UEhiTFdBQzhlelE%7CCAIQACorChtyc19oOl8yWTlXS0NDVTk1UEhiTFdBQzhlelESDAikt7HDBhDopLLxAg&d=17924085&t=8\",\n \"disclosureText\": {\n \"text\": \"Summarized with Gemini\",\n \"languageCode\": \"en-US\"\n },\n \"reviewsUri\": \"https://www.google.com/maps/place//data=!4m4!3m3!1s0x89c2597f5c45c11d:0x242e9cf6749e02fd!9m1!1b1\"\n }\n },\n ...\n ]\n}\n```\n\n### Nearby Search (New) request\n\nThe following example requests hotels near downtown Seattle: \n\n```\ncurl -X POST -d '{\n \"maxResultCount\": 5,\n \"locationRestriction\": {\n \"circle\": {\n \"center\": {\n \"latitude\": 47.609937,\n \"longitude\": -122.340714\n },\n \"radius\": 1000\n }\n },\n \"includedTypes\": [\"hotel\"],\n \"excludedTypes\": [],\n \"rankPreference\":\"POPULARITY\"\n}' \\\n-H 'Content-Type: application/json' -H \"X-Goog-Api-Key: API_KEY\" \\\n-H \"X-Goog-FieldMask: places.id,places.reviewSummary\" \\\n'https://places.googleapis.com/v1/places:searchNearby'\n```\n\nThe response is in the form: \n\n```json\n{\n \"places\": [\n {\n \"id\": \"ChIJRwVmS-BrkFQRpAB3pO5JOuQ\",\n \"reviewSummary\": {\n \"text\": {\n \"text\": \"People say this hotel offers clean, modern, and spacious rooms with comfortable beds and phenomenal city views. They highlight the convenient downtown location, with easy walking access to popular attractions, and the efficient self-parking option. They also like the friendly and helpful staff, and the smooth check-in and check-out process.\",\n \"languageCode\": \"en-US\"\n },\n \"flagContentUri\": \"https://www.google.com/local/review/rap/report?postId=5%401:CAIQACodChtyc19oOlJWVG5YOXZrSnZhTXBqUy1rc1JZc3c%7CCAIQACorChtyc19oOlJWVG5YOXZrSnZhTXBqUy1rc1JZc3cSDAikt7HDBhDopLLxAg&d=17924085&t=8\",\n \"disclosureText\": {\n \"text\": \"Summarized with Gemini\",\n \"languageCode\": \"en-US\"\n },\n \"reviewsUri\": \"https://www.google.com/maps/place//data=!4m4!3m3!1s0x54906be04b660547:0xe43a49eea47700a4!9m1!1b1\"\n }\n },\n {\n \"id\": \"ChIJQVJVX7RqkFQRcpsm3VVub9U\",\n \"reviewSummary\": {\n \"text\": {\n \"text\": \"People say this hotel offers spacious rooms, a convenient location near the convention center and Pike Place Market, and a tasty restaurant. They also highlight the friendly and attentive staff, the comfortable beds and pillows, and the convenient amenities such as a Starbucks in the lobby and a club lounge.\\n\\nSome reviews mention the rooms can be noisy.\",\n \"languageCode\": \"en-US\"\n },\n \"flagContentUri\": \"https://www.google.com/local/review/rap/report?postId=5%401:CAIQACodChtyc19oOldJVUlodGhTUTJOdUdTSmFxQWw2Nnc%7CCAIQACorChtyc19oOldJVUlodGhTUTJOdUdTSmFxQWw2NncSDAikt7HDBhDopLLxAg&d=17924085&t=8\",\n \"disclosureText\": {\n \"text\": \"Summarized with Gemini\",\n \"languageCode\": \"en-US\"\n },\n \"reviewsUri\": \"https://www.google.com/maps/place//data=!4m4!3m3!1s0x54906ab45f555241:0xd56f6e55dd269b72!9m1!1b1\"\n }\n },\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)."]]