Google Assistant सेवा, आपको स्ट्रीमिंग एंडपॉइंट उपलब्ध कराती है, ताकि आप Assistant के साथ होने वाले इंटिग्रेशन पर पूरा कंट्रोल पा सकें. Google Assistant से ऑडियो का जवाब पाने के लिए, इस एंडपॉइंट पर उपयोगकर्ता की ऑडियो क्वेरी स्ट्रीम करें.
इस एपीआई के लिए बाइंडिंग कई तरह की भाषाओं (उदाहरण के लिए, Go, Node.js, C++, और Java) से gRPC के साथ काम करने वाले सभी प्लैटफ़ॉर्म पर जनरेट की जा सकती हैं.
हार्डवेयर से जुड़ी बुनियादी शर्तें
शुरू करने से पहले, आपको इन कॉम्पोनेंट की ज़रूरत होगी:
इन डिवाइसों में से किसी एक प्लैटफ़ॉर्म पर काम करने वाले डिवाइस में, इंटरनेट कनेक्टिविटी की सुविधा मौजूद हो
माइक्रोफ़ोन
स्पीकर
कदम
नीचे दिए गए सेक्शन, Python और Raspber Pi पर लागू होते हैं.
अगर आप Python का इस्तेमाल नहीं करना चाहते हैं, तो Google Assistant सेवा को दूसरी भाषाओं और अलग-अलग प्लैटफ़ॉर्म पर
इंटिग्रेट करने के लिए, इंटिग्रेशन गाइड
का इस्तेमाल करें.
Google Assistant जोड़ें
इस सेक्शन में आपके डिवाइस पर Google Assistant सेवा का नमूना काम करता है:
[null,null,["आखिरी बार 2023-05-17 (UTC) को अपडेट किया गया."],[[["The Google Assistant Service provides a streaming endpoint for integrating the Assistant into your devices for experimental and non-commercial use."],["You need a device with internet, microphone, and speaker to get started with the Google Assistant Service integration."],["The guide provides step-by-step instructions for embedding and extending the Google Assistant using Python on a Raspberry Pi."],["You can find resources for integrating with other languages and platforms using the provided integration guide."],["The Google Assistant SDK cannot be used for commercial devices."]]],["The Google Assistant Service provides a streaming endpoint for integrating with the Assistant, accepting user audio queries and returning audio responses. It supports multiple languages and platforms. Core actions include setting up hardware (device, microphone, speaker), configuring audio and developer accounts, registering a device model, installing the SDK and sample code, and running the sample. The service can also be extended to handle device actions by installing hardware, registering traits, and handling commands. Commercial use is prohibited.\n"]]