Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
docs: update READMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Dec 8, 2020
1 parent 25b53eb commit 6d87d1b
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 20 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ npm install @google-cloud/dialogflow-cx

// Imports the Google Cloud Some API library
const {SessionsClient} = require('@google-cloud/dialogflow-cx');
/**
* Example for regional endpoint:
* const location = 'us-central1'
* const client = new SessionsClient({apiEndpoint: 'us-central1-dialogflow.googleapis.com'})
*/
const client = new SessionsClient();

const fs = require('fs');
Expand Down
5 changes: 1 addition & 4 deletions linkinator.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
"skip": [
"https://codecov.io/gh/googleapis/",
"www.googleapis.com",
"img.shields.io",
"https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect-intent-audio.js",
"https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect-intent-streaming.js",
"https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect-intent-text.js"
"img.shields.io"
],
"silent": true,
"concurrency": 10
Expand Down
30 changes: 15 additions & 15 deletions samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

* [Before you begin](#before-you-begin)
* [Samples](#samples)
* [Detect_intent_audio](#detect_intent_audio)
* [Detect_intent_streaming](#detect_intent_streaming)
* [Detect_intent_text](#detect_intent_text)
* [Detect-intent-audio](#detect-intent-audio)
* [Detect-intent-streaming](#detect-intent-streaming)
* [Detect-intent-text](#detect-intent-text)
* [List-intents](#list-intents)
* [Quickstart](#quickstart)

Expand All @@ -33,50 +33,50 @@ Before running the samples, make sure you've followed the steps outlined in



### Detect_intent_audio
### Detect-intent-audio

View the [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect_intent_audio.js).
View the [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect-intent-audio.js).

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

__Usage:__


`node samples/detect_intent_audio.js`
`node samples/detect-intent-audio.js`


-----




### Detect_intent_streaming
### Detect-intent-streaming

View the [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect_intent_streaming.js).
View the [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect-intent-streaming.js).

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

__Usage:__


`node samples/detect_intent_streaming.js`
`node samples/detect-intent-streaming.js`


-----




### Detect_intent_text
### Detect-intent-text

View the [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect_intent_text.js).
View the [source code](https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/detect-intent-text.js).

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

__Usage:__


`node samples/detect_intent_text.js`
`node samples/detect-intent-text.js`


-----
Expand Down
2 changes: 1 addition & 1 deletion synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/nodejs-dialogflow-cx.git",
"sha": "b55737c7bcdbe7b20e1d1299612eace05516af73"
"sha": "25b53ebd3633d69fda2ad0ad1b863bbdc491c1cd"
}
},
{
Expand Down

0 comments on commit 6d87d1b

Please sign in to comment.