Skip to content

Commit

Permalink
docs: recommend AnalyzeContent for future users (#884)
Browse files Browse the repository at this point in the history
* 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 <justin.beckwith@gmail.com>
  • Loading branch information
3 people authored Oct 11, 2021
1 parent 467946b commit a72a779
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
3 changes: 1 addition & 2 deletions packages/google-cloud-dialogflow/linkinator.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"skip": [
"https://codecov.io/gh/googleapis/",
"www.googleapis.com",
"img.shields.io",
"https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/webhook.js"
"img.shields.io"
],
"silent": true,
"concurrency": 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ service Sessions {
// and session entity types to be updated, which in turn might affect
// results of future queries.
//
// If you might use
// [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa)
// or other CCAI products now or in the future, consider using
// [AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent]
// instead of `DetectIntent`. `AnalyzeContent` has additional
// functionality for Agent Assist and other CCAI products.
//
// Note: Always use agent versions for production traffic.
// See [Versions and
// environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
Expand Down Expand Up @@ -89,6 +96,13 @@ service Sessions {
// and returns structured, actionable data as a result. This method is only
// available via the gRPC API (not REST).
//
// If you might use
// [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa)
// or other CCAI products now or in the future, consider using
// [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent]
// instead of `StreamingDetectIntent`. `StreamingAnalyzeContent` has
// additional functionality for Agent Assist and other CCAI products.
//
// Note: Always use agent versions for production traffic.
// See [Versions and
// environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
Expand Down
14 changes: 14 additions & 0 deletions packages/google-cloud-dialogflow/src/v2beta1/sessions_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,13 @@ export class SessionsClient {
* and session entity types to be updated, which in turn might affect
* results of future queries.
*
* If you might use
* [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa)
* or other CCAI products now or in the future, consider using
* {@link google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent|AnalyzeContent}
* instead of `DetectIntent`. `AnalyzeContent` has additional
* functionality for Agent Assist and other CCAI products.
*
* Note: Always use agent versions for production traffic.
* See [Versions and
* environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
Expand Down Expand Up @@ -587,6 +594,13 @@ export class SessionsClient {
* and returns structured, actionable data as a result. This method is only
* available via the gRPC API (not REST).
*
* If you might use
* [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa)
* or other CCAI products now or in the future, consider using
* {@link google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent|StreamingAnalyzeContent}
* instead of `StreamingDetectIntent`. `StreamingAnalyzeContent` has
* additional functionality for Agent Assist and other CCAI products.
*
* Note: Always use agent versions for production traffic.
* See [Versions and
* environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).
Expand Down

0 comments on commit a72a779

Please sign in to comment.