एआई की मदद से समीक्षा की खास जानकारी

एआई की मदद से जनरेट की गई समीक्षाओं की खास जानकारी, एआई की मदद से जनरेट की गई जगहों की खास जानकारी होती है. यह सिर्फ़ लोगों की समीक्षाओं पर आधारित होती है. समीक्षा की खास बातों में, जगह की विशेषताओं और समीक्षा करने वाले व्यक्ति की भावनाओं जैसे मुख्य एलिमेंट को शामिल किया जाता है. इससे लोगों को अहम जानकारी मिलती है और वे सोच-समझकर फ़ैसले ले पाते हैं.

उदाहरण के लिए, सैन फ़्रांसिस्को में मौजूद फ़ेरी बिल्डिंग की समीक्षा की खास जानकारी में, खाने-पीने और खरीदारी से लेकर नज़ारों और माहौल तक की जानकारी शामिल होती है:

"यहां आने वाले लोगों का कहना है कि इस ऐतिहासिक जगह पर कई तरह की दुकानें, रेस्टोरेंट, और किसानों का बाज़ार है. कई लोगों ने खाड़ी और शहर के नज़ारों की तारीफ़ की है. उन्होंने यहां के शानदार माहौल, अन्य जगहों पर जाने के लिए फ़ेरी की सुविधा, और स्थानीय कारोबारों का आनंद लेने के मौके के बारे में भी बताया."

समीक्षा की खास जानकारी, इन एपीआई के साथ काम करती है: जगह की जानकारी (नया), टेक्स्ट से खोजें (नया), और आस-पास खोजें (नया).

समीक्षा की खास जानकारी, इन भाषाओं और देशों/इलाकों में मौजूद लोकप्रिय जगहों के लिए उपलब्ध है:

भाषा क्षेत्र
अंग्रेज़ी

भारत

जापान

यूनाइटेड किंगडम

अमेरिका

जापानी जापान

समीक्षा की खास जानकारी पाने का अनुरोध करना

समीक्षा की खास जानकारी का अनुरोध करने के लिए, अनुरोध के फ़ील्ड मास्क में reviewSummary शामिल करें:

  • जगह की जानकारी (नई): reviewSummary
  • टेक्स्ट खोज (नई) और आस-पास खोजें (नई): places.reviewSummary

समीक्षा की खास जानकारी के लिए एट्रिब्यूशन में, Google Maps पर मौजूद जगह की समीक्षाओं का लिंक शामिल होना चाहिए. उस लिंक को वापस पाने के लिए, अनुरोध के फ़ील्ड मास्क में reviewSummary.reviewsUri शामिल करें.

जवाब के मुख्य हिस्से में तीन फ़ील्ड शामिल होते हैं:

  • text: एआई से जनरेट की गई समीक्षा की खास जानकारी.
  • flagContentUri: इसका इस्तेमाल, आपत्तिजनक कॉन्टेंट को फ़्लैग करने के लिए किया जाता है, ताकि Google उसे हटा सके.
  • disclosureText: यह स्थानीय भाषा में मौजूद टेक्स्ट स्ट्रिंग है. इसमें "Gemini की मदद से जवाब तैयार किया गया" डिसक्लोज़र टेक्स्ट शामिल होता है. इसे एट्रिब्यूशन में शामिल करना ज़रूरी है.

जगह की जानकारी (नई) का अनुरोध

यहां दिए गए उदाहरण में, न्यूयॉर्क में मौजूद एक रेस्टोरेंट के लिए समीक्षा की खास जानकारी का अनुरोध किया गया है:

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"
  }
}

टेक्स्ट सर्च (नई सुविधा) का अनुरोध

यहां दिए गए उदाहरण में, न्यूयॉर्क शहर की किसी कॉफ़ी शॉप के लिए समीक्षा की खास जानकारी का अनुरोध किया गया है:

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"
      }
    },
    ...
  ]
}

आस-पास की जगहों की जानकारी (नई सुविधा) के लिए अनुरोध

यहां दिए गए उदाहरण में, सिएटल के डाउनटाउन के आस-पास मौजूद होटलों के लिए अनुरोध किया गया है:

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"
      }
    },
    ...
  ]
}

एट्रिब्यूशन

आपके ऐप्लिकेशन में एआई की मदद से दिखाई जाने वाली सभी खास जानकारी में, Google की नीतियों और मानकों के मुताबिक सही एट्रिब्यूशन होना चाहिए. ज़्यादा जानकारी के लिए, Places API से जुड़ी नीतियां देखें.