با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
Google Assistant SDK به شما امکان می دهد کنترل صوتی، درک زبان طبیعی و هوشمندی Google را به ایده های خود اضافه کنید. پروژه شما یک گفته را می گیرد (یک درخواست صوتی گفتاری، مانند آنچه در تقویم من است؟ )، آن را به دستیار Google ارسال می کند، و علاوه بر متن خام گفته، یک پاسخ صوتی گفتاری دریافت می کند.
سرویس دستیار گوگل
سرویس Google Assistant یک API سطح پایین را نشان میدهد که به شما امکان میدهد مستقیماً بایتهای صوتی درخواست و پاسخ دستیار را دستکاری کنید. اتصالات برای این API را می توان برای زبان هایی مانند Node.js، Go، C++، جاوا برای همه پلتفرم هایی که از gRPC پشتیبانی می کنند ایجاد کرد.
کد مرجع در پایتون برای ضبط صدا، پخش صدا و مدیریت حالت مکالمه ارائه شده است.
سازگاری و پشتیبانی از ویژگی ها
جدول زیر الزامات سازگاری پلتفرم سرویس دستیار Google را خلاصه می کند:
SDK به شما امکان میدهد با تعبیه دستیار Google به سرعت پروژهها را بسازید و سپس به شما اجازه میدهد عملکرد منحصربهفردی را با Actions on Google اضافه کنید:
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe Google Assistant SDK enables the integration of voice control, natural language processing, and Google's intelligence into projects, primarily for experimental and non-commercial purposes.\u003c/p\u003e\n"],["\u003cp\u003eIt offers a low-level API for manipulating audio, accessible through various programming languages, along with Python reference code for audio handling and conversation management.\u003c/p\u003e\n"],["\u003cp\u003eWhile supporting audio input/output and visual HTML5 responses, it lacks hands-free activation, timers/alarms, podcast/news playback, and broadcast messaging capabilities.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can build projects by leveraging the gRPC APIs, customizing functionality with Actions on Google, and adhering to best practices for privacy, security, and audio configuration.\u003c/p\u003e\n"]]],["The Google Assistant SDK facilitates voice control and natural language understanding in projects, using spoken audio requests and responses. It provides a low-level API via gRPC, supporting multiple languages and platforms. Reference code in Python handles audio capture, playback, and conversation state. Key features include visual output of responses, but exclude hands-free activation, timers, alarms, and media playback. Project development involves building with gRPC APIs, customizing, and then refining using privacy and audio best practices. The SDK can only be used for experimental and non-commercial projects.\n"],null,["# Overview\n\n| **Warning:** You can't launch commercial devices that integrate with the Google Assistant SDK. It's available for experimental and non-commercial uses only.\n\n\u003cbr /\u003e\n\nThe Google Assistant SDK lets you add voice control, natural\nlanguage understanding and Google's smarts to your ideas. Your project captures\nan utterance (a spoken audio request, such as *What's on my calendar?*), sends\nit to the Google Assistant, and receives a spoken audio response in addition to\nthe raw text of the utterance.\n\n### Google Assistant Service\n\nThe Google Assistant Service exposes a low level API that lets you directly manipulate the\naudio bytes of an Assistant request and response. Bindings for this API can be\ngenerated for languages like Node.js, Go, C++, Java for all platforms that\nsupport [gRPC](http://www.grpc.io/about/#osp).\n\nReference code is provided in Python for audio capture, audio playback, and\nconversation state management.\n\n### Compatibility and feature support\n\nThe following table summarizes the platform compatibility requirements of\nthe Google Assistant Service:\n\n\n| Google Assistant service | | |\n|----------------------------------------------------------------------------------|-----------------------------------------------------|---|\n| Supported architectures | All [gRPC platforms](http://www.grpc.io/about/#osp) |\n| Supported languages | All [gRPC languages](http://www.grpc.io/about/#osp) |\n| Hands-free activation (*Ok Google*) | No |\n| Audio capture and playback | Reference code is provided |\n| Conversation state management | Reference code is provided |\n| Timers and alarms | No |\n| Playback of podcasts and news | No |\n| [Broadcast voice messages](https://support.google.com/googlehome/answer/7531913) | No |\n| Visual output (HTML5) of Assistant responses | Yes |\n\n\u003cbr /\u003e\n\nSteps to start building your projects\n-------------------------------------\n\nThe SDK lets you build projects quickly by embedding the Google Assistant\nand then letting you add unique functionality with [Actions on Google](/actions):\n\n1. Build your project [using the gRPC APIs](/assistant/sdk/guides/service/python).\n2. Get ideas for [next steps to customize it](/assistant/sdk/guides/service/python/embed/next-steps).\n3. Polish your project by reading best practices for [privacy and security](/assistant/sdk/guides/service/python/best-practices/privacy-and-security) and [audio configuration](/assistant/sdk/guides/service/python/best-practices/audio)."]]