Bật google assistant tren windows

Chào các bạn, hôm nay mình xin hướng dẫn các bạn cách cài Google Assistant trên Windows 10 đơn giản
Đầu tiên bạn tải python 3.7.1 và cài như ảnh

https://www.python.org/ftp/python/3.7.1/python-3.7.1.exe

Bật google assistant tren windows
Bật google assistant tren windows
Bật google assistant tren windows
Bật google assistant tren windows
Bật google assistant tren windows

Sau khi cài xong ta tiến hành tạo Project bằng link sau, bạn để tên giống mình nhé, vì sẽ liên quan đến direct link bên dưới
Ở đây mình để tên là: Tro ly ao windows 10

Rồi chọn Save để lưu

Bật google assistant tren windows

Sau đó bạn truy cập lại link trên và làm như ảnh

https://console.cloud.google.com/apis/credentials/wizard?hl=vi&organizationId=0&project=tro-ly-ao-windows-10&supportedpurview=project

Nền tảng đám mây của Google

Bật google assistant tren windows

Bạn nhấn Download nhé

Bật google assistant tren windows
Bật google assistant tren windows

Sau đó bạn lưu lại file này nhé

Tiếp theo bạn gõ windows + q và tìm cmd và chuột phải Run as administrator như ảnh

Bật google assistant tren windows

Và nhập lần lượt 3 lệnh sau

Code:

py -m pip install google-assistant-sdk[samples]
python -m pip install --upgrade pip
py -m pip install --upgrade google-auth-oauthlib[tool]

Bật google assistant tren windows
Bật google assistant tren windows

Sau đó bạn sao chép file client_id.json vừa tải về sang ổ D và gõ tiếp lệnh

Code:

D:
google-oauthlib-tool --client-secrets client_id.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless

Bật google assistant tren windows

Sao chép link nhận được dán vào trình duyệt để lấy authorization code

Bật google assistant tren windows

Ở đây bạn chọn Allow nhé

Bật google assistant tren windows

Vậy là xong rồi đó

Bạn gõ tiếp lệnh

Code:

googlesamples-assistant-devicetool --project-id tro-ly-ao-windows-10 register-model --manufacturer “Assistant SDK developer” --product-name “Assistant SDK light” --type LIGHT --model “Thangvip9x”

Thay Thangvip9x thành tên bạn muốn

Bật google assistant tren windows

Test bằng cách chạy các lệnh này nhé

Code:

D:
py -m googlesamples.assistant.grpc.audio_helpers
py -m googlesamples.assistant.grpc.pushtotalk --device-model-id “Thangvip9x” --project-id tro-ly-ao-windows-10

Thay Thangvip9x thành tên bạn muốn

Bật google assistant tren windows
Bật google assistant tren windows

Ảnh này mình test "OK Google"

Bật google assistant tren windows

Chúc các bạn thành công!

Not a fan of Cortana? Try 'OK, Google' instead

What to Know

  • Install the Unofficial Google Assistant for Windows and set it up as a project in the Google Actions Console.
  • Then, use the keyboard shortcut Windows key+Shift+A to open Google Assistant.
  • On a Chromebook, go to Settings > Search and Assistant > Google Assistant.

There is no official Google Assistant app for Windows, but there is a workaround to access Google Assistant on a Windows 10 computer. You can also enable Google Assistant on Chromebooks.

How to Get Google Assistant on Windows

To get started using Google Assistant on Windows, install the Google Assistant Unofficial desktop client and then set it up:

  1. Go to the Google Actions Console and select New Project. Agree to the terms and services.

  2. Enter any name for the project (such as WindowsAssistant), then select Create project.

  3. Scroll to the bottom of the next page and select Click here next to Are you looking for device registration.

  4. Select Register Model.

  5. Enter any names you want in the Product name and Manufacturer name fields, choose any device under Device type, then select Register Model.

  6. Select Download OAuth 2.0 credentials to download the JSON file you need to set up the assistant. Close window by selecting X.

  7. Go to the Google Cloud Platform and click Select a Project at the top of the page. If your project name appears next to Google Cloud Platform, skip to step 11.

  8. Select the All tab, choose your project, then select Open.

  9. Select APIs and Services in the left menu (if you don't see it, select the menu icon in the upper-left corner).

  10. Select Enable APIs and Services.

  11. Enter Google Assistant in the search bar, then select Google Assistant API.

  12. Select Enable.

  13. On the next page, select Credentials in the left sidebar, then select Configure Consent Screen.

  14. Select External for the User Type, then select Create.

  15. Select User support email and choose your email address.

  16. Scroll to the bottom of the page, enter your email address under Developer Contact Information, then select Save and Continue.

  17. Skip the next two pages (Scopes and Optional Information) by scrolling to the bottom of the page and selecting Save and Continue.

  18. Scroll to the bottom of the page and select Back to Dashboard.

  19. Scroll down to the Test users section and select Add User.

  20. Enter your email address and select Save.

  21. Go to the Google Assistant Unofficial desktop client download page and select the Google_Assistant-Setup-1.0.0.exe file to download it.

  22. Open the Google_Assistant-Setup-1.0.0.exe file you downloaded and follow the installation instructions.

    Choose Anyone who uses this computer (all users) to enable the assistant for anyone who uses the computer, or Only for me (user) to enable it for your personal Windows account.

  23. If the assistant doesn't appear right away, press Windows key+Shift+A to bring it up, and then select Get Started.

    Use the keyboard shortcut Windows key+Shift+A to open the Google Assistant Unofficial desktop client anytime the program is running.

  24. Select Proceed.

  25. Select the Settings gear.

  26. Next to Key File Path, select Browse and choose the JSON file you downloaded in step 6.

  27. Select Save, then select Automatically set a path.

  28. Select Relaunch Assistant.

  29. A new browser tab opens for you to get the required security token. Choose your Google account, then select Continue.

  30. Select Continue again.

  31. Select the Copy icon to copy the token link.

  32. Paste the link in the Google Assistant app and select Submit.

  33. Select Relaunch Assistant again.

  34. The unofficial Google Assistant app is ready to use. Type a question, or select the microphone icon to give a voice command.

How to Get Google Assistant for Chromebook

If you have a Chromebook or Chrome OS device, you can enable Google Assistant.

  1. Go to Settings.

  2. Scroll down to Search and Assistant and select Google Assistant.

  3. Make sure the slider is set to On.

  4. Enable the OK Google setting to allow the system to listen for and respond to that voice command. (Adjust any other options, as desired.)

Your Best Bets

If your goal is easy access to Google Assistant, the simplest approach is to purchase a Google Home device and set it up next to your computer. You can also install the Google Assistant app (for Android or iOS) on a phone or tablet. For a more do-it-yourself experience, buy and build the Google Voice Kit.

FAQ

  • How do I turn off Google Assistant on an Android?

    To turn off Google Assistant on an Android, go to Settings > Google > Account Services > Search, Assistant & Voice. Tap Google Assistant and go to the Assistant tab > turn off Google Assistant.

  • How do I use Google Assistant on an iPhone?

    To use Google Assistant on an iPhone, download and install the iOS Google Assistant app from the App Store. Go to the Shortcuts app and tap the plus sign (+) > Add Action. Search for and select Assistant, tap Hey Google, and turn on Show When Run. Enter Hey Google as your shortcut's name. Now you can open the Google Assistant app with the phrase, "Hey Google."

  • How do I turn off Google Assistant on a Chromebook?

    On your Chromebook screen, select the time and then select Settings. From the menu on the left, select Search and Assistant and choose Google Assistant. Turn off Google Assistant from here.

Thanks for letting us know!

Get the Latest Tech News Delivered Every Day

Subscribe