Skip to content

Commit a72a779

Browse files
docs: recommend AnalyzeContent for future users (#884)
* docs: recommend AnalyzeContent for future users PiperOrigin-RevId: 401877120 Source-Link: googleapis/googleapis@9af371c Source-Link: googleapis/googleapis-gen@0db2e0b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMGRiMmUwYjg2NTY2ODFmYjEwZjE4NmY0NGU4NzQ0MGJhM2U5ZDg3MyJ9 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Justin Beckwith <[email protected]>
1 parent 467946b commit a72a779

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

packages/google-cloud-dialogflow/linkinator.config.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
"skip": [
44
"https://codecov.io/gh/googleapis/",
55
"www.googleapis.com",
6-
"img.shields.io",
7-
"https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/webhook.js"
6+
"img.shields.io"
87
],
98
"silent": true,
109
"concurrency": 10

packages/google-cloud-dialogflow/protos/google/cloud/dialogflow/v2beta1/session.proto

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ service Sessions {
6262
// and session entity types to be updated, which in turn might affect
6363
// results of future queries.
6464
//
65+
// If you might use
66+
// [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa)
67+
// or other CCAI products now or in the future, consider using
68+
// [AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent]
69+
// instead of `DetectIntent`. `AnalyzeContent` has additional
70+
// functionality for Agent Assist and other CCAI products.
71+
//
6572
// Note: Always use agent versions for production traffic.
6673
// See [Versions and
6774
// environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
@@ -89,6 +96,13 @@ service Sessions {
8996
// and returns structured, actionable data as a result. This method is only
9097
// available via the gRPC API (not REST).
9198
//
99+
// If you might use
100+
// [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa)
101+
// or other CCAI products now or in the future, consider using
102+
// [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent]
103+
// instead of `StreamingDetectIntent`. `StreamingAnalyzeContent` has
104+
// additional functionality for Agent Assist and other CCAI products.
105+
//
92106
// Note: Always use agent versions for production traffic.
93107
// See [Versions and
94108
// environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).

packages/google-cloud-dialogflow/src/v2beta1/sessions_client.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,13 @@ export class SessionsClient {
472472
* and session entity types to be updated, which in turn might affect
473473
* results of future queries.
474474
*
475+
* If you might use
476+
* [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa)
477+
* or other CCAI products now or in the future, consider using
478+
* {@link google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent|AnalyzeContent}
479+
* instead of `DetectIntent`. `AnalyzeContent` has additional
480+
* functionality for Agent Assist and other CCAI products.
481+
*
475482
* Note: Always use agent versions for production traffic.
476483
* See [Versions and
477484
* environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
@@ -587,6 +594,13 @@ export class SessionsClient {
587594
* and returns structured, actionable data as a result. This method is only
588595
* available via the gRPC API (not REST).
589596
*
597+
* If you might use
598+
* [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa)
599+
* or other CCAI products now or in the future, consider using
600+
* {@link google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent|StreamingAnalyzeContent}
601+
* instead of `StreamingDetectIntent`. `StreamingAnalyzeContent` has
602+
* additional functionality for Agent Assist and other CCAI products.
603+
*
590604
* Note: Always use agent versions for production traffic.
591605
* See [Versions and
592606
* environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).

0 commit comments

Comments
 (0)