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

Commit 1afdab3

Browse files
docs(v2beta1): recommend AnalyzeContent for future users (#420)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 401877120 Source-Link: googleapis/googleapis@9af371c Source-Link: https://github.com/googleapis/googleapis-gen/commit/0db2e0b8656681fb10f186f44e87440ba3e9d873 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMGRiMmUwYjg2NTY2ODFmYjEwZjE4NmY0NGU4NzQ0MGJhM2U5ZDg3MyJ9
1 parent 47de20e commit 1afdab3

File tree

4 files changed

+60
-0
lines changed

4 files changed

+60
-0
lines changed

google/cloud/dialogflow_v2beta1/services/sessions/async_client.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,13 @@ async def detect_intent(
193193
because it may cause contexts and session entity types to be
194194
updated, which in turn might affect results of future queries.
195195
196+
If you might use `Agent
197+
Assist <https://cloud.google.com/dialogflow/docs/#aa>`__ or
198+
other CCAI products now or in the future, consider using
199+
[AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent]
200+
instead of ``DetectIntent``. ``AnalyzeContent`` has additional
201+
functionality for Agent Assist and other CCAI products.
202+
196203
Note: Always use agent versions for production traffic. See
197204
`Versions and
198205
environments <https://cloud.google.com/dialogflow/es/docs/agents-versions>`__.
@@ -318,6 +325,14 @@ def streaming_detect_intent(
318325
result. This method is only available via the gRPC API (not
319326
REST).
320327
328+
If you might use `Agent
329+
Assist <https://cloud.google.com/dialogflow/docs/#aa>`__ or
330+
other CCAI products now or in the future, consider using
331+
[StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent]
332+
instead of ``StreamingDetectIntent``.
333+
``StreamingAnalyzeContent`` has additional functionality for
334+
Agent Assist and other CCAI products.
335+
321336
Note: Always use agent versions for production traffic. See
322337
`Versions and
323338
environments <https://cloud.google.com/dialogflow/es/docs/agents-versions>`__.

google/cloud/dialogflow_v2beta1/services/sessions/client.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,13 @@ def detect_intent(
426426
because it may cause contexts and session entity types to be
427427
updated, which in turn might affect results of future queries.
428428
429+
If you might use `Agent
430+
Assist <https://cloud.google.com/dialogflow/docs/#aa>`__ or
431+
other CCAI products now or in the future, consider using
432+
[AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent]
433+
instead of ``DetectIntent``. ``AnalyzeContent`` has additional
434+
functionality for Agent Assist and other CCAI products.
435+
429436
Note: Always use agent versions for production traffic. See
430437
`Versions and
431438
environments <https://cloud.google.com/dialogflow/es/docs/agents-versions>`__.
@@ -542,6 +549,14 @@ def streaming_detect_intent(
542549
result. This method is only available via the gRPC API (not
543550
REST).
544551
552+
If you might use `Agent
553+
Assist <https://cloud.google.com/dialogflow/docs/#aa>`__ or
554+
other CCAI products now or in the future, consider using
555+
[StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent]
556+
instead of ``StreamingDetectIntent``.
557+
``StreamingAnalyzeContent`` has additional functionality for
558+
Agent Assist and other CCAI products.
559+
545560
Note: Always use agent versions for production traffic. See
546561
`Versions and
547562
environments <https://cloud.google.com/dialogflow/es/docs/agents-versions>`__.

google/cloud/dialogflow_v2beta1/services/sessions/transports/grpc.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,13 @@ def detect_intent(
240240
because it may cause contexts and session entity types to be
241241
updated, which in turn might affect results of future queries.
242242
243+
If you might use `Agent
244+
Assist <https://cloud.google.com/dialogflow/docs/#aa>`__ or
245+
other CCAI products now or in the future, consider using
246+
[AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent]
247+
instead of ``DetectIntent``. ``AnalyzeContent`` has additional
248+
functionality for Agent Assist and other CCAI products.
249+
243250
Note: Always use agent versions for production traffic. See
244251
`Versions and
245252
environments <https://cloud.google.com/dialogflow/es/docs/agents-versions>`__.
@@ -275,6 +282,14 @@ def streaming_detect_intent(
275282
result. This method is only available via the gRPC API (not
276283
REST).
277284
285+
If you might use `Agent
286+
Assist <https://cloud.google.com/dialogflow/docs/#aa>`__ or
287+
other CCAI products now or in the future, consider using
288+
[StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent]
289+
instead of ``StreamingDetectIntent``.
290+
``StreamingAnalyzeContent`` has additional functionality for
291+
Agent Assist and other CCAI products.
292+
278293
Note: Always use agent versions for production traffic. See
279294
`Versions and
280295
environments <https://cloud.google.com/dialogflow/es/docs/agents-versions>`__.

google/cloud/dialogflow_v2beta1/services/sessions/transports/grpc_asyncio.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,13 @@ def detect_intent(
245245
because it may cause contexts and session entity types to be
246246
updated, which in turn might affect results of future queries.
247247
248+
If you might use `Agent
249+
Assist <https://cloud.google.com/dialogflow/docs/#aa>`__ or
250+
other CCAI products now or in the future, consider using
251+
[AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent]
252+
instead of ``DetectIntent``. ``AnalyzeContent`` has additional
253+
functionality for Agent Assist and other CCAI products.
254+
248255
Note: Always use agent versions for production traffic. See
249256
`Versions and
250257
environments <https://cloud.google.com/dialogflow/es/docs/agents-versions>`__.
@@ -281,6 +288,14 @@ def streaming_detect_intent(
281288
result. This method is only available via the gRPC API (not
282289
REST).
283290
291+
If you might use `Agent
292+
Assist <https://cloud.google.com/dialogflow/docs/#aa>`__ or
293+
other CCAI products now or in the future, consider using
294+
[StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent]
295+
instead of ``StreamingDetectIntent``.
296+
``StreamingAnalyzeContent`` has additional functionality for
297+
Agent Assist and other CCAI products.
298+
284299
Note: Always use agent versions for production traffic. See
285300
`Versions and
286301
environments <https://cloud.google.com/dialogflow/es/docs/agents-versions>`__.

0 commit comments

Comments
 (0)