- Видео 5
- Просмотров 53 592
Rohit Saini
Индия
Добавлен 6 апр 2019
Be creative and have fun.
In future, you can see more cool projects and tutorials on Machine Learning, Competitive Programming, Web/App development etc.
In future, you can see more cool projects and tutorials on Machine Learning, Competitive Programming, Web/App development etc.
Dialogflow: Handling Context through webhook and Saving data to Firebase
In this session, getting data from context and saving meeting data to DataBase(Firestore).
GitHub Repo: github.com/rohitsaini1196/chatbot_webhook (give it a star)
Utility used:
1. Firebase (Firestore Database) console.firebase.google.com/
2. NPM packages or dependencies (firebase-admin)
Official Documentation for getting context value: dialogflow.com/docs/reference/fulfillment-library/webhook-client#webhookclientgetcontextcontextname_%E2%87%92_object
This is the 5th and last session of the series "Building a chatbot for my portfolio".
Test site or portfolio link: www.stillthristy.in/
If you have any suggestion or issue please let me know in comments.
Have fun.
GitHub Repo: github.com/rohitsaini1196/chatbot_webhook (give it a star)
Utility used:
1. Firebase (Firestore Database) console.firebase.google.com/
2. NPM packages or dependencies (firebase-admin)
Official Documentation for getting context value: dialogflow.com/docs/reference/fulfillment-library/webhook-client#webhookclientgetcontextcontextname_%E2%87%92_object
This is the 5th and last session of the series "Building a chatbot for my portfolio".
Test site or portfolio link: www.stillthristy.in/
If you have any suggestion or issue please let me know in comments.
Have fun.
Просмотров: 7 846
Видео
Dialogflow: Response through NodeJS Webhook Server
Просмотров 20 тыс.4 года назад
In this session, making a Web server using NodeJS and making it public through Ngrok. Sending text and custom payload response to Dialogflow. Buy me a coffee if this video somehow helped you. Thanks :) www.buymeacoffee.com/rohitsaini Utility used: 1. NodeJS or NPM (download NodeJS from nodejs.org/) 2. Ngrok (Install it from ngrok.com/) 3. NPM packages or dependencies (express, Dialogflow-fulfil...
Dialogflow: Take data from user and set context with entities.
Просмотров 8 тыс.4 года назад
In this session, discussing entities and setting the context of input and output. We're taking data like Email or Name or Address from User and storing in the local session. This is the 3rd Basic and Introductory session of the series "Building a chatbot for my portfolio". Official Dialogflow Messanger documentation link: cloud.google.com/dialogflow/docs/integrations/dialogflow-messenger Test s...
Dialogflow basic Introduction: Custom payload
Просмотров 15 тыс.4 года назад
In this quick session, we're building the intent response as Custom payload instead of the text response. This is the second Basic and Introductory session of the series "Building a chatbot for my portfolio". Official Dialogflow Messanger documentation link: cloud.google.com/dialogflow/docs/integrations/dialogflow-messenger Test site link: www.stillthristy.in/ If you have any suggestion or issu...
Dialogflow basic Introduction: Intents, Entities and integration to Web.
Просмотров 2,1 тыс.4 года назад
What is Dialogflow? : Dialogflow is Google's natural language understanding tool for building conversational experiences, such as voice apps and chatbots, powered by AI. Connect with users on your website, mobile app, the Google Assistant, Amazon Alexa, Facebook Messenger, and other popular platforms and devices. This is the first Basic and Introductory session of the series "Building a chatbot...
Need yiur help plz suggest
Hello rohit, I tried the same CSS but its not working, how so?
hi can you develop a chatbot as freelancer
can you add carousel, radio button, checkmarks and others on the channel ?
Hello Rohit thank you so much for making this tutorial, i wish u good health . also please give us more dialogflow content 😅 ggs Rohit
[object Object] is showing in chatbot
Payload. nunca funcionam na integração com Whatsapp
how to sending a video via custom payload response to dialgflow...could you please share the function code?
not working
you are fuckin god, I spent a lot of time search it
if saving a parameter that has spaces, does it save it in firebase?
yes, it does
@@RohitSaini1196 me too 😁
Nice tutorial 🎉
This code gets error if I try to send this custom payload using a loop. Like I want to send five cards to FB messenger using a for loop. It gets "Payload response for PLATFORM_UNSPECIFIED already defined" . Do you have any solution???
Not able to receive payloads. followed step by step
I am always getting an empty response
Hi, Can we connect? Need a little assistance.
Thank you for your great tutorial. Do you have an idea why do I receive: "ReferenceError: agend is not defined"?
It's agent* not agend. Check the spelling
@@owususamuel thank you very much Samuel!
@@owususamuel Sorry to disturb you, but do you know how to handle following issue: "TypeError: Right-hand side of 'instanceof' is not an object"
@@hhbounce it means you've assigned a variable of different data type objects
@@owususamuel Thank you very much. I am new to this topic...can pls tell me where I did this wrong?. Thank you..and sorry for disturbing you...I can't solve it somehow.. const express = require('express'); const app = express(); const dfff = require('dialogflow-fulfillment'); app.get('/', (req, res)=>{ res.send("We are live") }); app.post('/', express.json(), (req, res)=>{ const agent = new dfff.WebhookClient({ request:req, response:res }); function demo(agent){ agent.add("Response from webhook"); } var intentMap = new Map(); intentMap.set('webhookDemo', demo) agent.handleRequest(intentMap); }); app.listen(3333, ()=>console.log("Server is live at 3333"));
[empty response]
Thank you!
Rohit, could you please help with webhook for dialogflow CX?
I tried soo many times but due to error in npm file, name and email data is not showing in cmd while running the index file
It's my fyp and there is no one in Pakistan,Karachi who would help me in dialogflow firebase database.
I need your help. Can you plz contact me?
bro without credit card i thought i couldn't do anything Really thanks
hey to me appear the same, i solve it make webhook via code node.
sir how send custom pay load reply in node js i am only getting txt response
How do I found the api key in dialogflow for my coding? var app = apiai("<api goes here>");
I must say. Normally I don't find many of the programming videos useful from india because the programming structure and videos mostly are extremely messy. Mate I really enjoyed your video. Please keep speaking so calm as you do don't try like so many other people to sound like they are perfect at english by speaking fast. Do you have portfolio?
Plz provide your dialogflow export file
You made my day.. Thanks a ton for step by step process..👏
At the beginning when I want to execute 'code .' it marks me that it is not recognized and I get this "code : The term 'code' is not recognized as the name of a cmdlet, function, script file or executable program. Check if you typed the name correctly or, if you included a path, check that the path is correct and try again".
please help this is urgent
Bro mera server toh live ho gya tha but still mera webhook response nahi dera tha
Great Job...!! Can make a video for creating browsing carousel via nodejs it will be very helpfull
Apne jo Ubuntu ki window per commands type ki hain wo plz mention krden . Qk me cmd use kr rahi hon
Thank you so much. After so much Research, I got your channel with everything explained perfectly.
Thank you so much Rohit, great tutorial!
Thank you so much!! I was searching this for a long time!!!
Hi bro if I fetch data from database and send to dailogflow on that time request time is out why so that like ...is there is any way to wait webhook call till data fetch from database
How I read the response?.
Watch next video in same playlist
I need your help, How can i reach to you??? Email??
rohits17@iiserb.ac.in ping me here as of now
Sir please share the file how you integrate chatbot with angular..
Hi, can u share ur code , it would be good.. Through GitHub or anywhere
Hi , i have doubt, u upload ur code on GitHub?
Yes, code is uploaded on GitHub. Link is available in last video of this series.
How can I use current date and time as a value?
Hello bro, thank you very much for this video, you saved my life with cutstom payload. But i have question, how do you make custom payload for Facebook ? I've been stuck on this for several days.
Hi! Great video! Why do I get [empty response] after entering the trigger word? I have pasted the same payload text as yours under DEFAULT->Custom Payload. { "richContent": [ [ { "type": "description", "title": "Description title", "text": [ "This is line 1", "This is line 2" ] } ] ] } I'll appreciate any help. Thanks)
Hey, Check the detection of intent (of that word) first before sending response
I have got same empty reponse in default. Plz help
@@allaboutlife4198 Hi were you able to resolve it? I'm also facing the same error i.e empty response window
Are you using Dialogflow Messenger? WebDemo doesn't support Custom Payloads.
sir Ngrok download nhi ho raha mere pas windows me,and can you please give me the code,jo apne custom base chatbot ko bananay me use kia hai
Open your terminal/cmd and run 'npm install ngrok -g' make sure you have nodejs (npm) installed in your system.
@@RohitSaini1196 one more question, ap code provide kr skatay han? Actually mera fyp ha,mjhe koi help krne wala nhi mil raha apki video bht acho hai,bs screen se samjhne me mushkil ho rhi hai.. aagar ap help kr saken
Hey, Code is available in the description of last(final) video of series. Or github.com/rohitsaini1196/chatbot_webhook
bro really Appreciate you work !!! fetch error ngrok Tunnel b997d3db84a2.ngrok.io not found help please
Make sure your ngrok link is working on browser and use https instead of http. If issues continues, update ngrok and nodejs
Hey bro, turn on node index.js it will start server node. After do you apply run ngrok http 3000, warning note, use the same port of node JS. To you test it go on your postaman and test to you see how it working, it to me was ok.
I was watching payment course and this video is much better. Thanks
How to trigger Dialogflow messenger? I saw and used code from documentation but it's not working?
you saved my life bro, literally. thanks