Skip to content

thoooor1/dialogflow-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

dialogflow-example

This repository demonstrates using Deepgram to talk to a Google Dialogflow CX agent.

Before you begin

  1. Make sure your Google Cloud account and local environment are set up to use the Dialogflow CX Node.js Client. In other words, follow the "before you begin" instructions here.
  2. Create a Deepgram API key.
  3. Create a Dialogflow CX agent. A prebuilt agent is a good way to get started quickly.

Running the code

  1. Copy .env.example into a file named .env. Update .env to replace the sample values with your own.
  2. Install node modules:
    npm install
    
  3. Run the server:
    npm run start
    
  4. Point your browser to http://localhost:3000/ to try out the demo. Chrome works best.

Demo

This video shows a conversation with the Small Talk Agent. Turn on sound to hear the text-to-speech and barge-in.

dialogflow-video-tts.webm

About

Demonstrates how to use Deepgram with Google Dialogflow CX

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 85.3%
  • CSS 7.8%
  • HTML 6.9%