Rohit Saini
Rohit Saini
  • Видео 5
  • Просмотров 53 592
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.
Просмотров: 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...

Комментарии

  • @udayaasree7614
    @udayaasree7614 Месяц назад

    Need yiur help plz suggest

  • @SnippetInsight
    @SnippetInsight Год назад

    Hello rohit, I tried the same CSS but its not working, how so?

  • @shaileshnaik14
    @shaileshnaik14 Год назад

    hi can you develop a chatbot as freelancer

  • @ai_boy1220
    @ai_boy1220 Год назад

    can you add carousel, radio button, checkmarks and others on the channel ?

  • @redplumbera
    @redplumbera 2 года назад

    Hello Rohit thank you so much for making this tutorial, i wish u good health . also please give us more dialogflow content 😅 ggs Rohit

  • @anooptiwari68
    @anooptiwari68 2 года назад

    [object Object] is showing in chatbot

  • @tudobemcomvoce598
    @tudobemcomvoce598 2 года назад

    Payload. nunca funcionam na integração com Whatsapp

  • @prasadkumarasinghe896
    @prasadkumarasinghe896 2 года назад

    how to sending a video via custom payload response to dialgflow...could you please share the function code?

  • @izaiasferreira6758
    @izaiasferreira6758 2 года назад

    not working

  • @miguelrios8049
    @miguelrios8049 3 года назад

    you are fuckin god, I spent a lot of time search it

  • @nospoiler1403
    @nospoiler1403 3 года назад

    if saving a parameter that has spaces, does it save it in firebase?

  • @devbratanuragi7782
    @devbratanuragi7782 3 года назад

    Nice tutorial 🎉

  • @jaiedbinmahmud4461
    @jaiedbinmahmud4461 3 года назад

    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???

  • @palakmantry
    @palakmantry 3 года назад

    Not able to receive payloads. followed step by step

    • @palakmantry
      @palakmantry 3 года назад

      I am always getting an empty response

  • @pradeepupadhya707
    @pradeepupadhya707 3 года назад

    Hi, Can we connect? Need a little assistance.

  • @hhbounce
    @hhbounce 3 года назад

    Thank you for your great tutorial. Do you have an idea why do I receive: "ReferenceError: agend is not defined"?

    • @owususamuel
      @owususamuel 3 года назад

      It's agent* not agend. Check the spelling

    • @hhbounce
      @hhbounce 3 года назад

      @@owususamuel thank you very much Samuel!

    • @hhbounce
      @hhbounce 3 года назад

      @@owususamuel Sorry to disturb you, but do you know how to handle following issue: "TypeError: Right-hand side of 'instanceof' is not an object"

    • @owususamuel
      @owususamuel 3 года назад

      @@hhbounce it means you've assigned a variable of different data type objects

    • @hhbounce
      @hhbounce 3 года назад

      @@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"));

  • @computadorhumano949
    @computadorhumano949 3 года назад

    [empty response]

  • @AbhayG27
    @AbhayG27 3 года назад

    Thank you!

  • @imachrajeev
    @imachrajeev 3 года назад

    Rohit, could you please help with webhook for dialogflow CX?

  • @kinzamushtaq1827
    @kinzamushtaq1827 4 года назад

    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

  • @kinzamushtaq1827
    @kinzamushtaq1827 4 года назад

    It's my fyp and there is no one in Pakistan,Karachi who would help me in dialogflow firebase database.

  • @kinzamushtaq1827
    @kinzamushtaq1827 4 года назад

    I need your help. Can you plz contact me?

  • @hanifjilani6533
    @hanifjilani6533 4 года назад

    bro without credit card i thought i couldn't do anything Really thanks

    • @computadorhumano949
      @computadorhumano949 4 года назад

      hey to me appear the same, i solve it make webhook via code node.

  • @pradnyakarve6094
    @pradnyakarve6094 4 года назад

    sir how send custom pay load reply in node js i am only getting txt response

  • @Alexrx8
    @Alexrx8 4 года назад

    How do I found the api key in dialogflow for my coding? var app = apiai("<api goes here>");

  • @lassef3692
    @lassef3692 4 года назад

    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?

  • @kinzamushtaq1827
    @kinzamushtaq1827 4 года назад

    Plz provide your dialogflow export file

  • @kirangonuguntla2716
    @kirangonuguntla2716 4 года назад

    You made my day.. Thanks a ton for step by step process..👏

  • @paulachatbot9143
    @paulachatbot9143 4 года назад

    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".

  • @tv_companion
    @tv_companion 4 года назад

    please help this is urgent

  • @tv_companion
    @tv_companion 4 года назад

    Bro mera server toh live ho gya tha but still mera webhook response nahi dera tha

  • @khizarahmed4932
    @khizarahmed4932 4 года назад

    Great Job...!! Can make a video for creating browsing carousel via nodejs it will be very helpfull

  • @kinzamushtaq1827
    @kinzamushtaq1827 4 года назад

    Apne jo Ubuntu ki window per commands type ki hain wo plz mention krden . Qk me cmd use kr rahi hon

  • @akshaywalunj758
    @akshaywalunj758 4 года назад

    Thank you so much. After so much Research, I got your channel with everything explained perfectly.

  • @facundomartinarguello6646
    @facundomartinarguello6646 4 года назад

    Thank you so much Rohit, great tutorial!

  • @carol0906
    @carol0906 4 года назад

    Thank you so much!! I was searching this for a long time!!!

  • @rajaraja-kq1ig
    @rajaraja-kq1ig 4 года назад

    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

  • @danielgonzalezz
    @danielgonzalezz 4 года назад

    How I read the response?.

  • @deepshikha141
    @deepshikha141 4 года назад

    I need your help, How can i reach to you??? Email??

    • @RohitSaini1196
      @RohitSaini1196 4 года назад

      rohits17@iiserb.ac.in ping me here as of now

  • @anwarulhaq7909
    @anwarulhaq7909 4 года назад

    Sir please share the file how you integrate chatbot with angular..

  • @anwarulhaq7909
    @anwarulhaq7909 4 года назад

    Hi, can u share ur code , it would be good.. Through GitHub or anywhere

  • @anwarulhaq7909
    @anwarulhaq7909 4 года назад

    Hi , i have doubt, u upload ur code on GitHub?

    • @RohitSaini1196
      @RohitSaini1196 4 года назад

      Yes, code is uploaded on GitHub. Link is available in last video of this series.

  • @apasajaboleh1242
    @apasajaboleh1242 4 года назад

    How can I use current date and time as a value?

  • @blitz8925
    @blitz8925 4 года назад

    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.

  • @Victoria2396
    @Victoria2396 4 года назад

    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)

    • @RohitSaini1196
      @RohitSaini1196 4 года назад

      Hey, Check the detection of intent (of that word) first before sending response

    • @allaboutlife4198
      @allaboutlife4198 4 года назад

      I have got same empty reponse in default. Plz help

    • @rishabhsharma8030
      @rishabhsharma8030 3 года назад

      @@allaboutlife4198 Hi were you able to resolve it? I'm also facing the same error i.e empty response window

    • @dorjedev733
      @dorjedev733 3 года назад

      Are you using Dialogflow Messenger? WebDemo doesn't support Custom Payloads.

  • @kinzamushtaq1827
    @kinzamushtaq1827 4 года назад

    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

    • @RohitSaini1196
      @RohitSaini1196 4 года назад

      Open your terminal/cmd and run 'npm install ngrok -g' make sure you have nodejs (npm) installed in your system.

    • @kinzamushtaq1827
      @kinzamushtaq1827 4 года назад

      @@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

    • @RohitSaini1196
      @RohitSaini1196 4 года назад

      Hey, Code is available in the description of last(final) video of series. Or github.com/rohitsaini1196/chatbot_webhook

  • @bipinchauhan6411
    @bipinchauhan6411 4 года назад

    bro really Appreciate you work !!! fetch error ngrok Tunnel b997d3db84a2.ngrok.io not found help please

    • @RohitSaini1196
      @RohitSaini1196 4 года назад

      Make sure your ngrok link is working on browser and use https instead of http. If issues continues, update ngrok and nodejs

    • @computadorhumano949
      @computadorhumano949 4 года назад

      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.

  • @ulisesvera3055
    @ulisesvera3055 4 года назад

    I was watching payment course and this video is much better. Thanks

  • @saketprag5980
    @saketprag5980 4 года назад

    How to trigger Dialogflow messenger? I saw and used code from documentation but it's not working?

  • @jorgericaldi6438
    @jorgericaldi6438 4 года назад

    you saved my life bro, literally. thanks