Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

Commit 337b5e6

Browse files
Nick CookNick Cook
authored andcommitted
Editorial comments.
Change-Id: Ifd8d997af4946a77a84b122dd2166469d2228bdd
1 parent 719c901 commit 337b5e6

File tree

3 files changed

+25
-26
lines changed

3 files changed

+25
-26
lines changed

google-assistant-library/README.rst

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,21 @@ This package contains high level Python_ bindings for the `Google Assistant Libr
66
It is part of the `Google Assistant SDK`_.
77

88
It includes the following features:
9-
- "Ok Google" or "Hey Google" hotword detection.
10-
- Audio recording.
11-
- Assistant response playback.
12-
- Timer and alarm features.
13-
- Volume ducking and control.
14-
- Conversation state management.
9+
- "Ok Google" or "Hey Google" hotword detection
10+
- Audio recording
11+
- Assistant response playback
12+
- Timer and alarm features
13+
- Volume ducking and control
14+
- Conversation state management
1515

16-
See `Getting Started Guide for Raspberry Pi`_ for a step by step guide on how to get started with the library on Raspberry Pi 3.
16+
See `Getting Started with the Raspberry Pi and Python`_ for a step by step guide on how to get started with the library on Raspberry Pi 3.
1717

1818
Supported configuration
1919
-----------------------
2020

2121
- Python ``>= 3.4``
2222
- Architecture: ``linux-arm7l``
2323

24-
2524
Installing
2625
----------
2726

@@ -33,12 +32,12 @@ Installing
3332
Authorization
3433
-------------
3534

36-
- `Follow the steps`_ to configure a Google API Console Project and a Google Account to use with the Google Assistant SDK.
35+
- `Follow the steps`_ to configure a Google API Console Project and a Google account to use with the Google Assistant SDK.
3736

38-
- Download the ``client_secret_XXXXX.json`` file from the `Google API Console Project credentials section`_ and generatte credentials using ``google-oauth-tool``.::
37+
- Download the ``client_secret_XXXXX.json`` file from the `Google API Console Project credentials section`_ and generate credentials using ``google-oauth-tool``.::
3938

4039
pip install --upgrade google-auth-oauthlib[tool]
41-
google-oauthlib-tool --client-secrets path/to/client_secret_XXXXX.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save
40+
google-oauthlib-tool --client-secrets path/to/client_secret_XXXXX.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless
4241

4342
Usage
4443
-----
@@ -47,14 +46,14 @@ Usage
4746

4847
google-assistant-demo
4948

50-
- Say "Ok Google", followed by a voice query: the demo should
51-
playback the assistant answer and log events to the screen.
49+
- Say "Ok Google", followed by a voice query. The demo should
50+
play back the Assistant's response and log events to the screen.
5251

5352
Reference
5453
---------
5554

56-
- `Reference sample`_ for the Google Assistant Library for Python.
57-
- `Google Assistant Library`_ reference.
55+
- `Reference sample`_ for the Google Assistant Library for Python
56+
- `Google Assistant Library`_ reference
5857

5958
License
6059
-------

google-assistant-sdk/googlesamples/assistant/grpc/README.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ This repository contains a reference sample for the ``google-assistant-grpc`` Py
55

66
It implements the following features:
77

8-
- Triggering a conversation using a key press.
9-
- Audio recording of user queries (single or multiple consecutive queries).
10-
- Playback of the Assistant response.
11-
- Conversation state management.
12-
- Volume control.
8+
- Triggering a conversation using a key press
9+
- Audio recording of user queries (single or multiple consecutive queries)
10+
- Playback of the Assistant response
11+
- Conversation state management
12+
- Volume control
1313

1414
.. _package: https://pypi.python.org/pypi/google-assistant-grpc
1515

@@ -62,7 +62,7 @@ Run the sample
6262
# Record a 5 sec sample and play it back
6363
python -m audio_helpers
6464

65-
- Run the push to talk sample: the sample records a voice query after a key press and plays back the Google Assistant's answer::
65+
- Run the push to talk sample. The sample records a voice query after a key press and plays back the Google Assistant's answer::
6666

6767
python -m pushtotalk
6868

google-assistant-sdk/googlesamples/assistant/library/README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ Python samples for the Google Assistant library
44
This repository contains a reference sample for the ``google-assistant-library`` Python package_.
55

66
It demonstrates:
7-
- Initialization of the Assistant.
7+
- Initialization of the Assistant
88
- Basic event handling including hotword detection.
99

1010
.. _package: https://github.com/googlesamples/assistant-sdk-python/tree/master/google-assistant-library.
1111

1212
Prerequisites
1313
-------------
1414

15-
- `Python <https://www.python.org/>`_ >= 3.4.
16-
- Raspberry Pi 3 running Rasbian (or any other ``linux-arm7l`` SBC).
15+
- `Python <https://www.python.org/>`_ >= 3.4
16+
- Raspberry Pi 3 running Rasbian (or any other ``linux-arm7l`` SBC)
1717
- A `Google API Console Project <https://console.developers.google.com>`_
1818
- A `Google account <https://myaccount.google.com/>`_
1919

@@ -58,14 +58,14 @@ Run the sample
5858
.. _pip: https://pip.pypa.io/
5959
.. _GitHub releases page: https://github.com/googlesamples/assistant-sdk-python/releases
6060

61-
- Run the hotword sample: the sample waits for the "Ok Google" hotword", then records a voice query and plays back the Google Assistant's answer::
61+
- Run the hotword sample. The sample waits for the "Ok Google" hotword, then records a voice query and plays back the Google Assistant's answer::
6262

6363
python -m hotword
6464

6565
Troubleshooting
6666
---------------
6767

68-
- If audio is not working: verify ALSA setup::
68+
- If audio is not working, verify the ALSA setup::
6969

7070
# Play a test sound
7171
speaker-test -t wav

0 commit comments

Comments
 (0)