mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Google Assistant SDK: Document conversation agent (#25657)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
566f3a5095
commit
f3aa86db4b
@ -27,6 +27,7 @@ This integration allows:
|
|||||||
- Someone is at the front door
|
- Someone is at the front door
|
||||||
- Smoke detected in the master bedroom
|
- Smoke detected in the master bedroom
|
||||||
- Water leak detected in the master bathroom
|
- Water leak detected in the master bathroom
|
||||||
|
- Having a conversation with Google Assistant using the [conversation](/integrations/conversation/) integration via text or voice.
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
@ -133,3 +134,22 @@ data:
|
|||||||
- bedroom
|
- bedroom
|
||||||
- basement
|
- basement
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Conversation agent
|
||||||
|
|
||||||
|
In `configuration.yaml` add:
|
||||||
|
```yaml
|
||||||
|
conversation:
|
||||||
|
```
|
||||||
|
|
||||||
|
In the configure options of the integration, enable the conversation agent and then you can converse with Google Assistant by pressing the microphone in the frontend (supported browsers only):
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Or by calling the `conversation.process` service with the transcribed text:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
service: conversation.process
|
||||||
|
data:
|
||||||
|
text: "Dim the family room lights"
|
||||||
|
```
|
||||||
|
BIN
source/images/integrations/google_assistant_sdk/conversation.png
Normal file
BIN
source/images/integrations/google_assistant_sdk/conversation.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
Loading…
x
Reference in New Issue
Block a user