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.
I have recorded a quick tutorial on this topic, you can watch it here.
- 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
- 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 variablesPORT
andOPENAI_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
- You can deploy this functionality on anywhere, for a free resource watch this video.
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...