Skip to content

Commit 8a86dba

Browse files
feat: [google-cloud-dialogflow-cx] added support for playbook level speech settings (#13560)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat(v3beta1): added support for playbook level speech settings feat(v3beta1): added support for answer feedback & latency metrics in conversation history feat(v3beta1): added DocumentProcessingMode & BoostSpec for data stores END_COMMIT_OVERRIDE PiperOrigin-RevId: 730930887 Source-Link: googleapis/googleapis@fbbbf50 Source-Link: googleapis/googleapis-gen@e56f45e Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRpYWxvZ2Zsb3ctY3gvLk93bEJvdC55YW1sIiwiaCI6ImU1NmY0NWUxYjQyNTQ5MGE4ZWQ0M2I1ZTkyMDAzMWNiOTJiMzVmOGQifQ== --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 2c83cbc commit 8a86dba

30 files changed

+402
-81
lines changed

packages/google-cloud-dialogflow-cx/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ In order to use this library, you first need to go through the following steps:
2626
1. `Select or create a Cloud Platform project.`_
2727
2. `Enable billing for your project.`_
2828
3. `Enable the Dialogflow CX.`_
29-
4. `Setup Authentication.`_
29+
4. `Set up Authentication.`_
3030

3131
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
3232
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
3333
.. _Enable the Dialogflow CX.: https://cloud.google.com/dialogflow/cx/docs
34-
.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
34+
.. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
3535

3636
Installation
3737
~~~~~~~~~~~~

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.39.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.39.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3beta1/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
DataStoreConnection,
102102
DataStoreConnectionSignals,
103103
DataStoreType,
104+
DocumentProcessingMode,
104105
)
105106
from .types.deployment import (
106107
Deployment,
@@ -488,6 +489,7 @@
488489
"DeploymentsClient",
489490
"DetectIntentRequest",
490491
"DetectIntentResponse",
492+
"DocumentProcessingMode",
491493
"DtmfInput",
492494
"EntityType",
493495
"EntityTypesClient",

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3beta1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "1.39.0" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3beta1/services/playbooks/async_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050

5151
from google.cloud.dialogflowcx_v3beta1.services.playbooks import pagers
5252
from google.cloud.dialogflowcx_v3beta1.types import (
53+
advanced_settings,
5354
example,
5455
generative_settings,
5556
parameter_definition,

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3beta1/services/playbooks/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767

6868
from google.cloud.dialogflowcx_v3beta1.services.playbooks import pagers
6969
from google.cloud.dialogflowcx_v3beta1.types import (
70+
advanced_settings,
7071
example,
7172
generative_settings,
7273
parameter_definition,

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3beta1/services/sessions/async_client.py

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -621,31 +621,25 @@ def request_generator():
621621
[StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent]
622622
method.
623623
624-
Multiple response messages (N) can be returned in
625-
order.
626-
627-
The first (N-1) responses set either the
628-
recognition_result or detect_intent_response field,
629-
depending on the request:
624+
Multiple response messages can be returned in order:
630625
631626
- If the
632627
StreamingDetectIntentRequest.query_input.audio
633-
field was set, and the
634-
StreamingDetectIntentRequest.enable_partial_response
635-
field was false, the recognition_result field is
636-
populated for each of the (N-1) responses. See the
637-
[StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult]
638-
message for details about the result message
639-
sequence.
628+
field was set, the first M messages contain
629+
recognition_result. Each recognition_result
630+
represents a more complete transcript of what the
631+
user said. The last recognition_result has
632+
is_final set to true.
640633
- If the
641634
StreamingDetectIntentRequest.enable_partial_response
642635
field was true, the detect_intent_response field
643-
is populated for each of the (N-1) responses,
644-
where 1 <= N <= 4. These responses set the
636+
is populated for each of the following N
637+
responses, where 0 <= N <= 5. These responses set
638+
the
645639
[DetectIntentResponse.response_type][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.response_type]
646640
field to PARTIAL.
647641
648-
For the final Nth response message, the
642+
For the last response message, the
649643
detect_intent_response is fully populated, and
650644
[DetectIntentResponse.response_type][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.response_type]
651645
is set to FINAL.

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3beta1/services/sessions/client.py

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,31 +1312,25 @@ def request_generator():
13121312
[StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent]
13131313
method.
13141314
1315-
Multiple response messages (N) can be returned in
1316-
order.
1317-
1318-
The first (N-1) responses set either the
1319-
recognition_result or detect_intent_response field,
1320-
depending on the request:
1315+
Multiple response messages can be returned in order:
13211316
13221317
- If the
13231318
StreamingDetectIntentRequest.query_input.audio
1324-
field was set, and the
1325-
StreamingDetectIntentRequest.enable_partial_response
1326-
field was false, the recognition_result field is
1327-
populated for each of the (N-1) responses. See the
1328-
[StreamingRecognitionResult][google.cloud.dialogflow.cx.v3beta1.StreamingRecognitionResult]
1329-
message for details about the result message
1330-
sequence.
1319+
field was set, the first M messages contain
1320+
recognition_result. Each recognition_result
1321+
represents a more complete transcript of what the
1322+
user said. The last recognition_result has
1323+
is_final set to true.
13311324
- If the
13321325
StreamingDetectIntentRequest.enable_partial_response
13331326
field was true, the detect_intent_response field
1334-
is populated for each of the (N-1) responses,
1335-
where 1 <= N <= 4. These responses set the
1327+
is populated for each of the following N
1328+
responses, where 0 <= N <= 5. These responses set
1329+
the
13361330
[DetectIntentResponse.response_type][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.response_type]
13371331
field to PARTIAL.
13381332
1339-
For the final Nth response message, the
1333+
For the last response message, the
13401334
detect_intent_response is fully populated, and
13411335
[DetectIntentResponse.response_type][google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.response_type]
13421336
is set to FINAL.

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3beta1/types/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
DataStoreConnection,
6464
DataStoreConnectionSignals,
6565
DataStoreType,
66+
DocumentProcessingMode,
6667
)
6768
from .deployment import (
6869
Deployment,
@@ -395,6 +396,7 @@
395396
"DataStoreConnection",
396397
"DataStoreConnectionSignals",
397398
"DataStoreType",
399+
"DocumentProcessingMode",
398400
"Deployment",
399401
"GetDeploymentRequest",
400402
"ListDeploymentsRequest",

0 commit comments

Comments
 (0)