KI-basierte Rezensionszusammenfassungen sind KI-generierte Zusammenfassungen von Orten, die ausschließlich auf Nutzerrezensionen basieren. Rezensionszusammenfassungen bieten einen Überblick über wichtige Elemente von Nutzerrezensionen wie Standortattribute und die Meinung der Rezensenten. So können Nutzer fundierte Entscheidungen treffen.
Eine Rezensionsübersicht des Ferry Building in San Francisco enthält beispielsweise Informationen zu Essen und Einkaufen sowie zu Aussicht und Atmosphäre:
„Laut Besuchern bietet dieses historische Wahrzeichen eine vielfältige Auswahl an Geschäften, Restaurants und einem Bauernmarkt. Viele loben die Aussicht auf die Bucht und die Stadt. Außerdem wird die lebhafte Atmosphäre, die gute Fährverbindung zu anderen Zielen und die Möglichkeit hervorgehoben, lokale Unternehmen zu unterstützen.“
Rezensionszusammenfassungen werden in Place Details (New), Text Search (New) und Nearby Search (New) unterstützt.
Zusammenfassung der Überprüfung anfordern
Wenn Sie eine Rezensionszusammenfassung anfordern möchten, fügen Sie reviewSummary
in die Feldmaske der Anfrage ein:
- Ortsdetails (neu):
reviewSummary
- Text Search (New) und Nearby Search (New):
places.reviewSummary
Quellenangaben für eine Rezensionsübersicht müssen einen Link zu den Rezensionen des Orts in Google Maps enthalten. Wenn Sie diesen Link abrufen möchten, geben Sie googleMapsLinks.reviewsUri
in die Feldmaske der Anfrage ein.
Der Antworttext enthält drei Felder:
text
: Die KI-generierte Rezensionszusammenfassung.flagContentUri
: Mit dieser Option können Sie unangemessene Inhalte melden, damit sie von Google entfernt werden.disclosureText
: Ein lokalisierter Textstring mit dem Hinweis „Mit Gemini zusammengefasst“, der in die Quellenangaben eingefügt werden muss.
Anfrage vom Typ „Place Details (New)“
Im folgenden Beispiel wird eine Rezensionsübersicht für ein Restaurant mit Dumplings in New York angefordert:
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,googleMapsLinks.reviewsUri"
Die Antwort hat folgendes Format:
{ "displayName": { "text": "Dumpling House", "languageCode": "en" }, "googleMapsLinks": { "reviewsUri": "https://www.google.com/maps/place//data=!4m4!3m3!1s0x89d14bb69376690f:0x53d61573fb1dcd0b!9m1!1b1", }, "reviewSummary": { "text": { "text": "Diners say this lunch restaurant serves up delicious dumplings, including pork and chive, soup dumplings, and fried dumplings, alongside other Chinese dishes like fried rice, pork belly buns, and general tso's chicken. They also highlight the generous portions, reasonable prices, and efficient service.", "languageCode": "en-US" }, "flagContentUri": "https://www.google.com/local/review/rap/report?postId=5%401:CAIQACodChtyc19oOkE4blltMzB1eXpWblVKUjFBQXFGbWc%7CCAIQACorChtyc19oOkE4blltMzB1eXpWblVKUjFBQXFGbWcSDAis0fW-BhCIp7blAg&d=17924085&t=8", "disclosureText": { "text": "Summarized with Gemini", "languageCode": "en-US" } } }
Anfrage für „Text Search (New)“
Im folgenden Beispiel wird eine Rezensionsübersicht für ein Café in New York City angefordert:
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,places.googleMapsLinks.reviewsUri" \ 'https://places.googleapis.com/v1/places:searchText'
Der Antworttext hat folgendes Format:
{ "places": [ { "id": "ChIJyfJXNphZwokRbo-oe0DjVT4", "googleMapsLinks": { "reviewsUri": "https://www.google.com/maps/place//data=!4m4!3m3!1s0x89c259983657f2c9:0x3e55e3407ba88f6e!9m1!1b1", }, "reviewSummary": { "text": { "text": "People say this coffee shop serves delicious oat milk lattes, iced lattes, and cappuccinos, and they praise the friendly staff and cozy atmosphere. They also highlight the great outdoor seating area and the unique latte flavors.", "languageCode": "en-US" }, "flagContentUri": "https://www.google.com/local/review/rap/report?postId=5%401:CAIQACodChtyc19oOkFONEpuYU1UMzZWbTduX1lBQVRBRkE%7CCAIQACorChtyc19oOkFONEpuYU1UMzZWbTduX1lBQVRBRkESDAj9iuK_BhD4ouCwAw&d=17924085&t=8", "disclaimerText": { "text": "Summarized with Gemini", "languageCode": "en-US" } } }, { "id": "ChIJl5qG27RZwokRzoy63vyI4Gk", "googleMapsLinks": { "reviewsUri": "https://www.google.com/maps/place//data=!4m4!3m3!1s0x89c259b4db869a97:0x69e088fcdeba8cce!9m1!1b1", }, "reviewSummary": { "text": { "text": "People say this coffee shop serves delicious matcha, including the Blueberry Matcha Latte and Cherry Cold Brew Latte, and offers a variety of pastries. They also highlight the friendly and efficient staff, and the cute and aesthetic space.", "languageCode": "en-US" }, "flagContentUri": "https://www.google.com/local/review/rap/report?postId=5%401:CAIQACodChtyc19oOkE4bmRodTgya2MxbkJNMXhBQU1MNXc%7CCAIQACorChtyc19oOkE4bmRodTgya2MxbkJNMXhBQU1MNXcSDAj9iuK_BhD4ouCwAw&d=17924085&t=8", "disclaimerText": { "text": "Summarized with Gemini", "languageCode": "en-US" } } }, /.../ ] }
Anfrage für Nearby Search (New)
Im folgenden Beispiel werden Hotels in der Nähe des Stadtzentrums von Seattle angefragt:
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,places.googleMapsLinks.reviewsUri" \ 'https://places.googleapis.com/v1/places:searchNearby'
Die Antwort hat folgendes Format:
{ "places": [ { "id": "ChIJRwVmS-BrkFQRpAB3pO5JOuQ", "googleMapsLinks": { "reviewsUri": "https://www.google.com/maps/place//data=!4m4!3m3!1s0x54906be04b660547:0xe43a49eea47700a4!9m1!1b1", }, "reviewSummary": { "text": { "text": "Guests say this hotel has comfortable beds, spacious rooms, and a central location within walking distance of Pike Place Market, the waterfront, and the convention center. They also highlight the friendly and helpful staff, the modern and clean facilities, and the efficient elevators.", "languageCode": "en-US" }, "flagContentUri": "https://www.google.com/local/review/rap/report?postId=5%401:CAIQACodChtyc19oOkJtODg0RUFFSndKbnhkTXZBQVpuV2c%7CCAIQACorChtyc19oOkJtODg0RUFFSndKbnhkTXZBQVpuV2cSDAj9iuK_BhD4ouCwAw&d=17924085&t=8", "disclaimerText": { "text": "Summarized with Gemini", "languageCode": "en-US" } } }, { "id": "ChIJQVJVX7RqkFQRcpsm3VVub9U", "googleMapsLinks": { "reviewsUri": "https://www.google.com/maps/place//data=!4m4!3m3!1s0x54906ab45f555241:0xd56f6e55dd269b72!9m1!1b1", }, "reviewSummary": { "text": { "text": "Guests say this hotel offers comfortable beds, spacious rooms with great views, and a well-equipped gym and pool. They also highlight the friendly and helpful staff, convenient location for walking to attractions and restaurants, and the well-stocked club lounge.\n\nSome reviews mention the elevators can be slow.", "languageCode": "en-US" }, "flagContentUri": "https://www.google.com/local/review/rap/report?postId=5%401:CAIQACodChtyc19oOkE4blJFWWtBUFo5bjNYWndBQVYxZWc%7CCAIQACorChtyc19oOkE4blJFWWtBUFo5bjNYWndBQVYxZWcSDAj9iuK_BhD4ouCwAw&d=17924085&t=8", "disclaimerText": { "text": "Summarized with Gemini", "languageCode": "en-US" } } }, /.../ ] }
Attribution
Alle KI-gestützten Zusammenfassungen, die in Ihrer App angezeigt werden, müssen gemäß den Richtlinien und Standards von Google entsprechend gekennzeichnet sein. Weitere Informationen finden Sie unter Richtlinien für die Places API.