QnA Maker Bot | Microsoft Bot Framework tutorial

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024

Комментарии • 81

  • @theosegas
    @theosegas 3 года назад +6

    Please, come back with the tuto for the Luis Integration !

  • @BerrisfordEdwards
    @BerrisfordEdwards 4 года назад +5

    Hi. Firstly, many thanks for this very helpful and well produced tutorial. Like the other comments, I'm experiencing difficulty working with the new architecture and the .env file. I followed your instructions right up to creating a new bot. Then instead of editing the .bot file (which is deprecated), I followed the instructions from docs.microsoft.com/en-us/azure/bot-service/bot-builder-tutorial-add-qna?view=azure-bot-service-4.0&tabs=javascript. However, upon testing the bot I repeatedly get the "The bot encountered an error or bug. To continue to run this bot, please fix the bot source code." error message. Your tutorial is the closest, most informative one I've come across to date and I wonder if you might be at all able to provide some insight here please? I appreciate that this is not at all your responsibility and completely understand if you're unable to help right now. Thanks again.

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

      Takes a little grit. I got it to work, just look at the code snippets and work through some of the errors you get. The solution is easier than you think.

  • @priyankabanda7562
    @priyankabanda7562 4 года назад +5

    can you please let me know where to find the luis integration of knowledge base

  • @franklinbenjmin9384
    @franklinbenjmin9384 4 года назад +3

    i see that the latest version(2020) of Index.js is different from the video(2019). can you please make a new latest video with update code

  • @qtfreak2372
    @qtfreak2372 3 года назад +1

    Is this video still usable? There is so much that is different and I couldn't create a .bot file.

  • @dj_chopa
    @dj_chopa 4 года назад +2

    hi. Everything has been going well in the tutorial video but i am now stuck because i cannot find the .bot file at 18:25. Please help

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

      the new bot framework doesn't create the .bot file. Instead use docs.microsoft.com/en-us/azure/bot-service/bot-builder-tutorial-add-qna?view=azure-bot-service-4.0&tabs=javascript to know how to integrate QnA with new settings.

  • @629_nishantghadigaonkar3
    @629_nishantghadigaonkar3 2 года назад +1

    18:24 my .bot file has not been created. any solution for this

  • @kushaalkumarrn1547
    @kushaalkumarrn1547 3 года назад +1

    It would be really helpfull if u could make a video for Luis integration..... :)

  • @thirdeyescopeofhorror7055
    @thirdeyescopeofhorror7055 2 года назад +1

    Hey guy thanks for a great tutorial i got caught up on msbot i found was depricated but i still followed though and everything is fun very thrilled to do this easy to follow as you are good for role leading reminds me of dosdude 1 he is good at explaining imacs. Thanks :)

  • @JohnWick-dp4le
    @JohnWick-dp4le 4 года назад +2

    Hey dude, will you release your next video which you mentioned integration of LUIS? because you do really good job and many need your tutorials, thanks you a lot :)

  • @stilldrey
    @stilldrey 3 года назад +1

    Great video - Windows key + plus key for magnifier zoom in or download zoom it to zoom in on the screen

  • @iam.devangmp
    @iam.devangmp 3 года назад +1

    Add the video for the LUIS integration !! All your videos are really great .

  • @gautamms10
    @gautamms10 5 лет назад +5

    Hey , thanks for the video, can you advise on steps as .bot file is no longer there...Thx

    • @BlockExplorerMedia
      @BlockExplorerMedia  5 лет назад +5

      everything that was previously in the bot file should now be in an '.env' file. updated tutorial coming soon.

    • @danbrownson939
      @danbrownson939 4 года назад +1

      Here is what I did that seems to work. Open a command prompt then navigate to the folder where you have your bot. In that folder run "npm install dotenv" This will create the .env file in that folder. Also - Thanks for the awesome tutorials!!! Really good stuff.

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

      @@BlockExplorerMedia is an updated tutorial done.

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

      @@adityaghosh8601 Do you have the same issue of .bot file?

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

      @@mrudulchoksi6344 template has changed so there was issue.

  • @guerbyduval4104
    @guerbyduval4104 11 месяцев назад

    That's why I hate Microsoft dev tools. Just to answer some predefined questions you have to spend most of the time during configurations. Microsoft dev sucks!!!

  • @o5051
    @o5051 5 лет назад +1

    if i make a chatbot with microsoft bot framework then azure provide free service or it is paid??
    because this chatbot integrated in my website soo please help.

    • @BlockExplorerMedia
      @BlockExplorerMedia  5 лет назад

      it's not free unfortunately - here's some pricing info:
      azure.microsoft.com/en-us/pricing/details/bot-service/

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

    How do you authenticate and then continue chatting only if authorized?

  • @nandagopal4596
    @nandagopal4596 5 лет назад +2

    Awesome video, i did my first chatbot using this! But MS has released the new SDK v4 and that changes a few things, there is no .bot file anymore, so there are some code changes needed. But this is an excellent place to start. Really loved the pace and attention to detail, am looking forward to more videos from you! LUIS, nodejs and more..

    • @davenathaniel787
      @davenathaniel787 5 лет назад

      Hey, a lot has changed from this tutorial. Can you send me a link to a more updated tutorial? Thanks!

    • @nandagopal4596
      @nandagopal4596 5 лет назад +3

      Hi @@davenathaniel787 I just updated the code a little bit using this - docs.microsoft.com/en-us/azure/bot-service/bot-builder-tutorial-add-qna?view=azure-bot-service-4.0&tabs=javascript

    • @BlockExplorerMedia
      @BlockExplorerMedia  5 лет назад +1

      yes, a lot has changed...I'm working on an updated tutorial for 4.5 / 4.6. trying to finish it in the next week...stay tuned!

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

    The azure bot service is same as MicrosoftBot framework SDK..?? Can you please explain. am little confused. And without azure cant we develop a bot..? so that it runs locally? and also now v4 has released right so may I know the changes.
    Thanks

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

    HelloTeam,
    I created the knowledge base and webapp bot service with bot template as basic bot.But I am not able to connect the bot with my knowledge base. As there are no fields under application configuration where I can provide the QNA hostname and id and Knowledgebase Id.Can you please suggest how to establish the connection through the portal without doing it locally.

  • @patrickadu-amankwah1660
    @patrickadu-amankwah1660 4 года назад

    Hey @Cloud Path I think the reason you had rhe "Oops something wen't wrong" response at 43:17 was because at 34:52 you put your default string inside of a the TurnContex("answer") instead of a turnContext.sendActivity("answer"). Is that it?

  • @unexpert
    @unexpert 5 лет назад +1

    Good stuffs 👍 My bot is a mixture of luis+qnamaker(multiple KBs, same qns but different answers). But I can't figure out how to keep the context of the conversation. I'm trying to use the metadata filtering method. Will be good if u have a tutorial on that. Thanks!

    • @BlockExplorerMedia
      @BlockExplorerMedia  5 лет назад +5

      i'm planning to do a video showing how to build a LUIS bot soon...stay tuned

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

      @@BlockExplorerMedia We keep waiting for :((((

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

    Any update on this tutorial for the new ways on creating the .env file for bot?

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

    Any update on this tutorial for the new ways on creating the .env file for bot?

    • @BlockExplorerMedia
      @BlockExplorerMedia  2 года назад +1

      hey Jerome, sorry but I'm probably not coming back to this subject anytime soon. i was working on the MS Bot Framework at the time but I left 2 years ago so I'm pretty far behind with what's changed since then. they should have some decent tutorials and sample code on the BF site though. good luck!

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

    Hi my friend. Any news for the newest version ? Sorry, there are no .bot file available. See you soon ? Thanks !

  • @anusree114
    @anusree114 5 лет назад +2

    Really good effort. Thank you

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

    Hi , I have followed all the steps, I don't have the .bot file created. What do I do (18:29)

  • @jahnavireddy1018
    @jahnavireddy1018 4 года назад +1

    Can we deploy this qnamaker onto a website?

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

      hi Jahnavi, yes you can deploy the qna maker bot to a website. I believe this is what you want:
      docs.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-webchat?view=azure-bot-service-4.0
      I am currently making more Bot Framework videos for the newest 4.5/4.6 versions - stay tuned!

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

    can you come back with a video with integration of more then one costum action .thanks

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

    Finally it worked. thank you so much.

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

    Hello, Thanks for your video. I am using Mac and (npm install -g msbot) is not working. Secondly, I downloaded the Bot emulator but how to link this with the azure? Thanks.

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

      run it with sudo command sudo nom install -g msbot

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

    These videos are simply outstanding.

  • @giguerea
    @giguerea 5 лет назад +1

    very good, thanks, looks like the .bot file has already been deprecated

    • @BlockExplorerMedia
      @BlockExplorerMedia  5 лет назад +1

      yes it has been deprecated. i will probably do another updated bot tutorial for the 4.5 (or 4.6) release. the SDK is changing fast!

    • @BlockExplorerMedia
      @BlockExplorerMedia  5 лет назад +2

      until then, you can checkout the botbuilder samples repo - the samples have been updated recently to reflect the latest best practices:
      github.com/microsoft/BotBuilder-Samples/tree/master/samples/javascript_nodejs

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

      Hi!
      Where to add knowledge base information like endpoint and kbid 'cause ".bot" file is deprecated and not to be seen in latest bot creations using yeoman.

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

    Hello, this is working locally right? how we can switch it on the cloud?

  • @RockStar-xq6ym
    @RockStar-xq6ym 4 года назад

    Hey at 2:34 should we install git to open that terminal?

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

    thanks for this video

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

    Very nice, thank you

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

    My folder does not have a .bot file, anyone else has this issue?

    • @mano2171
      @mano2171 3 года назад +1

      create a file with the same projectname.bot

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

    good one

  • @surendars1640
    @surendars1640 5 лет назад +1

    cant find .bot file

    • @BlockExplorerMedia
      @BlockExplorerMedia  5 лет назад +6

      hi Surendar. the '.bot' file has recently been deprecated. the new recommendation is to use a '.env' file to store secrets and keys for you bot. i hope to release an updated video soon, this framework changes fast!

    • @NhanNguyen-rh4lg
      @NhanNguyen-rh4lg 5 лет назад +1

      @@BlockExplorerMedia many thanks for your response.

    • @NhanNguyen-rh4lg
      @NhanNguyen-rh4lg 5 лет назад +2

      @@BlockExplorerMedia here are what i found for this configure (refer to this link docs.microsoft.com/en-us/azure/bot-service/bot-builder-howto-qna?view=azure-bot-service-4.0&tabs=js ):
      QnAKnowledgebaseId=""
      QnAAuthKey=""
      QnAEndpointHostName=""

    • @timol6175
      @timol6175 5 лет назад +1

      @@BlockExplorerMedia are you planning on creating an updated version? The tutorial is great, however the code is deprecated and would love to see how you handle the new ways. Thanks in advance.

  • @ArpitKharbandaIsAwesome
    @ArpitKharbandaIsAwesome 5 лет назад

    Hey man, I myself am a developer. Would you like to collab?

    • @BlockExplorerMedia
      @BlockExplorerMedia  5 лет назад +1

      hi Arpit. well my hands are pretty full just trying to create videos for this channel but I'm always open to new ideas. you can find my contact info in the about section - feel free to let me know what you have in mind. thanks for your support!

    • @ArpitKharbandaIsAwesome
      @ArpitKharbandaIsAwesome 5 лет назад

      @@BlockExplorerMedia Hey thanks for replying. I went to the about page but can't find an email or something to directly message you. I found you through Reddit so I messaged you over there. Can you reply me over there? If not, let me know your email. Thanks.

  • @mihirmehta6736
    @mihirmehta6736 5 лет назад

    That was really awesome as a brief description @cloud path, I encounter a couple issues one of them is 23:07 i am not able to input nmp i botbuilder-ai as it says nmp command not found, although i have prerequisite tools node.js etc
    Can you help

    • @jahnavireddy1018
      @jahnavireddy1018 5 лет назад

      its "npm" and not nmp

    • @mihirmehta6736
      @mihirmehta6736 5 лет назад

      @@jahnavireddy1018 Ya Ma'am it was mere a spelling i figured it out but still not able to run it if you help anyways , I am a noobe in coding domain. Encountering following issues 1)internal/modules/cjs/loader.js:797
      throw err;
      2): Cannot find module 'botframework-config'
      3)Require stack:
      - C:\projects\qnabot\index.js
      I tried resolving them but got in a lil more trouble, If you can guide/help a bit

    • @jahnavireddy1018
      @jahnavireddy1018 5 лет назад +1

      Yea same. Even I have issues running it.

    • @jahnavireddy1018
      @jahnavireddy1018 5 лет назад +1

      @@mihirmehta6736 even I am figuring out how to work it out. If I get I'll tell you surely

    • @BlockExplorerMedia
      @BlockExplorerMedia  5 лет назад

      try 'npm install' from the root level of the bot folder. verify it succeeded (no errors), then 'npm run start' also from the root.

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

    To migrate from .bot file to .env do the following -> docs.microsoft.com/en-us/azure/bot-service/bot-builder-tutorial-add-qna?view=azure-bot-service-4.0&tabs=javascript
    lets say the information we get from creating our knowledge base is :
    POST /knowledgebases/< QnAKnowledgebaseId >/generateAnswer
    Host: < QnAEndpointHostName >
    Authorization: EndpointKey < QnAAuthKey >
    Content-Type: application/json
    {"question":""}
    UPDATE your .env file as :
    MicrosoftAppId=""
    MicrosoftAppPassword=""
    ScmType=None
    QnAKnowledgebaseId="< QnAKnowledgebaseId HERE>"
    QnAAuthKey="< QnAAuthKey HERE>"
    QnAEndpointHostName="< QnAEndpointHostName HERE>"