Skip to content

Commit

Permalink
docs(samples): adds new list training sample (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
b-loved-dreamer authored Oct 11, 2021
1 parent 0e85a0c commit 7b6335f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/google-cloud-dialogflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/nodejs-dialogflow/
| Detect | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/detect.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/detect.js,samples/README.md) |
| Detect.v2beta1 | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/detect.v2beta1.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/detect.v2beta1.js,samples/README.md) |
| List-intents | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/list-intents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/list-intents.js,samples/README.md) |
| List Training Phrases | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/listTrainingPhrases.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/listTrainingPhrases.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
| Resource | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/resource.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/resource.js,samples/README.md) |
| Set-agent | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/set-agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/set-agent.js,samples/README.md) |
Expand Down
18 changes: 18 additions & 0 deletions packages/google-cloud-dialogflow/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* [Detect](#detect)
* [Detect.v2beta1](#detect.v2beta1)
* [List-intents](#list-intents)
* [List Training Phrases](#list-training-phrases)
* [Quickstart](#quickstart)
* [Resource](#resource)
* [Set-agent](#set-agent)
Expand Down Expand Up @@ -142,6 +143,23 @@ __Usage:__



### List Training Phrases

View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/listTrainingPhrases.js).

[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/listTrainingPhrases.js,samples/README.md)

__Usage:__


`node samples/listTrainingPhrases.js`


-----




### Quickstart

View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/quickstart.js).
Expand Down

0 comments on commit 7b6335f

Please sign in to comment.