QnA Maker Bot | Microsoft Bot Framework tutorial

Поділитися
Вставка
  • Опубліковано 11 чер 2024
  • Join us in this tutorial as we create a QnA Maker bot, leveraging Knowledge Base and the Azure Qna Maker Bot service with the Microsoft Bot Framework.
    These technologies are the building blocks of artificial intelligence and are lots of fun to work with!
    Tutorial links & downloads:
    msbot
    github.com/Microsoft/botbuild...
    Azure CLI
    docs.microsoft.com/en-us/cli/...
    ngrok
    github.com/Microsoft/BotFrame...
    ngrok.com/
    BotBuilder Samples Repository
    github.com/Microsoft/BotBuild...
    Completed bot code:
    github.com/jspruance/qna-bot-...
  • Наука та технологія

КОМЕНТАРІ • 81

  • @slickshoez
    @slickshoez 3 роки тому

    These videos are simply outstanding.

  • @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 :)

  • @mano2171
    @mano2171 3 роки тому

    Finally it worked. thank you so much.

  • @theosegas
    @theosegas 3 роки тому +6

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

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

  • @nandagopal4596
    @nandagopal4596 4 роки тому +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 4 роки тому

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

    • @nandagopal4596
      @nandagopal4596 4 роки тому +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  4 роки тому +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!

  • @anusree114
    @anusree114 4 роки тому +2

    Really good effort. Thank you

  • @iam.devangmp
    @iam.devangmp 2 роки тому +1

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

  • @PedroP0rtes
    @PedroP0rtes 4 роки тому

    Very nice, thank you

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

  • @priyankabanda7562
    @priyankabanda7562 4 роки тому +5

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

  • @prasanthvempali6608
    @prasanthvempali6608 4 роки тому

    good one

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

  • @manoj_views5059
    @manoj_views5059 3 роки тому

    thanks for this video

  • @kushaalkumarrn1547
    @kushaalkumarrn1547 3 роки тому +1

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

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

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

  • @qtfreak2372
    @qtfreak2372 3 роки тому +1

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

  • @waelothmani3795
    @waelothmani3795 4 роки тому

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

  • @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  4 роки тому +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 :((((

  • @RockStar-xq6ym
    @RockStar-xq6ym 4 роки тому

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

  • @mauriciotb6103
    @mauriciotb6103 4 роки тому

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

  • @adityabajaj14
    @adityabajaj14 2 роки тому

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

  • @rishikabhanushali7478
    @rishikabhanushali7478 4 роки тому

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

  • @jerjeromeeeeee_m
    @jerjeromeeeeee_m 2 роки тому

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

  • @dj_chopa
    @dj_chopa 3 роки тому +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

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

  • @tesnim89
    @tesnim89 3 роки тому

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

  • @o5051
    @o5051 4 роки тому +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  4 роки тому

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

  • @gautamms10
    @gautamms10 4 роки тому +5

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

    • @BlockExplorerMedia
      @BlockExplorerMedia  4 роки тому +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 3 роки тому

      @@BlockExplorerMedia is an updated tutorial done.

    • @mrudulchoksi6344
      @mrudulchoksi6344 3 роки тому

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

    • @adityaghosh8601
      @adityaghosh8601 3 роки тому

      @@mrudulchoksi6344 template has changed so there was issue.

  • @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 3 роки тому

      run it with sudo command sudo nom install -g msbot

  • @mihirmehta6736
    @mihirmehta6736 4 роки тому

    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 4 роки тому

      its "npm" and not nmp

    • @mihirmehta6736
      @mihirmehta6736 4 роки тому

      @@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 4 роки тому +1

      Yea same. Even I have issues running it.

    • @jahnavireddy1018
      @jahnavireddy1018 4 роки тому +1

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

    • @BlockExplorerMedia
      @BlockExplorerMedia  4 роки тому

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

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

  • @jaskarankaur4971
    @jaskarankaur4971 3 роки тому

    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

  • @giguerea
    @giguerea 5 років тому +1

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

    • @BlockExplorerMedia
      @BlockExplorerMedia  4 роки тому +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  4 роки тому +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.

  • @surendars1640
    @surendars1640 4 роки тому +1

    cant find .bot file

    • @BlockExplorerMedia
      @BlockExplorerMedia  4 роки тому +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 4 роки тому +1

      @@BlockExplorerMedia many thanks for your response.

    • @NhanNguyen-rh4lg
      @NhanNguyen-rh4lg 4 роки тому +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 4 роки тому +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.

  • @tanzeelrana7348
    @tanzeelrana7348 3 роки тому

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

  • @guerbyduval4104
    @guerbyduval4104 7 місяців тому

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

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