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

Commit a7019e3

Browse files
committed
Merge branch 'eap-device-actions'
Change-Id: I98c9afd188248e4ee8fc30559261cf728b346be5
2 parents c923502 + 41a6cea commit a7019e3

26 files changed

+2414
-425
lines changed

google-assistant-grpc/CHANGELOG.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Changelog
22
=========
3+
0.1.0
4+
-----
5+
- Adds Device Actions to gRPC protobuf
36

47
0.0.2
58
-----

google-assistant-grpc/google/assistant/embedded/v1alpha1/embedded_assistant_pb2.py

Lines changed: 157 additions & 266 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google-assistant-grpc/google/assistant/embedded/v1alpha1/embedded_assistant_pb2_grpc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
22
import grpc
3-
from grpc.framework.common import cardinality
4-
from grpc.framework.interfaces.face import utilities as face_utilities
53

6-
import google.assistant.embedded.v1alpha1.embedded_assistant_pb2 as google_dot_assistant_dot_embedded_dot_v1alpha1_dot_embedded__assistant__pb2
4+
from google.assistant.embedded.v1alpha1 import embedded_assistant_pb2 as google_dot_assistant_dot_embedded_dot_v1alpha1_dot_embedded__assistant__pb2
75

86

97
class EmbeddedAssistantStub(object):
@@ -45,11 +43,13 @@ def Converse(self, request_iterator, context):
4543
* ConverseRequest.audio_in
4644
* ConverseRequest.audio_in
4745
* ConverseResponse.event_type.END_OF_UTTERANCE
46+
* ConverseResponse.result.spoken_request_text "add to my shopping list"
4847
* ConverseResponse.result.microphone_mode.DIALOG_FOLLOW_ON
4948
* ConverseResponse.audio_out
5049
* ConverseResponse.audio_out
5150
* ConverseResponse.audio_out
5251
52+
5353
The user then says *bagels* and the assistant responds
5454
*OK, I've added bagels to your shopping list*. This is sent as another gRPC
5555
connection call to the `Converse` method, again with streamed requests and
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright (C) 2017 Google Inc.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.

0 commit comments

Comments
 (0)