Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

microphone input stream #157

Closed
staminna opened this issue Jul 21, 2016 · 20 comments
Closed

microphone input stream #157

staminna opened this issue Jul 21, 2016 · 20 comments
Assignees
Labels
🚨 This issue needs some love. triage me I really want to be triaged.

Comments

@staminna
Copy link

Hi

Why isn't there streaming support?
I am looking at https://github.com/gillesdemey/node-record-lpcm16

Thanks

@Hgergely
Copy link

You can do it for yourself. You can start a sub-process in node with
"arecord" and pipe it instead of file input
I have done it. it worked.

On 21 July 2016 at 17:43, Jorge notifications@github.com wrote:

Hi

Why isn't there streaming support?
I am looking at https://github.com/gillesdemey/node-record-lpcm16

Thanks


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#157,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFyOcZEfv4rKSdUujKVNmZAvHd5q1Hm2ks5qX6GugaJpZM4JR_j9
.

@jmdobry
Copy link
Member

jmdobry commented Jul 21, 2016

@staminna Which sample are you talking about?

@Hgergely
Copy link

Iam sure he is talking about streaming.js

On Thu, 21 Jul 2016, 17:51 Jason Dobry, notifications@github.com wrote:

@staminna https://github.com/staminna Which sample are you talking
about?


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
#157 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFyOcXO4d-AD7jYsRJB84kyAPdrcIrNuks5qX6OPgaJpZM4JR_j9
.

@jmdobry
Copy link
Member

jmdobry commented Jul 21, 2016

Then I don't understand the question. speech/recognize_streaming.js is an example of using the Speech API's bi-directional streaming gRPC method. streamingRecognize() returns a duplex stream object.

@Hgergely
Copy link

This guy wants an example of how it can be used with a hardware audio input
( microphone) instead of audio file. I understand the question but I think
he must understand : Firstly that this topic is not about all ways how the
api can be used. Secondly this nodejs example is environment independent
and cannot provide a environment dependent solution like microphone usage.
Microphone is used totally different ways depending on the op system under
node.

On Thu, 21 Jul 2016, 18:29 Jason Dobry, notifications@github.com wrote:

Then I don't understand the question. speech/recognize_streaming.js is an
example of using the Speech API's bi-directional streaming gRPC method.
streamingRecognize() returns a duplex stream object.


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
#157 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFyOcSN7NokBw5tyXnD4JlTqQ6rE4dAHks5qX6yBgaJpZM4JR_j9
.

@jmdobry
Copy link
Member

jmdobry commented Jul 21, 2016

Makes sense. I think the one of the biggest takeaways from the sample is that streamingRecognize() returns a duplex stream object, which means that one can do the following (borrowing from the sample):

var grpcStream = speechService.streamingRecognize();
grpcStream.write(streamingRecognizeRequest);

readableStream
  .pipe(toRecognizeRequest)
  .pipe(grpcStream);

where readableStream is any Node.js readable stream, e.g. file stream, http stream, recording stream from node-record-lpcm16, or whatever.

@Hgergely
Copy link

Yeas thats what I did. Simply replaced the readablestream with a audio
input stream provided by linux arecord data. It works like charm but node
record lmpcm16 can be an even better choice. Thanks Jason.

On Thu, 21 Jul 2016, 19:53 Jason Dobry, notifications@github.com wrote:

Makes sense. I think the one of the biggest takeaways from the sample that
we have is that streamingRecognize() returns a duplex stream object,
which means that one can do the following (borrowing from the sample):

var grpcStream = speechService.streamingRecognize();grpcStream.write(streamingRecognizeRequest);

readableStream
.pipe(toRecognizeRequest)
.pipe(grpcStream);

where readableStream is any Node.js readable stream, e.g. file stream,
http stream, recording stream from node-record-lpcm16, or whatever.


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
#157 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFyOcU1bNA02ye2ifBD3YvqbzI9q2Nblks5qX8A3gaJpZM4JR_j9
.

@staminna
Copy link
Author

staminna commented Aug 8, 2016

@jmdobry Where should this go?
I keep getting grpcStream.write(streamingRecognizeRequest);
ReferenceError: streamingRecognizeRequest is not defined

@jmdobry
Copy link
Member

jmdobry commented Aug 8, 2016

Can you show all of your code?

@staminna
Copy link
Author

staminna commented Aug 9, 2016

@jmdobry
Copy link
Member

jmdobry commented Aug 9, 2016

@staminna Here's a more concise example you can try. Save it to a file and run it. You don't have to pass any arguments to the file.

// Copyright 2016, Google, Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//    http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

'use strict';

var async = require('async');
var fs = require('fs');
var path = require('path');
var grpc = require('grpc');
var googleProtoFiles = require('google-proto-files');
var googleAuth = require('google-auto-auth');
var Transform = require('stream').Transform;
var record = require('node-record-lpcm16');

var PROTO_ROOT_DIR = googleProtoFiles('..');
var protoDescriptor = grpc.load({
  root: PROTO_ROOT_DIR,
  file: path.relative(PROTO_ROOT_DIR, googleProtoFiles.speech.v1beta1)
}, 'proto', {
  binaryAsBase64: true,
  convertFieldsToCamelCase: true
});
var speechProto = protoDescriptor.google.cloud.speech.v1beta1;

function getSpeechService (callback) {
  var googleAuthClient = googleAuth({
    scopes: [
      'https://www.googleapis.com/auth/cloud-platform'
    ]
  });

  googleAuthClient.getAuthClient(function (err, authClient) {
    if (err) {
      return callback(err);
    }

    var credentials = grpc.credentials.combineChannelCredentials(
      grpc.credentials.createSsl(),
      grpc.credentials.createFromGoogleCredential(authClient)
    );

    console.log('Loading speech service...');
    var stub = new speechProto.Speech('speech.googleapis.com', credentials);
    return callback(null, stub);
  });
}

async.waterfall([
  function (cb) {
    getSpeechService(cb);
  },
  function sendRequest (speechService, cb) {
    console.log('Analyzing speech...');
    var call = speechService.streamingRecognize()
      .on('error', cb)
      .on('data', function (recognizeResponse) {
        console.log(JSON.stringify(recognizeResponse, null, 2));
      })
      .on('end', cb);

    // Write the initial recognize reqeust
    call.write({
      streamingConfig: {
        config: {
          encoding: 'LINEAR16',
          sampleRate: 16000
        },
        interimResults: true,
        singleUtterance: false
      }
    });

    var toRecognizeRequest = new Transform({ objectMode: true });
    toRecognizeRequest._transform = function (chunk, encoding, done) {
      done(null, {
        audioContent: chunk
      });
    };

    // Start recording
    var readableMicrophoneStream = record.start({
      sampleRate : 16000,
      verbose : true
    });

    // Stream the microphone audio to the Speech API
    readableMicrophoneStream
      .pipe(toRecognizeRequest)
      .pipe(call);
  }
], function (err) {
  if (err) {
    return console.error(err);
  }
  console.log('DONE');
});

@staminna
Copy link
Author

I can't seem to make this loop once JSON returns isFinal true. Can someone help me with this? I should be able to continue from there.

@jmdobry
Copy link
Member

jmdobry commented Aug 19, 2016

I'm not sure I understand. Perhaps use recursion to restart your stream?

@staminna
Copy link
Author

I had all sorts of problems with recursive calls exceeding memory on using node-async-loop. This example only listens once, and exits node when it's done ( only once). I would like it to keep listening at all times and not exit once is 'DONE'.

@jmdobry
Copy link
Member

jmdobry commented Nov 7, 2016

I added a microphone streaming sample: https://github.com/GoogleCloudPlatform/nodejs-docs-samples/blob/master/speech/recognize.js#L91

@linhdoha
Copy link

@jmdobry can you explain me what problems did I met?

C:\Users\Linhdoha\nodejs-docs-samples\speech>node recognize listen
Listening, press Ctrl+C to stop.
events.js:160
throw er; // Unhandled 'error' event
^

Error: spawn rec ENOENT
at exports._errnoException (util.js:1026:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:359:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3

C:\Users\Linhdoha\nodejs-docs-samples\speech>

node recognize sync worked fine
node recognize async worked fine

@jmdobry
Copy link
Member

jmdobry commented Nov 15, 2016

It seems that the node-record-lpcm16 struggles on Windows. There is an outstanding issue: gillesdemey/node-record-lpcm16#8

@freund17
Copy link

I think I found a fix for it:
See gillesdemey/node-record-lpcm16#8

@endoplasmic
Copy link

endoplasmic commented Apr 2, 2017

Just curious if something has changed on this. I'm new to the google cloud API stuff, but I am looking for a speech-to-text solution using a microphone (or even just passing audio samples from another source).

I can't seem to get the mic sample to output interim results (if I set interimResults or interim_results to true, I don't get any response at all, just hangs). If I run the sample as-is I see the events for START_OF_SPEECH, END_OF_SPEECH and ENDPOINTER_EVENT_UNSPECIFIED (which contains the entire string)

Node version is 6.9.1 and the speech library is 0.8.0. Running on macOS 10.12.4

Thanks for any help in advance, looking forward to getting this up and running and trying something other than Houndify.

edit:

Alright, I got it working, the error was that the config object doesn't hold all of the config and that interimResults needs to be a sibling to config in the request object, like so:

const request = {
  config: {
    encoding: encoding,
    sampleRate: sampleRate
  },
  interimResults: true,
};

@Nathan4KImpact
Copy link

Hello everybody,

When I try the example of @jmdobry above,

I too, get no error, but no text as response, just that

Loading speech service... edit.js:189 Analyzing speech... E:\NathanTestsWS\simple-protocol-recorder\src\node_modules\node-record-lpcm16\index.js:73 Recording with sample rate 16000... E:\NathanTestsWS\simple-protocol-recorder\src\node_modules\node-record-lpcm16\index.js:77 Recording 5548 bytes E:\NathanTestsWS\simple-protocol-recorder\src\node_modules\node-record-lpcm16\index.js:81 End Recording: 289.128ms edit.js:193 { "error": null, "results": [], "resultIndex": 0, "endpointerType": "END_OF_AUDIO" } edit.js:236 DONE

Thanks for any help !

@yoshi-automation yoshi-automation added 🚨 This issue needs some love. triage me I really want to be triaged. labels Apr 7, 2020
rogerthatdev pushed a commit that referenced this issue Nov 10, 2022
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
ace-n pushed a commit that referenced this issue Nov 10, 2022
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
rogerthatdev pushed a commit that referenced this issue Nov 11, 2022
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
ace-n pushed a commit that referenced this issue Nov 11, 2022
* Vision beta samples

* Vision beta samples

* Vision beta samples

* Vision beta samples

* fixing tests

* fixing tests

* fixing tests

* fixing tests

* fixing tests
ace-n pushed a commit that referenced this issue Nov 11, 2022
* Vision beta samples

* Vision beta samples

* Vision beta samples

* Vision beta samples

* fixing tests

* fixing tests

* fixing tests

* fixing tests

* fixing tests
ace-n pushed a commit that referenced this issue Nov 14, 2022
ace-n pushed a commit that referenced this issue Nov 14, 2022
ace-n pushed a commit that referenced this issue Nov 14, 2022
* Vision beta samples

* Vision beta samples

* Vision beta samples

* Vision beta samples

* fixing tests

* fixing tests

* fixing tests

* fixing tests

* fixing tests
ace-n pushed a commit that referenced this issue Nov 14, 2022
ace-n pushed a commit that referenced this issue Nov 15, 2022
ace-n pushed a commit that referenced this issue Nov 15, 2022
* Vision beta samples

* Vision beta samples

* Vision beta samples

* Vision beta samples

* fixing tests

* fixing tests

* fixing tests

* fixing tests

* fixing tests
ace-n pushed a commit that referenced this issue Nov 15, 2022
* Vision beta samples

* Vision beta samples

* Vision beta samples

* Vision beta samples

* fixing tests

* fixing tests

* fixing tests

* fixing tests

* fixing tests
ace-n pushed a commit that referenced this issue Nov 16, 2022
🤖 I have created a release \*beep\* \*boop\*
---
## [2.13.0](https://www.github.com/googleapis/nodejs-dialogflow-cx/compare/v2.12.1...v2.13.0) (2021-08-17)


### Features

* add advanced settings for agent level feat: add rollout config, state and failure reason for experiment feat: add insights export settings for security setting feat: add language code for streaming recognition result and flow versions for query p... ([#156](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/156)) ([80d2f94](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/80d2f94bcfaa65ea442ee4f8133d850035be04ed))
* added support for DLP templates; expose `Locations` service to get/list avaliable locations of Dialogflow products ([#162](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/162)) ([b77bde9](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/b77bde9893cde0c9e766b8e844fa4cca61efb5aa))


### Bug Fixes

* **build:** migrate to using main branch ([#164](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/164)) ([092d69d](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/092d69d76716297aff6a671200088d5740b1fd47))
* **deps:** google-gax v2.24.1 ([#165](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/165)) ([6261c37](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/6261c37019b3ce94a9876bfa4634837132691888))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
ace-n pushed a commit that referenced this issue Nov 17, 2022
* Vision beta samples

* Vision beta samples

* Vision beta samples

* Vision beta samples

* fixing tests

* fixing tests

* fixing tests

* fixing tests

* fixing tests
ace-n pushed a commit that referenced this issue Nov 17, 2022
* Vision beta samples

* Vision beta samples

* Vision beta samples

* Vision beta samples

* fixing tests

* fixing tests

* fixing tests

* fixing tests

* fixing tests
unforced pushed a commit that referenced this issue Nov 17, 2022
🤖 I have created a release \*beep\* \*boop\*
---
## [3.2.0](https://www.github.com/googleapis/nodejs-service-directory/compare/v3.1.3...v3.2.0) (2021-06-25)


### Features

* Update Service Directory v1beta1 protos to include VPC Network field, and create/modify timestamp fields ([#155](https://www.github.com/googleapis/nodejs-service-directory/issues/155)) ([cd103d7](https://www.github.com/googleapis/nodejs-service-directory/commit/cd103d7d7c567e0a4b18890797e43cbde616db5f))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
unforced pushed a commit that referenced this issue Nov 17, 2022
🤖 I have created a release \*beep\* \*boop\*
---
## [3.2.0](https://www.github.com/googleapis/nodejs-service-directory/compare/v3.1.3...v3.2.0) (2021-06-25)


### Features

* Update Service Directory v1beta1 protos to include VPC Network field, and create/modify timestamp fields ([#155](https://www.github.com/googleapis/nodejs-service-directory/issues/155)) ([cd103d7](https://www.github.com/googleapis/nodejs-service-directory/commit/cd103d7d7c567e0a4b18890797e43cbde616db5f))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
ahrarmonsur pushed a commit that referenced this issue Nov 17, 2022
* Vision beta samples

* Vision beta samples

* Vision beta samples

* Vision beta samples

* fixing tests

* fixing tests

* fixing tests

* fixing tests

* fixing tests
ahrarmonsur pushed a commit that referenced this issue Nov 17, 2022
🤖 I have created a release \*beep\* \*boop\*
---
## [3.2.0](https://www.github.com/googleapis/nodejs-service-directory/compare/v3.1.3...v3.2.0) (2021-06-25)


### Features

* Update Service Directory v1beta1 protos to include VPC Network field, and create/modify timestamp fields ([#155](https://www.github.com/googleapis/nodejs-service-directory/issues/155)) ([cd103d7](https://www.github.com/googleapis/nodejs-service-directory/commit/cd103d7d7c567e0a4b18890797e43cbde616db5f))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
ace-n pushed a commit that referenced this issue Nov 17, 2022
🤖 I have created a release \*beep\* \*boop\*
---
## [2.13.0](https://www.github.com/googleapis/nodejs-dialogflow-cx/compare/v2.12.1...v2.13.0) (2021-08-17)


### Features

* add advanced settings for agent level feat: add rollout config, state and failure reason for experiment feat: add insights export settings for security setting feat: add language code for streaming recognition result and flow versions for query p... ([#156](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/156)) ([80d2f94](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/80d2f94bcfaa65ea442ee4f8133d850035be04ed))
* added support for DLP templates; expose `Locations` service to get/list avaliable locations of Dialogflow products ([#162](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/162)) ([b77bde9](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/b77bde9893cde0c9e766b8e844fa4cca61efb5aa))


### Bug Fixes

* **build:** migrate to using main branch ([#164](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/164)) ([092d69d](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/092d69d76716297aff6a671200088d5740b1fd47))
* **deps:** google-gax v2.24.1 ([#165](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/165)) ([6261c37](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/6261c37019b3ce94a9876bfa4634837132691888))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
NimJay pushed a commit that referenced this issue Nov 18, 2022
🤖 I have created a release \*beep\* \*boop\* 
---
## [2.1.0](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.0.0...v2.1.0) (2020-06-16)


### Features

* add order field to TagField and TagTemplateField ([#157](https://www.github.com/googleapis/nodejs-datacatalog/issues/157)) ([70c23c2](https://www.github.com/googleapis/nodejs-datacatalog/commit/70c23c2b609bd24901dc902090e23fbf92b55895))
* move ts target to es2018 from es2016 ([#172](https://www.github.com/googleapis/nodejs-datacatalog/issues/172)) ([e354dde](https://www.github.com/googleapis/nodejs-datacatalog/commit/e354ddeeeedd3e106c50ed579075f23c9d9c5bb5))
* promote library to GA ([#177](https://www.github.com/googleapis/nodejs-datacatalog/issues/177)) ([ac11090](https://www.github.com/googleapis/nodejs-datacatalog/commit/ac110906b723f362024318295e3de6743c905b7e))


### Bug Fixes

* proper fallback option handling ([51df672](https://www.github.com/googleapis/nodejs-datacatalog/commit/51df6721306ab6d2d9bf6919b0f3f432ca85b4ab))
* regenerate unit tests ([#163](https://www.github.com/googleapis/nodejs-datacatalog/issues/163)) ([4593117](https://www.github.com/googleapis/nodejs-datacatalog/commit/45931176d266d364e0508039cf6a4e284ad2923d))
* synth.py clean up for multiple version ([#167](https://www.github.com/googleapis/nodejs-datacatalog/issues/167)) ([c799604](https://www.github.com/googleapis/nodejs-datacatalog/commit/c799604b2d29269006ff39748afb78302ce46ca2))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
NimJay pushed a commit that referenced this issue Nov 18, 2022
🤖 I have created a release \*beep\* \*boop\* 
---
## [2.1.0](https://www.github.com/googleapis/nodejs-datacatalog/compare/v2.0.0...v2.1.0) (2020-06-16)


### Features

* add order field to TagField and TagTemplateField ([#157](https://www.github.com/googleapis/nodejs-datacatalog/issues/157)) ([70c23c2](https://www.github.com/googleapis/nodejs-datacatalog/commit/70c23c2b609bd24901dc902090e23fbf92b55895))
* move ts target to es2018 from es2016 ([#172](https://www.github.com/googleapis/nodejs-datacatalog/issues/172)) ([e354dde](https://www.github.com/googleapis/nodejs-datacatalog/commit/e354ddeeeedd3e106c50ed579075f23c9d9c5bb5))
* promote library to GA ([#177](https://www.github.com/googleapis/nodejs-datacatalog/issues/177)) ([ac11090](https://www.github.com/googleapis/nodejs-datacatalog/commit/ac110906b723f362024318295e3de6743c905b7e))


### Bug Fixes

* proper fallback option handling ([51df672](https://www.github.com/googleapis/nodejs-datacatalog/commit/51df6721306ab6d2d9bf6919b0f3f432ca85b4ab))
* regenerate unit tests ([#163](https://www.github.com/googleapis/nodejs-datacatalog/issues/163)) ([4593117](https://www.github.com/googleapis/nodejs-datacatalog/commit/45931176d266d364e0508039cf6a4e284ad2923d))
* synth.py clean up for multiple version ([#167](https://www.github.com/googleapis/nodejs-datacatalog/issues/167)) ([c799604](https://www.github.com/googleapis/nodejs-datacatalog/commit/c799604b2d29269006ff39748afb78302ce46ca2))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
ace-n pushed a commit that referenced this issue Nov 21, 2022
* feat!: initial full generation of library (#1)

* chore: release 1.0.0 (#3)

* feat(samples): examples of dialogflow-cx in action

* chore: release 1.1.0 (#9)

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>

* chore: release 1.2.0 (#32)

:robot: I have created a release \*beep\* \*boop\* 
---
## [1.2.0](https://www.github.com/googleapis/nodejs-dialogflow-cx/compare/v1.1.0...v1.2.0) (2020-11-17)


### Features

* adds event to MessageType ([999d156](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/999d15616da58c1c909f99ac093833a5eb8665bb))


### Bug Fixes

* do not modify options object, use defaultScopes ([#27](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/27)) ([a0124c7](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/a0124c774e59d0a2873445f6fa7697a192739ebf))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).

* docs: update quickstart to reflect actual use case (#11)

* chore: release 2.0.0 (#36)

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>

* chore: release 2.1.0 (#40)

:robot: I have created a release \*beep\* \*boop\* 
---
## [2.1.0](https://www.github.com/googleapis/nodejs-dialogflow-cx/compare/v2.0.0...v2.1.0) (2020-11-25)


### Features

* add back v3beta1 API surface ([#39](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/39)) ([36ba8fa](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/36ba8fa857ae34a21ce0710986689667f909349f))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).

* docs: improved instructions for samples and tests (#41)

* chore: release 2.2.0 (#45)

:robot: I have created a release \*beep\* \*boop\* 
---
## [2.2.0](https://www.github.com/googleapis/nodejs-dialogflow-cx/compare/v2.1.0...v2.2.0) (2021-01-09)


### Features

* adds style enumeration ([#49](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/49)) ([6d65571](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/6d655718327044ea6e77bc8501c805b5cd3fc4e2))
* allowed custom to specify webhook headers through query parameters docs: suggested to always use version for production traffic when calling DetectIntent ([#44](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/44)) ([0ffd0b7](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/0ffd0b7a8a2f34c06062c9baf4f33b719b15ad9f))
* expose Security Settings API. ([#46](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/46)) ([f6460ce](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/f6460cea16473d1f208eae4bfa3def7cf5583579))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).

* chore: release 2.3.0 (#55)

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>

* chore: release 2.4.0 (#65)

:robot: I have created a release \*beep\* \*boop\*
---
## [2.4.0](https://www.github.com/googleapis/nodejs-dialogflow-cx/compare/v2.3.0...v2.4.0) (2021-03-15)


### Features

* added fallback option when restoring an agent docs: clarified experiment length ([f90bb9c](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/f90bb9cd369659160a16fcfc67bc08c248bd1552))
* added fallback option when restoring an agent docs: clarified experiment length ([f90bb9c](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/f90bb9cd369659160a16fcfc67bc08c248bd1552))
* allow to disable webhook invocation per request ([f90bb9c](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/f90bb9cd369659160a16fcfc67bc08c248bd1552))
* allow to disable webhook invocation per request ([3b1b674](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/3b1b674bbddbcb26fa607f9dc16db6c43752c371))
* supports SentimentAnalysisResult in webhook request, add http rules for long running operations docs: minor ([3b1b674](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/3b1b674bbddbcb26fa607f9dc16db6c43752c371))


### Bug Fixes

* RunTestCase http template. PHP REST client lib can be generated. feat: Support transition route group coverage for Test Cases. feat: Support SentimentAnalysisResult input in the WebhookRequest. ([3b1b674](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/3b1b674bbddbcb26fa607f9dc16db6c43752c371))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).

* chore: release 2.5.0 (#84)

:robot: I have created a release \*beep\* \*boop\*
---
## [2.5.0](https://www.github.com/googleapis/nodejs-dialogflow-cx/compare/v2.4.0...v2.5.0) (2021-04-28)


### Features

* Expose supported languages of the agent; feat: add export / import flow API docs: Update docs on Pages, Session, Version, etc. ([#103](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/103)) ([daa06ab](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/daa06abca3ef1e601672d9a18363603dcb359c6f))
* include original user query in WebhookRequest; add GetTextCaseresult API.  ([528192e](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/528192eb11453502332a35ff5838130e19c5e869))
* include original user query in WebhookRequest; add GetTextCaseresult API. doc: clarify resource format for session response. ([#82](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/82)) ([ff13a97](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/ff13a9708fccc0bf85f7972328dc289b50fdac20))
* support setting current_page to resume sessions; expose transition_route_groups in flows and language_code in webhook ([#90](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/90)) ([53f1e21](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/53f1e21deaf3adee3493b398529fc75baae70f99))
* support setting current_page to resume sessions; expose transition_route_groups in flows and language_code in webhook ([#91](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/91)) ([cd125d3](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/cd125d35c75ad740d3aa46d5af4a2142aaa051f1))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).

* chore: release 2.6.0 (#105)

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>

* chore: release 2.7.0 (#111)

:robot: I have created a release \*beep\* \*boop\*
---
## [2.7.0](https://www.github.com/googleapis/nodejs-dialogflow-cx/compare/v2.6.0...v2.7.0) (2021-05-10)


### Features

* add support for service directory webhooks ([#110](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/110)) ([d4b87a5](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/d4b87a5ba49dfa723079be71f9a7c6e69b4240b2))
* add support for service directory webhooks ([#113](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/113)) ([2ce89d5](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/2ce89d5a885f73bb66630f2ba1e5ad79b7c40730))


### Bug Fixes

* **deps:** require google-gax v2.12.0 ([#106](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/106)) ([2c333d7](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/2c333d73df45ff13b0a2a85332bbcb23be2e7d41))
* use require() to load JSON protos ([#112](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/112)) ([d0cf055](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/d0cf055738496681fa351a9228f2a788b4132910))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).

* chore: release 2.8.0 (#121)

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>

* chore: release 2.8.1 (#128)

:robot: I have created a release \*beep\* \*boop\*
---
### [2.8.1](https://www.github.com/googleapis/nodejs-dialogflow-cx/compare/v2.8.0...v2.8.1) (2021-06-10)


### Bug Fixes

* GoogleAdsError missing using generator version after 1.3.0 ([#122](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/122)) ([af8ca45](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/af8ca45c8d70264899bb458f68d6b5c0060229fa))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).

* chore: release 2.9.0 (#135)

:robot: I have created a release \*beep\* \*boop\*
---
## [2.9.0](https://www.github.com/googleapis/nodejs-dialogflow-cx/compare/v2.8.1...v2.9.0) (2021-06-14)


### Features

* added API for running continuous test ([#123](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/123)) ([248ae74](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/248ae742e786dd24f8a0e8161a1a30f684c3b7ff))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).

* chore: release 2.10.0 (#136)

:robot: I have created a release \*beep\* \*boop\*
---
## [2.10.0](https://www.github.com/googleapis/nodejs-dialogflow-cx/compare/v2.9.0...v2.10.0) (2021-06-17)


### Features

* **v3:** support sentiment analysis in bot testing ([#125](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/125)) ([d6d7684](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/d6d7684692ec3790ec5a4284cb206a4c26f4a1ab))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).

* chore: release 2.11.0 (#137)

:robot: I have created a release \*beep\* \*boop\*
---
## [2.11.0](https://www.github.com/googleapis/nodejs-dialogflow-cx/compare/v2.10.0...v2.11.0) (2021-06-21)


### Features

* **v3beta1:** Support partial response feature ([ee8a24a](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/ee8a24a1e47cb352198880490f047e2ff3d47152))
* **v3beta1:** support sentiment analysis in bot testing ([#127](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/127)) ([2c45b2c](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/2c45b2c4e9662aaef7352f3b3edf58c0bf29779e))


### Bug Fixes

* **v3beta1:** set agent default language code as required ([#134](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/134)) ([ee8a24a](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/ee8a24a1e47cb352198880490f047e2ff3d47152))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).

* chore: release 2.12.0 (#143)

:robot: I have created a release \*beep\* \*boop\*
---
## [2.12.0](https://www.github.com/googleapis/nodejs-dialogflow-cx/compare/v2.11.0...v2.12.0) (2021-06-30)


### Features

* mark agent.default_language_code as required feat: add return_partial response to Fulfillment docs: add notes to train agent before sending queries ([#140](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/140)) ([eae8f44](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/eae8f4409cf5832c5fd28e2e676847a4722997b9))


### Bug Fixes

* **deps:** google-gax v2.17.0 with mTLS ([#145](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/145)) ([d5f2918](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/d5f291886d1418ad43684d3db7b0a2d12cd8c219))
* make request optional in all cases ([#139](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/139)) ([ad950f0](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/ad950f057f413b9c094b6d23a21ada0d64887206))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).

* chore: release 2.12.1 (#149)

:robot: I have created a release \*beep\* \*boop\*
---
### [2.12.1](https://www.github.com/googleapis/nodejs-dialogflow-cx/compare/v2.12.0...v2.12.1) (2021-07-21)


### Bug Fixes

* **deps:** google-gax v2.17.1 ([#148](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/148)) ([5e1ec0a](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/5e1ec0a77db21c219531800d2c54c5edd4f54fba))
* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#150](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/150)) ([8974183](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/8974183edd156e9adb9e9d11557931bda03c1d3c))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).

* docs: add create agent code sample (#163)

* chore: release 2.13.0 (#157)

:robot: I have created a release \*beep\* \*boop\*
---
## [2.13.0](https://www.github.com/googleapis/nodejs-dialogflow-cx/compare/v2.12.1...v2.13.0) (2021-08-17)


### Features

* add advanced settings for agent level feat: add rollout config, state and failure reason for experiment feat: add insights export settings for security setting feat: add language code for streaming recognition result and flow versions for query p... ([#156](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/156)) ([80d2f94](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/80d2f94bcfaa65ea442ee4f8133d850035be04ed))
* added support for DLP templates; expose `Locations` service to get/list avaliable locations of Dialogflow products ([#162](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/162)) ([b77bde9](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/b77bde9893cde0c9e766b8e844fa4cca61efb5aa))


### Bug Fixes

* **build:** migrate to using main branch ([#164](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/164)) ([092d69d](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/092d69d76716297aff6a671200088d5740b1fd47))
* **deps:** google-gax v2.24.1 ([#165](https://www.github.com/googleapis/nodejs-dialogflow-cx/issues/165)) ([6261c37](https://www.github.com/googleapis/nodejs-dialogflow-cx/commit/6261c37019b3ce94a9876bfa4634837132691888))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).

* docs: add update intent sample (#160)

* add sample

* Fixed lint

* lint fix

* fix lint

* lint fix

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* added broken link

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* added broken link to skip

* Revised come from feedback

* Fixed lint and added async

* Fixed getProjectID call

* Reverted cmd change

* Fixing assert since match breaks testing

* added match back

* added async

* reverted to include because match produces error

* removed displayName Print

* Revised Code

* Lint Fix

* Removed Debug

* Updated Intent Path

* lint fix

* Added Field comments

* added function to main

* lint fix

* lint fix

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Benjamin E. Coe <bencoe@google.com>

* docs: add page management code samples  (#174)

* samples: fixed using wrong variable naming (#182)

* chore: release 2.14.0 (#168)

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Justin Beckwith <justin.beckwith@gmail.com>

* docs: add filter code sample (#179)

* docs: added voice selection (#193)

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/nodejs-dialogflow-cx/issues/new/choose) before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

* docs(samples): addes new training phrases sample (#195)

* docs: add webhook code sample (#177)

* docs: add webhook code sample

* update json data

* fixed failing test

* fixed test naming

* converted response to string

* removed convert to str

* moved response object

* lint fix

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* Added link to linkinator

* update test

* revised code

* lint fix

* lint fix

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Justin Beckwith <justin.beckwith@gmail.com>

* docs: added comment (#204)

* docs(samples): add LRO code snippets (#209)

* docs(samples): add LRO code snippets

* lint fix

* lint fix

* lint fix

* 🦉 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>

* docs: `exports.` removed from the cloud function's entry point (#244)

Cloud function's entry point shouldn't be prefixed with `exports.`.

Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com>

* feat: add Webhook samples (#259)

* add webhook-configure-session-parameter-enable-agent-response sample and test

Change-Id: Ia8593160ed33060eb497a15723b21c1221ce55c9

* add webhook-configure-session-parameter-trigger-transition sample and test

Change-Id: I118abb59182879b6969018da97d04eea0b8daeb0

* add webhook-configure-optional-or-required-form-parameters sample and test

Change-Id: I7cbfeb11cece7ccf873dbc7a6dd7cff9ae264ffe

* add configure-session-parameters sample and test

Change-Id: Ib9f1a110473751508b50259c4696593580c64a91

* fix form parameter path

Change-Id: I6411000a7d0240d7552d725c2fd1049be781a9ab

* add webhook-validate-form-parameter sample and test

Change-Id: I82097be3fc3f91651c88b99c7431ebb602c42c66

* add cx to region tag

Change-Id: I6640604512c27a341ab8e26238bf8c3fbd1e77ef

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* fix test

Change-Id: Icc70e18b40d8684c7909e8383b4c226fa94a162b

* fix region tag

Change-Id: I0fe3849c0eaf12eaf247088993898cbb47dace44

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* docs(samples): Add detectIntent samples (#263)

* add webhook-configure-session-parameter-enable-agent-response sample and test

Change-Id: Ia8593160ed33060eb497a15723b21c1221ce55c9

* add webhook-configure-session-parameter-trigger-transition sample and test

Change-Id: I118abb59182879b6969018da97d04eea0b8daeb0

* add webhook-configure-optional-or-required-form-parameters sample and test

Change-Id: I7cbfeb11cece7ccf873dbc7a6dd7cff9ae264ffe

* add configure-session-parameters sample and test

Change-Id: Ib9f1a110473751508b50259c4696593580c64a91

* fix form parameter path

Change-Id: I6411000a7d0240d7552d725c2fd1049be781a9ab

* add webhook-validate-form-parameter sample and test

Change-Id: I82097be3fc3f91651c88b99c7431ebb602c42c66

* add cx to region tag

Change-Id: I6640604512c27a341ab8e26238bf8c3fbd1e77ef

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* fix test

Change-Id: Icc70e18b40d8684c7909e8383b4c226fa94a162b

* fix region tag

Change-Id: I0fe3849c0eaf12eaf247088993898cbb47dace44

* add detect intent with sentiment analysis sample and test

Change-Id: I99aa3985c64b6c80ec1a85591b1e49f381c379de

* punctuation

Change-Id: I2fe6f929f4c786595b4bbc4fbe422f2370d3adf0

* add detect intent with eventInput sample and test

Change-Id: I32a5b04e975b8e1a4c7d92b328d3bdd1e1c70448

* fix region tag

Change-Id: I3795770f8ef68e154f36057ca9aa1bbb2ad8075f

* add detect intent with IntentInput sample and test

Change-Id: Iea12505b745ea8ea3995fdca2381f6e4bf60d051

* add detect intent synthesize tts response sample and test

Change-Id: Ie7d22212f6f8107a36f555e771ff409c2d1f0bf0

* add resource output file

Change-Id: I3f0f78d5dbb30a0c50ecad3996332cbd6ff0b7b5

* fix formatting

Change-Id: Ia651757249955d18613f844734674f1eea49ed82

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* fix test agent

Change-Id: Ib75ccf20985dcfae3130619f69c5fd546b24ca1d

* fix test

Change-Id: I1423fdb6916fa50fe0f21481fb1964e08ab62080

* change function names

Change-Id: Iaa02c248807b72fcff4f07b46f0f70fddf9d6e7a

* change test

Change-Id: If5ea5d044f040cdb0f3b121af5af960322a1cf5a

* change test

Change-Id: I9a6b457d1739b2f51de86b77d75d9d0ce2973b04

* change test

Change-Id: I92f20ec34c132448a0375d0c88f64b705eb216f5

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* docs(samples) - streamliine and clarify webhook samples (#264)

* streamline and clarify webhook samples

Change-Id: I80d80b42f60ac6ccc643afb7b2931916d6843813

* remove sessionInfo config

Change-Id: I1b14852ad9e238e7cdc04dbb418ed5ed0fca2992

* 🦉 Updates from OwlBot post-processor

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>

* docs(samples): hardcode parameter in webhook sample (#268)

* streamline and clarify webhook samples

Change-Id: I80d80b42f60ac6ccc643afb7b2931916d6843813

* remove sessionInfo config

Change-Id: I1b14852ad9e238e7cdc04dbb418ed5ed0fca2992

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* hardcode parameter

Change-Id: Iea962f2ea2bf73ca86ce3ecd7852a290dd3a2fac

* clarify parameter name

Change-Id: I5c0a1c654be5133889f4838a118e5bdebe667303

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* docs(samples): replace agent ids (#271)

* add webhook-configure-session-parameter-enable-agent-response sample and test

Change-Id: Ia8593160ed33060eb497a15723b21c1221ce55c9

* add webhook-configure-session-parameter-trigger-transition sample and test

Change-Id: I118abb59182879b6969018da97d04eea0b8daeb0

* add webhook-configure-optional-or-required-form-parameters sample and test

Change-Id: I7cbfeb11cece7ccf873dbc7a6dd7cff9ae264ffe

* add configure-session-parameters sample and test

Change-Id: Ib9f1a110473751508b50259c4696593580c64a91

* fix form parameter path

Change-Id: I6411000a7d0240d7552d725c2fd1049be781a9ab

* add webhook-validate-form-parameter sample and test

Change-Id: I82097be3fc3f91651c88b99c7431ebb602c42c66

* add cx to region tag

Change-Id: I6640604512c27a341ab8e26238bf8c3fbd1e77ef

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* fix test

Change-Id: Icc70e18b40d8684c7909e8383b4c226fa94a162b

* fix region tag

Change-Id: I0fe3849c0eaf12eaf247088993898cbb47dace44

* add detect intent with sentiment analysis sample and test

Change-Id: I99aa3985c64b6c80ec1a85591b1e49f381c379de

* punctuation

Change-Id: I2fe6f929f4c786595b4bbc4fbe422f2370d3adf0

* add detect intent with eventInput sample and test

Change-Id: I32a5b04e975b8e1a4c7d92b328d3bdd1e1c70448

* fix region tag

Change-Id: I3795770f8ef68e154f36057ca9aa1bbb2ad8075f

* add detect intent with IntentInput sample and test

Change-Id: Iea12505b745ea8ea3995fdca2381f6e4bf60d051

* add detect intent synthesize tts response sample and test

Change-Id: Ie7d22212f6f8107a36f555e771ff409c2d1f0bf0

* add resource output file

Change-Id: I3f0f78d5dbb30a0c50ecad3996332cbd6ff0b7b5

* fix formatting

Change-Id: Ia651757249955d18613f844734674f1eea49ed82

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* fix test agent

Change-Id: Ib75ccf20985dcfae3130619f69c5fd546b24ca1d

* fix test

Change-Id: I1423fdb6916fa50fe0f21481fb1964e08ab62080

* change function names

Change-Id: Iaa02c248807b72fcff4f07b46f0f70fddf9d6e7a

* change test

Change-Id: If5ea5d044f040cdb0f3b121af5af960322a1cf5a

* change test

Change-Id: I9a6b457d1739b2f51de86b77d75d9d0ce2973b04

* change test

Change-Id: I92f20ec34c132448a0375d0c88f64b705eb216f5

* replace agent ids and add deleteAgent logic

Change-Id: Ibf7504b92e5beb7193bf9b685f4540493dc37ff6

* fix test

Change-Id: Ic5153f8f3f09645eb60b50124fb4961887c59fa4

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* build!: update library to use Node 12 (#288)

* feat!: Update library to use Node 12

* 🦉 Updates from OwlBot post-processor

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>

* docs(samples): refactor webhook samples (#270)

* streamline and clarify webhook samples

Change-Id: I80d80b42f60ac6ccc643afb7b2931916d6843813

* remove sessionInfo config

Change-Id: I1b14852ad9e238e7cdc04dbb418ed5ed0fca2992

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* hardcode parameter

Change-Id: Iea962f2ea2bf73ca86ce3ecd7852a290dd3a2fac

* clarify parameter name

Change-Id: I5c0a1c654be5133889f4838a118e5bdebe667303

* refactor configure-session-parameter-enable-agent-response sample

Change-Id: I62af853767f9097e3448f60060f739ac8bb018b2

* refactor webhook samples

Change-Id: I07f2addae8b452d89124d123e3c2be8042ee0292

* remove unnecessary samples

Change-Id: Ia936ce14eafb9d44a67a314eb282fb93b5c96319

* change form parameter test

Change-Id: Ia7aeb8117f6db4bee2111bdb5bcf6461b2700601

* change sample description

Change-Id: I842e1e0bca1eec43d5437cd37575a43b48105bed

* 🦉 Updates from OwlBot post-processor

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>

* docs (samples): add detect intent samples (#292)

* add webhook-configure-session-parameter-enable-agent-response sample and test

Change-Id: Ia8593160ed33060eb497a15723b21c1221ce55c9

* add webhook-configure-session-parameter-trigger-transition sample and test

Change-Id: I118abb59182879b6969018da97d04eea0b8daeb0

* add webhook-configure-optional-or-required-form-parameters sample and test

Change-Id: I7cbfeb11cece7ccf873dbc7a6dd7cff9ae264ffe

* add configure-session-parameters sample and test

Change-Id: Ib9f1a110473751508b50259c4696593580c64a91

* fix form parameter path

Change-Id: I6411000a7d0240d7552d725c2fd1049be781a9ab

* add webhook-validate-form-parameter sample and test

Change-Id: I82097be3fc3f91651c88b99c7431ebb602c42c66

* add cx to region tag

Change-Id: I6640604512c27a341ab8e26238bf8c3fbd1e77ef

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* fix test

Change-Id: Icc70e18b40d8684c7909e8383b4c226fa94a162b

* fix region tag

Change-Id: I0fe3849c0eaf12eaf247088993898cbb47dace44

* add detect intent with sentiment analysis sample and test

Change-Id: I99aa3985c64b6c80ec1a85591b1e49f381c379de

* punctuation

Change-Id: I2fe6f929f4c786595b4bbc4fbe422f2370d3adf0

* add detect intent with eventInput sample and test

Change-Id: I32a5b04e975b8e1a4c7d92b328d3bdd1e1c70448

* fix region tag

Change-Id: I3795770f8ef68e154f36057ca9aa1bbb2ad8075f

* add detect intent with IntentInput sample and test

Change-Id: Iea12505b745ea8ea3995fdca2381f6e4bf60d051

* add detect intent synthesize tts response sample and test

Change-Id: Ie7d22212f6f8107a36f555e771ff409c2d1f0bf0

* add resource output file

Change-Id: I3f0f78d5dbb30a0c50ecad3996332cbd6ff0b7b5

* fix formatting

Change-Id: Ia651757249955d18613f844734674f1eea49ed82

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* fix test agent

Change-Id: Ib75ccf20985dcfae3130619f69c5fd546b24ca1d

* fix test

Change-Id: I1423fdb6916fa50fe0f21481fb1964e08ab62080

* change function names

Change-Id: Iaa02c248807b72fcff4f07b46f0f70fddf9d6e7a

* change test

Change-Id: If5ea5d044f040cdb0f3b121af5af960322a1cf5a

* change test

Change-Id: I9a6b457d1739b2f51de86b77d75d9d0ce2973b04

* change test

Change-Id: I92f20ec34c132448a0375d0c88f64b705eb216f5

* replace agent ids and add deleteAgent logic

Change-Id: Ibf7504b92e5beb7193bf9b685f4540493dc37ff6

* fix test

Change-Id: Ic5153f8f3f09645eb60b50124fb4961887c59fa4

* add detect intent with disabled webhook sample and test

Change-Id: I1c565063d4e749029b872009722106222ca28b3d

* remove unnecessary comment

Change-Id: I3f56e80f4d2f7df3a1aa863d7b4e3f120ecce7a3

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* update test

Change-Id: Ie37488c281b513a592832836df8fbe4da60f95fb

* add streamingDetectIntent with partial response enabled sample and test

Change-Id: I499e395658d8c8b0e6f7f2229bb70d1969b25b9b

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* clean up extra comments and test lines

Change-Id: I28179e19fb1b567e743a399c2525b2d517ef1a1b

* clean up comments

Change-Id: I6182825f1d5205c0da284dbe27e9a044c0283dda

* update year

Change-Id: Idd732f365062f23a76a31fd3caf66cedd91813bb

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* chore(main): release 3.0.0 (#269)

:robot: I have created a release *beep* *boop*
---


## [3.0.0](googleapis/nodejs-dialogflow-cx@v2.15.0...v3.0.0) (2022-06-23)


### ⚠ BREAKING CHANGES

* update library to use Node 12 (#288)

### Features

* add Webhook samples ([#259](googleapis/nodejs-dialogflow-cx#259)) ([709dc6d](googleapis/nodejs-dialogflow-cx@709dc6d))
* added audio_export_settings ([#257](googleapis/nodejs-dialogflow-cx#257)) ([39f1d1c](googleapis/nodejs-dialogflow-cx@39f1d1c))
* added data format specification for export agent ([361e7d9](googleapis/nodejs-dialogflow-cx@361e7d9))
* added data format specification for export agent ([361e7d9](googleapis/nodejs-dialogflow-cx@361e7d9))
* added page in TestConfig ([7adaf67](googleapis/nodejs-dialogflow-cx@7adaf67))
* added page in TestConfig ([#239](googleapis/nodejs-dialogflow-cx#239)) ([283c389](googleapis/nodejs-dialogflow-cx@283c389))
* added support for locking an agent for changes ([361e7d9](googleapis/nodejs-dialogflow-cx@361e7d9))
* added support for locking an agent for changes ([361e7d9](googleapis/nodejs-dialogflow-cx@361e7d9))


### Build System

* update library to use Node 12 ([#288](googleapis/nodejs-dialogflow-cx#288)) ([9a72b32](googleapis/nodejs-dialogflow-cx@9a72b32))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).

* chore(main): release 3.1.0 (#299)

* chore(main): release 3.1.0

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>

* fix(deps): update dependency uuid to v9 (#311)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [uuid](https://togithub.com/uuidjs/uuid) | [`^8.3.1` -> `^9.0.0`](https://renovatebot.com/diffs/npm/uuid/8.3.2/9.0.0) | [![age](https://badges.renovateapi.com/packages/npm/uuid/9.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/uuid/9.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/uuid/9.0.0/compatibility-slim/8.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/uuid/9.0.0/confidence-slim/8.3.2)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>uuidjs/uuid</summary>

### [`v9.0.0`](https://togithub.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#&#8203;900-httpsgithubcomuuidjsuuidcomparev832v900-2022-09-05)

[Compare Source](https://togithub.com/uuidjs/uuid/compare/v8.3.2...v9.0.0)

##### ⚠ BREAKING CHANGES

-   Drop Node.js 10.x support. This library always aims at supporting one EOLed LTS release which by this time now is 12.x which has reached EOL 30 Apr 2022.

-   Remove the minified UMD build from the package.

    Minified code is hard to audit and since this is a widely used library it seems more appropriate nowadays to optimize for auditability than to ship a legacy module format that, at best, serves educational purposes nowadays.

    For production browser use cases, users should be using a bundler. For educational purposes, today's online sandboxes like replit.com offer convenient ways to load npm modules, so the use case for UMD through repos like UNPKG or jsDelivr has largely vanished.

-   Drop IE 11 and Safari 10 support. Drop support for browsers that don't correctly implement const/let and default arguments, and no longer transpile the browser build to ES2015.

    This also removes the fallback on msCrypto instead of the crypto API.

    Browser tests are run in the first supported version of each supported browser and in the latest (as of this commit) version available on Browserstack.

##### Features

-   optimize uuid.v1 by 1.3x uuid.v4 by 4.3x (430%) ([#&#8203;597](https://togithub.com/uuidjs/uuid/issues/597)) ([3a033f6](https://togithub.com/uuidjs/uuid/commit/3a033f6bab6bb3780ece6d645b902548043280bc))
-   remove UMD build ([#&#8203;645](https://togithub.com/uuidjs/uuid/issues/645)) ([e948a0f](https://togithub.com/uuidjs/uuid/commit/e948a0f22bf22f4619b27bd913885e478e20fe6f)), closes [#&#8203;620](https://togithub.com/uuidjs/uuid/issues/620)
-   use native crypto.randomUUID when available ([#&#8203;600](https://togithub.com/uuidjs/uuid/issues/600)) ([c9e076c](https://togithub.com/uuidjs/uuid/commit/c9e076c852edad7e9a06baaa1d148cf4eda6c6c4))

##### Bug Fixes

-   add Jest/jsdom compatibility ([#&#8203;642](https://togithub.com/uuidjs/uuid/issues/642)) ([16f9c46](https://togithub.com/uuidjs/uuid/commit/16f9c469edf46f0786164cdf4dc980743984a6fd))
-   change default export to named function ([#&#8203;545](https://togithub.com/uuidjs/uuid/issues/545)) ([c57bc5a](https://togithub.com/uuidjs/uuid/commit/c57bc5a9a0653273aa639cda9177ce52efabe42a))
-   handle error when parameter is not set in v3 and v5 ([#&#8203;622](https://togithub.com/uuidjs/uuid/issues/622)) ([fcd7388](https://togithub.com/uuidjs/uuid/commit/fcd73881692d9fabb63872576ba28e30ff852091))
-   run npm audit fix ([#&#8203;644](https://togithub.com/uuidjs/uuid/issues/644)) ([04686f5](https://togithub.com/uuidjs/uuid/commit/04686f54c5fed2cfffc1b619f4970c4bb8532353))
-   upgrading from uuid3 broken link ([#&#8203;568](https://togithub.com/uuidjs/uuid/issues/568)) ([1c849da](https://togithub.com/uuidjs/uuid/commit/1c849da6e164259e72e18636726345b13a7eddd6))

##### build

-   drop Node.js 8.x from babel transpile target ([#&#8203;603](https://togithub.com/uuidjs/uuid/issues/603)) ([aa11485](https://togithub.com/uuidjs/uuid/commit/aa114858260402107ec8a1e1a825dea0a259bcb5))

-   drop support for legacy browsers (IE11, Safari 10) ([#&#8203;604](https://togithub.com/uuidjs/uuid/issues/604)) ([0f433e5](https://togithub.com/uuidjs/uuid/commit/0f433e5ec444edacd53016de67db021102f36148))

-   drop node 10.x to upgrade dev dependencies ([#&#8203;653](https://togithub.com/uuidjs/uuid/issues/653)) ([28a5712](https://togithub.com/uuidjs/uuid/commit/28a571283f8abda6b9d85e689f95b7d3ee9e282e)), closes [#&#8203;643](https://togithub.com/uuidjs/uuid/issues/643)

##### [8.3.2](https://togithub.com/uuidjs/uuid/compare/v8.3.1...v8.3.2) (2020-12-08)

##### Bug Fixes

-   lazy load getRandomValues ([#&#8203;537](https://togithub.com/uuidjs/uuid/issues/537)) ([16c8f6d](https://togithub.com/uuidjs/uuid/commit/16c8f6df2f6b09b4d6235602d6a591188320a82e)), closes [#&#8203;536](https://togithub.com/uuidjs/uuid/issues/536)

##### [8.3.1](https://togithub.com/uuidjs/uuid/compare/v8.3.0...v8.3.1) (2020-10-04)

##### Bug Fixes

-   support expo>=39.0.0 ([#&#8203;515](https://togithub.com/uuidjs/uuid/issues/515)) ([c65a0f3](https://togithub.com/uuidjs/uuid/commit/c65a0f3fa73b901959d638d1e3591dfacdbed867)), closes [#&#8203;375](https://togithub.com/uuidjs/uuid/issues/375)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 9am and before 3pm" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/nodejs-dialogflow-cx).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xOTEuMCIsInVwZGF0ZWRJblZlciI6IjMyLjE5MS4wIn0=-->

* chore(main): release 3.1.1 (#307)

:robot: I have created a release *beep* *boop*
---


## [3.1.1](googleapis/nodejs-dialogflow-cx@v3.1.0...v3.1.1) (2022-09-14)


### Bug Fixes

* Allow passing gax instance to client constructor ([#310](googleapis/nodejs-dialogflow-cx#310)) ([5eb33cd](googleapis/nodejs-dialogflow-cx@5eb33cd))
* Better support for fallback mode ([#305](googleapis/nodejs-dialogflow-cx#305)) ([f63bcf2](googleapis/nodejs-dialogflow-cx@f63bcf2))
* Change import long to require ([#306](googleapis/nodejs-dialogflow-cx#306)) ([343bc0e](googleapis/nodejs-dialogflow-cx@343bc0e))
* **deps:** Update dependency uuid to v9 ([#311](googleapis/nodejs-dialogflow-cx#311)) ([f7ba638](googleapis/nodejs-dialogflow-cx@f7ba638))
* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-dialogflow-cx/issues/1553)) ([#309](googleapis/nodejs-dialogflow-cx#309)) ([844c8f7](googleapis/nodejs-dialogflow-cx@844c8f7))
* Preserve default values in x-goog-request-params header ([#312](googleapis/nodejs-dialogflow-cx#312)) ([239d018](googleapis/nodejs-dialogflow-cx@239d018))
* Remove pip install statements ([#1546](https://github.com/googleapis/nodejs-dialogflow-cx/issues/1546)) ([#308](googleapis/nodejs-dialogflow-cx#308)) ([7363dfe](googleapis/nodejs-dialogflow-cx@7363dfe))
* use google-gax v3.3.0 ([844c8f7](googleapis/nodejs-dialogflow-cx@844c8f7))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).

* chore(main): release 3.1.2 (#322)

:robot: I have created a release *beep* *boop*
---


## [3.1.2](https://togithub.com/googleapis/nodejs-dialogflow-cx/compare/v3.1.1...v3.1.2) (2022-11-11)


### Bug Fixes

* **deps:** Use google-gax v3.5.2 ([#320](https://togithub.com/googleapis/nodejs-dialogflow-cx/issues/320)) ([516e59d](https://togithub.com/googleapis/nodejs-dialogflow-cx/commit/516e59d6f6a4a9e16ed635900bd89d6c3a73ee10))
* Regenerated protos JS and TS definitions ([#324](https://togithub.com/googleapis/nodejs-dialogflow-cx/issues/324)) ([c82e46a](https://togithub.com/googleapis/nodejs-dialogflow-cx/commit/c82e46a74aa30862e999ae37f16508f241792493))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).

* Add workflows config

* Delete test for unused sample

* Add secrets

Add missing env vars

* Allow specifying agent project ID via env var

* Lint

Co-authored-by: Benjamin E. Coe <bencoe@google.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: WEI, Yunchen <yunchenw@seas.upenn.edu>
Co-authored-by: WEI, Yunchen <weiyunchen0807@outlook.com>
Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Justin Beckwith <justin.beckwith@gmail.com>
Co-authored-by: Franklin Nunez <69214580+b-loved-dreamer@users.noreply.github.com>
Co-authored-by: Alexander Prikhodko <aprikhodko@google.com>
Co-authored-by: aribray <45905583+aribray@users.noreply.github.com>
Co-authored-by: Alexander Fenster <fenster@google.com>
Co-authored-by: WhiteSource Renovate <renovate@whitesourcesoftware.com>
kweinmeister added a commit that referenced this issue Jan 11, 2023
…exists and remove before creation (#157)

* Update setup-cleanup.js

* fix: change BQ table creation logic

Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: tkarasyova <tkarasyova@griddynamics.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 This issue needs some love. triage me I really want to be triaged.
Projects
None yet
Development

No branches or pull requests

8 participants