संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
जब Google Assistant आपके प्रोजेक्ट पर काम करे, तब इन्हें आज़माएँ:
यह पसंद के मुताबिक बनाएं कि आपका प्रोजेक्ट, Assistant के साथ कैसे इंटरैक्ट करता है. उदाहरण के लिए, बैक ऑडियो चलाते समय बटन दबाकर Assistant को ट्रिगर किया जा सकता है या एलईडी लाइट की जा सकती है. आप डिसप्ले पर Assistant की मदद से, बोली पहचानने की सुविधा
का ट्रांसक्रिप्शन भी दिखा सकते हैं.
डिवाइस कार्रवाइयों से अपना प्रोजेक्ट कंट्रोल करें.
उदाहरण के लिए, Assistant की बिल्ट-इन सुविधा वाले लैंप को चालू करने और उसकी चमक बदलने के लिए कहें.
Assistant के साथ अपने प्रोजेक्ट के इंटरैक्ट करने का तरीक़ा अपनी पसंद के मुताबिक़ बनाएँ
Assistant को ट्रिगर करें
Google Assistant लाइब्रेरी से, आप Ok Google जैसा कोई हॉटवर्ड बोलकर
Assistant का अनुरोध ट्रिगर करते हैं. Assistant को हॉटवर्ड से सुनने से रोकने के लिए
आप माइक्रोफ़ोन म्यूट कर सकते हैं. इसे कंट्रोल करने के लिए, set_mic_mute()
का इस्तेमाल करें. अपने कस्टम इवेंट के आधार पर start_conversation() तरीके को ट्रिगर करें.
उपयोगकर्ता के अनुरोध की ट्रांसक्रिप्ट पाएं
Google Assistant SDK टूल, उपयोगकर्ता के अनुरोध की ट्रांसक्रिप्ट आपको देता है. इसका इस्तेमाल
टेक्स्ट को डिसप्ले पर रेंडर करके उपयोगकर्ता को सुझाव/राय देने या शिकायत करने के लिए या डिवाइस पर कुछ लोकल ऐक्शन करने जैसे क्रिएटिव
के लिए भी इस्तेमाल करें.
Assistant के साथ डिवाइस की ख़ास सुविधाओं के लिए कार्रवाइयाँ जोड़ी जा सकती हैं. इनकी मदद से, अपने डिवाइस को आवाज़ से कंट्रोल किया जा सकता है. डिवाइस की कार्रवाइयों को शामिल करने के लिए, Google Assistant लाइब्रेरी के सैंपल को बढ़ाएं.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe Google Assistant Library for Python is deprecated and developers should utilize the Google Assistant Service instead.\u003c/p\u003e\n"],["\u003cp\u003eCustomize Assistant interaction by triggering requests with custom events (e.g., button press) and displaying speech transcripts.\u003c/p\u003e\n"],["\u003cp\u003eControl your project using Device Actions, enabling voice control for functionalities like adjusting brightness.\u003c/p\u003e\n"],["\u003cp\u003eThe library provides methods for microphone control (\u003ccode\u003eset_mic_mute\u003c/code\u003e) and initiating conversations (\u003ccode\u003estart_conversation\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eAccess user request transcripts via the \u003ccode\u003eON_RECOGNIZING_SPEECH_FINISHED\u003c/code\u003e event for feedback or custom actions.\u003c/p\u003e\n"]]],[],null,["# Next Steps\n\n| **Warning:** The Google Assistant Library for Python is deprecated as of June 28th, 2019. Use the [Google Assistant Service](/assistant/sdk/guides/service/python) instead.\n\n\u003cbr /\u003e\n\nOnce you have the Google Assistant running on your project, give these a try:\n\n1. [Customize](#custom-interaction) how your project interacts with the\n Assistant. For example, trigger the Assistant with the push of a button or\n blink an LED when playing back audio. You can even show a speech recognition\n transcript from the Assistant on a display.\n\n2. [Control](#device-control) your project with Device Actions.\n For example, ask your lamp, with the Assistant built-in, to turn on and\n change its brightness.\n\nCustomize how your project interacts with the Assistant\n-------------------------------------------------------\n\n### Trigger the Assistant\n\nWith the Google Assistant Library, you trigger an Assistant request by speaking\na hotword like *Ok Google* . You can mute the microphone to stop the Assistant\nfrom listening for the hotword. Use the [`set_mic_mute()`](/assistant/sdk/reference/library/python#google.assistant.library.Assistant.set_mic_mute)\nto control this. Trigger the [`start_conversation()`](/assistant/sdk/reference/library/python#google.assistant.library.Assistant.start_conversation)\nmethod based on your own custom event.\n\n### Get the transcript of the user request\n\nThe Google Assistant SDK gives you a text transcript of the user request. Use\nthis to provide feedback to the user by rendering the text to a display, or even\nfor something more creative such as performing some local actions on the device.\n\nThe transcript is located in a Python string object in the [`ON_RECOGNIZING_SPEECH_FINISHED`](/assistant/sdk/reference/library/python#google.assistant.library.event.EventType.ON_RECOGNIZING_SPEECH_FINISHED)\nevent.\n\nControl your project with Device Actions\n----------------------------------------\n\nYou can add Device Actions to the Assistant that allow you to control your\ndevice via voice. [Extend](/assistant/sdk/guides/library/python/extend/install-hardware)\nthe Google Assistant Library sample to include [Device Actions](/assistant/sdk/device-actions-overview)."]]