How to install the virtual assistant Google Assistant on a Windows computer
Google Assistant does not have a desktop version. However, thanks to the Google Assistant SDK, you can run this virtual assistant on any platform like Windows, Mac and Linux
Google Assistant is Google's intelligent virtual assistant with voice control using artificial intelligence. Today, there are many artificial intelligence assistants such as Amazon Alexa, Siri, Cortana, etc. but Google Assistant is one of the best assistants.
Google Assistant is available on most Android phones running Android 6.0 and above. You can even install Google Assistant on iPhone. But Google Assistant does not have a desktop version. However, thanks to the Google Assistant SDK, you can run this virtual assistant on any platform like Windows, Mac and Linux.
- What is Google Assistant?
- Useful Google Assistant Vietnamese commands that you can use
- How to change the voice in Google Assistant
To run the virtual assistant Google Assistant on your computer, you need to follow the command line instructions. Here are some conditions needed to install Google Assistant on your computer:
- Use Command Prompt on Windows computer, Terminal on macOS.
- Install Python 3 on the system. On the Mac and Linux Python is pre-installed, so if you are a Windows user, you need to install Python 3 on this system.
Installing Python 3.x on Windows
First you need to download Python 3.x to your computer. After downloading double click on the python.exe file to run setup. Select Add Python 3.7 to PATH and click on Customize Installation .
On the next page, select all options and click the Next button.
Select the Add Python to environment variables option on the next screen.
Finally, click the Install button, then wait a few seconds for Python to install on the computer. After successful installation, restart the computer.
Check out Python installation
Open Command Prompt as admin and type the following command, press Enter .
Python
If Python is installed, the above command will run the current version of Python on the computer.
How to install the virtual assistant Google Assistant on Windows 10.
Step 1. Configure Google Assistant
First, you need to visit the Google Cloud Platform Console following the link below on a Windows computer.
https://console.cloud.google.com/?hl=vi&pli=1
Next, click the Create Project button.
Name your project and click Create .
Wait for the project to be created and after creating, click on the bell icon and select your project.
On the project page, click APIs & Services> Library .
Here, type Google Assistant on the search bar.
Select Google Assistant API and click the Enable button.
On the right, select Credentials and click on the Create Credential button.
Select the answers below in Add credentials in the project screen.
- Which API are you using?
Answer: Google Assistant API
- Where sẽ bạn cần đến các API từ?
Answer: Other UI (eg Windows, CLI tool)
- What data will you be accessing?
Answer: User data
After answering all the questions, click What credentials do I need? .
In the next screen, enter the name of the Client ID and click Create OAuth Client ID .
Select your email address and enter the product name for the user, then click Continue .
You will see the option to download the login information, just click on it to download or leave the download later if you wish. It will automatically download the JSON file to your system and save it in an easily accessible place.
After downloading, click on Done and open the Activity controls . Turn on all action controls and return to the Credentials page.
Step 2. Install Google Assistant virtual assistant on Windows computer
Open Command Prompt as Admin and type the following command, then Best Enter for each command.
py -m pip install google-assistant-sdk [samples]
pip install - upgrade google-auth-oauthlib [tool]
The above command will load the required dependencies in order to run the Google Cloud project. This process will take longer depending on your Internet speed.
- Speed up Internet connection on Windows 10 computers
google-oauthlib-tool –client-secrets path / to / XXXXX.json –scope https://www.googleapis.com/auth/assistant-sdk-prototype –save –headless
Change the path / to / XXXXX.json with the real path and the JSON file name you downloaded earlier.
When running the above command you will get the URL, copy and paste it into the browser. Select a Google account and you will receive an authentication code.
Copy the authentication code and paste it into Command Prompt, then press Enter .
Step 3. Check Google Assistant
To check the Google Assistant, turn on your system speaker. After installing Google Assistant, the first thing you need to check is whether Assistant can record audio from the microphone.
To test, run the following command in Command Prompt. It will record 10 seconds and play for you.
python -m googlesamples.assistant.audio_helpers
After you have finished checking the audio recording, you can move on to the next step.
python -m googlesamples.assistant
After running the command, wait for a few seconds when the Command Prompt appears and press enter to send a new request , press the Enter button. If you see any warning, just ignore it.
So Google Assistant has been successfully installed on your Windows computer. This Google Assistant API supports all commands that Google Assistant supports on Google Home and Android devices.
I wish you all success!
You should read it
- Steps to install Google Assistant on Windows computer
- Instructions for installing Google Vietnamese virtual assistant on iPhone
- How to set up and use Routines in Google Assistant
- How to use the virtual assistant Google Assistant Vietnamese on Android
- What is Google Assistant? How to use it?
- Finally the virtual assistant Google Assistant also officially launched on May 6, after the release of the trial version
- How to return to Google Now virtual assistant On Tap on Android
- Google announces the new Google Assistant with incredible speed
- How to translate a conversation on Google Assistant
- Is Google Assistant or Cortana a better virtual assistant?
- 8 utilities that you can do with virtual assistant Google Assistant
- The words of 'hegemony' of Google Assistant
Maybe you are interested
A woman's body was exhumed from a thousand-year-old blood coffin leaking thick black water, experts were shocked: Evacuate immediately How strong a magnetic field can 'tear' you into subatomic particles? How to adjust to cm units in Word, Excel How to Take Steps to Protect Human Rights Modular Malware - New stealth attack method to steal data What to do after losing a job?