rrsartpl / YouTube-Openai-Dialogflow-ES

This is a repository for my Youtube channel.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connect OpenAI to Dialogflow ES

Hey everyone, if you are looking for a connection between OpenAI and Dialogflow ES, then read more. You will learn how to connect your existing Dialogflow ES agent to openAI.

Youtube

I have recorded a quick tutorial on this topic, you can watch it here.

Things you will need

  • Dialogflow ES agent

    some knowledge of Dialogflow ES as well

  • OpenAI account and API Key

    create an account here

  • NGROK for exposing our local server to internet for testing

    get it from here

  • Nodejs as a programing tool

    install it from here

How to use it

  • install all the required packages in the project folder

    use the command npm install --save

  • create a .env file in the folder and set two variables PORT and OPENAI_API_KEY
  • run the local server npm run start
  • start NGROK engine

    make sure the ports are same

  • set the NGROK url in Webhook section

    YOUR NGRK URL/dialogflow it should be something like this

  • test the connection

Deploy

  • You can deploy this functionality on anywhere, for a free resource watch this video.

About me

I am Raj Kapadia, I am passionate about AI/ML/DL and their use in different domains, I also love to build chatbots using Google Dialogflow ES/CX, I have backend development experience with Python[Flask], and NodeJS[Express] For any work, you can reach out to me at...

About

This is a repository for my Youtube channel.


Languages

Language:JavaScript 100.0%