Save this file anywhere on your computer, ideally in a new folder called googleassistant.Google Assistant is Googles answer to Amazons Alexa smart home assistant.Initially only available with limited functionality in the Google Allo application, Google Assistant later rolled out with the Google Home and Pixel smartphones to bring the full power of Googles assistant to consumers.After a few months of waiting, smartphones running Android 6.0 also received Google Assistant, and just a few days ago Google launched the Google Assistant SDK which allows Assistant to be run on basically any platform.
Verbal Assistance With Windows Client Install Google AssistantToday, we will show you how to install Google Assistant onto your Windows, Mac, or Linux machine using Python. Note: at this point in time, this is purely for educational purposes. Theres no fancy GUI for you to play with, and installing Assistant requires you to use the command line. Get Google Assistant on WindowsMacLinux Machines Requirements: Python 3 Built Tools for Microsoft Visual Studio 2017 if on Windows Youll need to have Python installed no matter whether or not you are using Windows, macOS, or a GNULinux distribution. Installation is fairly simple and already well-documented by the Python wiki, so we wont go into many details about getting Python up and running on your machine. Once youve got Python working on your machine (you can confirm it is working by opening up a terminalcommand prompt and then simply typing python.) If you see the terminalcommand prompt return the current Python version on your computer, then youre golden. Next, before we can install the necessary files to get Google Assistant working, we need to enable access to the Google Assistant API in the Google Cloud Platform Console. Configure the Google Assistant API What follows are step-by-step instructions walking you through the process to enable the Google Assistant API in the Cloud Platform Console so you can access Google Assistant through the Python program. All of these steps are platform independent, meaning that the steps are the same for Windows, macOS, and GNULinux users. Go to the Projects page in the Google Cloud Platform Console. Wait a few seconds for the Console to create your new Project. After it is done creating your Project, you will be brought to your Projects configuration page. Click this link to go straight to the Google Assistant API page. Google will warn you that you need to create credentials to use this API. This will take you to a setup wizard page where Google helps you figure out what kind of credentials you need to use this API. Under where will you be calling the API from, select Other UI (e.g. Windows, CLI tool). For what data will you be accessing select the User data circle. Now tap what credentials do I need Google should recommend that you create an OAuth 2.0 client ID. Click continue. Click done. Verbal Assistance With Windows Client Download Here AsTheres no need to click download here as we only need the client secret, which we will download next. Now under the list of OAuth 2.0 client IDs, you should see the client ID you just made. All the way to the right, click on the download icon to download the clientsecretXXX.json file, where XXX is your client ID.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |