Dialogflow Chatbot - Using Contexts to Connect Intents

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ม.ค. 2025

ความคิดเห็น • 31

  • @TusharDesaiA
    @TusharDesaiA 3 ปีที่แล้ว

    Thank Peter, that was helpful for newbie like me.

  • @YugoGautomo
    @YugoGautomo 4 ปีที่แล้ว

    Thanks, It's working for me. Great tutorial.

  • @AllthingsA.i-00
    @AllthingsA.i-00 6 ปีที่แล้ว +1

    Amazing work , keep making more and more videos on this , thank you :)

  • @philippalbrecht9023
    @philippalbrecht9023 4 ปีที่แล้ว

    Thanks for putting out this tutorial. For some reason im unable to trigger the Prompts for required parameters. When should I see those?

  • @cyberguide_in
    @cyberguide_in 5 ปีที่แล้ว

    Very well-done! Please create a detailed video on how to set up a Node.js server and database to connect the chatbot.

  • @husainsiddiqui9465
    @husainsiddiqui9465 5 ปีที่แล้ว

    Well explained, thanks dude!!!

  • @yeshusingh7004
    @yeshusingh7004 6 ปีที่แล้ว

    hey i have not found the usersays option near 2:48 can u reply me plz as fast as u can

  • @justinklanica3059
    @justinklanica3059 4 ปีที่แล้ว

    I was able to test and publish these intents. When testing on Google home the Google bot does not listen to my verbal response. Can you please tell me what I might be missing here?

  • @omairacristinapalaciossanc7073
    @omairacristinapalaciossanc7073 4 ปีที่แล้ว

    thanks a lot !

  • @sofiadellera9911
    @sofiadellera9911 6 ปีที่แล้ว +2

    I'm trying to set a "nickname" I've done everything the same as name (@given.name) but I found that if the user chooses anything other than a standard name the bot will not understand.
    How can I collect a nickname and use it in later conversation without limiting it to a specific type of name?
    For example If a user were to reply to what do you want your nick name to be: "master" or "magic unicorn"
    dialogue flow will not continue in the flow or repeat the name.
    I hope I've made myself clear and you can answer my question,
    Thanks! your videos are very helpful!

    • @peterfessel9910
      @peterfessel9910  6 ปีที่แล้ว

      Hi Sofia, yes I understand your problem. You can try using the @sys.any entity instead. This will work exactly as you want as long as the user doesn't enter a whole sentence, but the nickname only.
      You can also check out my other video on name recognition with @sys.any: th-cam.com/video/uI0u6xvazAM/w-d-xo.html It might help

  • @Rahul-gn7px
    @Rahul-gn7px 5 ปีที่แล้ว

    can we link multiple intents to one single intent and select the one that operates using input from the user?

    • @peterfessel9910
      @peterfessel9910  5 ปีที่แล้ว +1

      @rahul you sure can. Just set one output context on the parent intent (the 'single intent' in this case). Then set the same context as input context in all further intents you want to link to. Then train those child intents as you usually would with example input.

    • @Rahul-gn7px
      @Rahul-gn7px 5 ปีที่แล้ว

      @@peterfessel9910 but how would I make the chatbot know which context to follow in case of which input

  • @superAbtruse503
    @superAbtruse503 4 ปีที่แล้ว

    hi , can we direct user to the certain intent?
    example like bot ask which food do you want to order?
    user answer pizza, then will direct to the pizza intent
    user answer burger, then direct to burger intent

    • @peterfessel9910
      @peterfessel9910  4 ปีที่แล้ว

      Yes, that should be no problem. The intent that asks the question should have an output context, then you create a series of intents that have this as an input context and only one piece of training data, e.g. 'burger'.

    • @vidhuv1811
      @vidhuv1811 4 ปีที่แล้ว

      @@peterfessel9910 the chatbot respond based on the training phrase (ie, it give specific response if user said burger) then what is the need of contexts

  • @kenny1394
    @kenny1394 3 ปีที่แล้ว

    What to do if user does not have email?

  • @harleypasoz2114
    @harleypasoz2114 6 ปีที่แล้ว

    Thank you so much!

  • @RajatGuptaOnline
    @RajatGuptaOnline 5 ปีที่แล้ว

    Dialogflow Web Integration not showing Quick Replies and Multiple Replies, Any suggestion or example git :/

  • @elvisserrano7242
    @elvisserrano7242 4 ปีที่แล้ว

    Hey, can you share how can we send image or video to whatsapp using custum payload or how can we do that? I Have integrate auto responde with dialogflow and i jave been trying differents parameters using json but still not working. All your help will be really appreciated!

  • @guillaumelbr453
    @guillaumelbr453 5 ปีที่แล้ว

    how do you move the conversation back from a follow up intent to a parent intent ?

    • @peterfessel9910
      @peterfessel9910  5 ปีที่แล้ว

      @Guillaume it's quite straight forward: Set an output context from the follow-up intent that is the input context to the parent intent.

  • @vidhuv1811
    @vidhuv1811 4 ปีที่แล้ว

    Without adding contexts. Theses will work as chain.
    Since there will be response to all user given values, even though it is in diffrent intents.
    Then what is the need of contexts

    • @therheasen
      @therheasen 3 ปีที่แล้ว +1

      Try giving 1 lifespan to each and check. A chain will be formed.
      Later when you don't start with a "Hi" and provide name out of nowhere, the Fallback Intent gets called.

  • @carloslujan1643
    @carloslujan1643 6 ปีที่แล้ว

    How can you manage several questions with yes or no answers and not fall into a loop?

    • @peterfessel9910
      @peterfessel9910  6 ปีที่แล้ว

      You'll need to create separate intents for every yes/no answer and then prompt every intent with a separate context. That way you can't fall into a loop.

  • @nawazpayawala9955
    @nawazpayawala9955 5 ปีที่แล้ว +1

    Amazing work , but I m facing issue in GetEmail. #awaiting_name.name is not working.
    Instead of this I need to use
    awaiting_email.name.
    Than only it's showing me correct output.

    • @therheasen
      @therheasen 3 ปีที่แล้ว

      Try adding an output context named "session_var" in Welcome Intent and keep a 200 lifespan.
      Use #session_var.name instead of using #awaiting_name.name.

  • @spandandaschowdhury9739
    @spandandaschowdhury9739 5 ปีที่แล้ว

    How to convert the training phrase to entity

  • @caninha2023
    @caninha2023 6 ปีที่แล้ว

    How to put emoji in messages ?