Rasa chatbot website integration | Quick tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2024

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

  • @DroidCity
    @DroidCity  3 ปีที่แล้ว +5

    Hi, anyone who wants to clear chats can add following line in script tag
    window.localstorage.clear()
    Also, to clear chats on restart, you can add condition with following code :
    window.onload()

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

      could u give me an example?

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

      Please join discord since, I won't be able to add code snippet properly here

    • @khangmai9616
      @khangmai9616 2 ปีที่แล้ว

      Hi, can you tell me where to put that code? Thanks a lot

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว +1

      Inside your html script tag

    • @khangmai9616
      @khangmai9616 2 ปีที่แล้ว

      @@DroidCity I mean the code used to clear chats, specifically where do you put it in the script, because I tried to put it in several places but it doesn't work. Thanks

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

    but my chatbot not giving reply? why

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

    this tutorial is very helpful than other videos of the same explain about Rasa tutorial

  • @DroidCity
    @DroidCity  3 ปีที่แล้ว +12

    Hi guys, one update those who are using rasa 2.3.x or till 2.4.x version there is socketio and engineio issue and because of that webchat won't get connected. Use following versions:
    python-engineio==3.13.2
    python-socketio==4.6.1
    if you don't want to do this just downgrade rasa version or upgrade to 2.5.x
    Update: just use 1.0.1 in rasa-webchat for Rasa version > 2.4

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

      thanks man ! changing the socket io version to 4.6.1 did the trick for me ( i am using rasa 2.4 )

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

      Thank you so much brother! you saved me! You have won my subscription ! keep making such useful videos

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

      @I17-0002 Muhammad Ammar use pip install python-socketio==versionnumber

    • @eshitamehta3462
      @eshitamehta3462 ปีที่แล้ว

      @@user-yh8hw1ln4k can u tell me?

  • @kenchang3456
    @kenchang3456 3 ปีที่แล้ว +2

    Very nice introduction, thank you!

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

      It's my pleasure ☺️

  • @abhishekbehera6950
    @abhishekbehera6950 6 หลายเดือนก่อน

    I did all the steps as mentioned, but i dont get any response from the bot. I can only see my messages in the chat window. Please help

  • @yudhistargannabattula8734
    @yudhistargannabattula8734 3 หลายเดือนก่อน

    Hiii bro, the bot is working but all the output(data from csv) will be displayed in one line but I want in multiple lines

  • @sherryluo3089
    @sherryluo3089 ปีที่แล้ว

    thanks for the video! really helped a lot! i was wondering is it possible to make an API call and have the message show up on the widget?

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

    html page not working, bot not appearing

    • @randomranter9768
      @randomranter9768 9 หลายเดือนก่อน

      Did you solve the issue ?

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

    hey , i have implemented everything told in the video but when i open my html it is blank .can you please look into my matter , it will be a great help

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

      Hi, check inside inspect and there in console what do you see? add it here, also check out website error tutorial: th-cam.com/video/B1Z-lM7daAg/w-d-xo.html. Still you have doubt please add them here or on discord server.

  • @farhadkhan3893
    @farhadkhan3893 ปีที่แล้ว

    Your video is really helpful, Thank you

  • @karrmanbhatia4261
    @karrmanbhatia4261 2 ปีที่แล้ว

    SUPER AMAZING VIDEO, THANKS A LOT

  • @krunalshinde4500
    @krunalshinde4500 7 หลายเดือนก่อน

    Hello, Nice Video!!
    I make a flask application when user logged in then username is stored in session variable.
    So I want to use that username in chatbot for query processing from/to the database like insert new order data with user name for checking history using username so how can I do that ?
    please suggest fast

  • @anshalkhan7318
    @anshalkhan7318 2 ปีที่แล้ว

    hello sir great video , i wanted to ask how can the bot refresh everytime the bot close and open
    ?

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Hi thanks for the feedback. If you want to refresh it then you can close the session user had and start with new when they open the widget again. This will change the sender id which will be sent to rasa

  • @indrajanambiar7188
    @indrajanambiar7188 ปีที่แล้ว

    how can we restart the chat by clearing the previous chats in rasa chatbot which is integrated in localhost.

  • @harshmagiya9389
    @harshmagiya9389 2 ปีที่แล้ว +1

    Hey
    Thank you it was quite helpful
    Can you mention how to clear the bot every time i run it

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว +1

      You can clear the chats, by running following command:
      window.localstorage.clear()
      For checking the page refresh/load:
      window.onload()

    • @harshmagiya9389
      @harshmagiya9389 2 ปีที่แล้ว

      @@DroidCity Hey thanks for replying
      But to be honest i am still not getting the result, i believe i am not putting the right command or not in correct position

  • @khangmai9616
    @khangmai9616 2 ปีที่แล้ว

    Hi, I have built an interface for Rasa Chatbot (HTML, CSS, JS). Now I want to wrap them up and call them through a script like the video above. Are there any possible ways? Thanks a lot

  • @JinskuKripta
    @JinskuKripta ปีที่แล้ว

    how to clear chats each time you reload the website

  • @alessialeanza8911
    @alessialeanza8911 2 ปีที่แล้ว

    Hi, nice tutorial! How can i send a request messagge to the server from the prompt? Like using curl with a post request?

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Yes sure, you can

    • @alessialeanza8911
      @alessialeanza8911 2 ปีที่แล้ว

      @@DroidCity how? can you send me the piece of code ? curl ....

  • @Rakitic04
    @Rakitic04 2 ปีที่แล้ว

    sir I want to integrate my bot in moodle site or php site .. any tips PLZ .. i dont know how to start

  • @nishmithav730
    @nishmithav730 6 หลายเดือนก่อน

    Hi, Can you please tell which python version need to be installed. Any specific python version need to be installed.

    • @vishvaadarshan5177
      @vishvaadarshan5177 2 หลายเดือนก่อน

      python 3.8 is better for this project

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

    Hello sir I have done the exact same steps and completed the integration of chatbot with website but its not happening now when I tried again I dont have any version problems as I am using rasa 2.6, I made an another environment again but the pop up for the chatbot is not visible... Would you guide me for this

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

      Also I am getting this line after rasa shell or running the model api which wasnt there before "connecting to channel 'cmdline' which was specified by the '--connector' argument. any other channels will be ignored. to connect to all given channels, omit the '--connector' argument."

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

      Did you check error tutorial of mine. If not please have a look at it. It might be one of it

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

      @@DroidCity Yeah gotcha Thanks sir

  • @telugutelisnodu
    @telugutelisnodu 2 ปีที่แล้ว +1

    mine website only loaded but there is no chat option to chat. Help!!!

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      What error are you receiving? Check the errors in inspect console

    • @telugutelisnodu
      @telugutelisnodu 2 ปีที่แล้ว

      @@DroidCity index.js:1 Failed to load resource: the server responded with a status of 404 ()

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      What command did you ran? Did it had --cors? Also what is the rasa version

    • @telugutelisnodu
      @telugutelisnodu 2 ปีที่แล้ว

      @@DroidCity yes it has --cors and 2.1.2

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Did you changed the version rasa webchat? If not try reading the Readme of rasa webchat repository they have mentioned

  • @sichengzhang3739
    @sichengzhang3739 2 ปีที่แล้ว

    thx for your great works! i successfully get it running without action server,
    but the web page turns blank when i try to run action server at the same time.
    may i ask how to do this with custom actions?

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Hi thanks for the feedback, was busy these days so did not able to reply. It seems wierd like actions is not capable of doing this. Are you just running custom actions or what?? If you are then actions are linked with main rasa server so without it there is no use of them so run rasa server and provide the url as you do when running it solo

  • @khalidal-reemi3361
    @khalidal-reemi3361 3 ปีที่แล้ว

    very nice tutorial
    thanks

  • @foodmaker5771
    @foodmaker5771 2 ปีที่แล้ว

    Hey Droid city is this still working I am using same config Rasa and Python but webpage don't have any chat popup

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว +1

      Yes this process still works, i am using it myself

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

    Thank you, the video is useful and I made it, but I want to ask how I can clear the dialog when I click on html every single time.

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

      Hi Matthew, you can add this as button on your html page. Inside the script tag add a function which does like following:
      window.localstorage.clear()
      This will clear the chats and session. Make sure to connect this function with the button you add to clear chats

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

      @@DroidCity could you please show this

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

      @@naanimuhunthan4771 yes sure will add a lazy Tut for this purpose Thanks for suggesting

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

    i don't understand how to use the following line in the script of the last version of rasa web chat: ```
    window.onload = WebChat.open; (this was use in the chat widget version 0.11.5). I want to open the chat widget on page loading

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

      I think you might have to edit inside the script tag. if that doesn't work then you can try out cloning rasa-webchat then try to edit their script directly.

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

    @Droid City Why am i getting this error in command prompt - 'website_integration' is not recognized as an internal or external command,
    operable program or batch file.

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

      Could you give me the command you ran

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

    I am getting blank html page in chrome... No error in console... Tried with 1.0.0 instead of 1.x.x.. still no results... Please advice how to resolve this.

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

      Which version you are using for Rasa. if its greater than 2.4 then use 1.0.1 in rasa-webchat

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

    I just copied the script from rasa-webchat Github and pasted it into an HTML file (outside my rasa project). However, nothing is visible when I run it. No widget at all. Is this supposed to happen?

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

      Hi there, could you please tell me which Rasa version you are using and if it is > 2.4 then use the 1.0.1 webchat version. Also, I have created an error tutorial on this please do have a look

  • @haninnafiah9493
    @haninnafiah9493 2 ปีที่แล้ว

    Hi sir, I face an error while I open and chat with rasa.... the webchat couldn't open the image to cheer up? also I cant put customized the bot profile :((

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว +1

      Were you connected to internet? And what error did you received. Please add complete error.
      You can join discord server for more help since, I won't be able to see images here

    • @haninnafiah9493
      @haninnafiah9493 2 ปีที่แล้ว

      oke sir

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

    I have implemented the script and bot is giving response but ,when I open my index.html file instead of giving initpayload it is showing me the last conversation. Session persistence : false but still the bot is giving me the last conversation instead of initpayload everytime

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

      Yes so its browser cache, to clear it you will have to use below code when website's load:
      window.localstorage.clear()
      window.onload()

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

    very nice. how to clear chat history? even if i refresh the page, close the tab, close the browser, restart the server, the chat history is there. how to set param?

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

      Thanks, so for clearing chat history you will have to run following code snippet.
      window.localstorage.clear()
      This will clear the chat history.
      Also you want when it reloads so check on google how to check page reloads that will be inside if

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

    hi, how to clear the whole chat if we want to start from starting.

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

      Please have a look at Pinned comment it will help you out

  • @vysakht6171
    @vysakht6171 ปีที่แล้ว

    Hi, Thank you very much for this wonderful video...Was Able customize the bot UI...Also I need to know how we can pass a auth token of a website through the bot UI script and how can I receive that in actions.py file?

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

      Hi Thanks for your feedback, I am glad it helped you.
      To pass any data from website to bot you have to trigger a intent followed by entity data which looks as below:
      /greet{"auth_token":1234}
      Above message to assistant will set entity auth_token as 1234 but you will need slot to capture and keep this value memorized

    • @vysakht6171
      @vysakht6171 ปีที่แล้ว

      @@DroidCity Thanks a lot for u r reply.

  • @zhaoqingen4302
    @zhaoqingen4302 2 ปีที่แล้ว

    thanks,very clear!

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

    thank you so very much...thank you!!!
    can you also tell how to clear or restart chats from here?

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

      It's my pleasure,
      Answer: you will have to add button inside your html code or in widget code where when you click it will send payload to bot to restart and to clear just add following code inside widget script:
      {"storage":"session"}

  • @려해앵
    @려해앵 3 ปีที่แล้ว

    Very nice introduction but how to add voice chatbot on this template? Thank you!

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

      Voice chatbot isn't supported on webchat, but yes you can try out yourself with mozilla deepspeech

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

    Amazing work....Thanks

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

    Hi, thanks for the great video. How can we store the conversations?

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

      Use tracker store it will help you. You can check out docs on rasa.com

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

    Nice! Can you tell me how can I make it custom? Can we connect over linked in or mail to discuss if you have time?

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

      Sure mail me, at droidcity0@gmail.com and will help you out also I am on instagram as droidcity0

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

      @@DroidCity Hey, I texted on the instagram ID mentioned in description are you active there? Or should I mail you?

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

      I am I will reply you soon

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

    How do you after changing the code implement it/ check whether it is working /train the bot?

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

      Can you please elaborate a bit?

  • @mehedihasanshihab7869
    @mehedihasanshihab7869 2 ปีที่แล้ว

    How can I install rasa version 2.1.2 ???
    Now I am in the latest version 3.1.0
    should I specicy the version like version=2.1.2 while installing Rasa ??

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว +1

      Yes you can specify it other than that option is to do pip install --uograde rasa==2.1.2

    • @mehedihasanshihab7869
      @mehedihasanshihab7869 2 ปีที่แล้ว

      @@DroidCity tnx 😍

  • @kukkuankit8328
    @kukkuankit8328 2 ปีที่แล้ว

    i want to store user responses inside my database....how would i do that...

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Use tracker store which has to be configured inside endpoints.yml

    • @kukkuankit8328
      @kukkuankit8328 2 ปีที่แล้ว

      @@DroidCity thanks

  • @rohitvishwakarma2871
    @rohitvishwakarma2871 2 ปีที่แล้ว

    How to pass a JWT payload in this frontend code? I need it for authenticating my socket io channel connection

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Send it as custom payload in webchat and then extract it from channel in rasa. If you still struggle let me know

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

    I am trying to integarte it with git and use it in my website

  • @divithaelugoti3292
    @divithaelugoti3292 2 ปีที่แล้ว

    very helpfull, thank you

  • @gowthambhat1498
    @gowthambhat1498 2 ปีที่แล้ว

    is it possible to recive files from chatbot like pdf,word doc?

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Yes it is possible but for that widget should support attachments and also you will have to pass it as metadata from widget to rasa

  • @kdhiraj9608
    @kdhiraj9608 10 หลายเดือนก่อน

    I have created rasa in c drive and I followed same procedure but not
    Getting output. Could anyone help me?

  • @Amol175
    @Amol175 2 ปีที่แล้ว

    I am getting error for rasa 2.7 version please help me and how to integrate it in react

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Hi, can you please share the error log? So I can help you out

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

    Hii bro. But the old message appears after reloading it or reopening the tab. What to do ?

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

      Hi, you will have to add a script to remove messages when it loads. For doing so, you can add localStorage.clear() to clear messages. Other than this is just javascript so please have a look on google you will be able to find.
      If you still have doubts feel free to ask

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

      @@DroidCity Thanks bro

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

    @Droid City, I have a new error in my cmd : rasa run: error: invalid choice: 'models' (choose from 'actions')

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

      What command you ran

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

    very nice video. would like to know , how to integrate it with an existing website ? ant help would be of gr8 help. thanks

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

      Same procedure, just add the script tag and you are good to go..

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

      @@DroidCity Hi, I am facing issue of connection timeout while loading index.js, rasa version is 2.1.0 , what could be the reason ?

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

      Is the url correct? Because if you give localhost then it won't work

  • @hrithikneogi4520
    @hrithikneogi4520 2 ปีที่แล้ว

    Hey can you please make a video on how to integrate the same in Rasa 3 .. please it will be helpful stuck in a project

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Hi, sure will do, btw what errors are you facing?

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

    thanks it helped alot

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

    Thank you for this video

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

    Hey it worked fine with local host 5005 , but when I used ngrok at port 5005 to use my pc as server to the internet, it gave error in console.. Why?

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

      What was the error?

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

      i mailed you the error with screen shot , pleeaase check

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

      I have

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

    hi , thank you for the tutorial , i'v made the widget to showup but when i write a mesage it is not responding, guess it is not connected to my rasa bot even though i launched the command rasa run -m models --enable-api --cors "*" credentials= true , can you please help me ?

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

      Check if your model is trained in same rasa version as you are currently running in. Or try to delete the model and train bot again

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

      @@DroidCity it worked ! thank you

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

      Glad to hear that

  • @rakeshjanapareddy991
    @rakeshjanapareddy991 ปีที่แล้ว

    hi bro, how to add file uploader button

    • @DroidCity
      @DroidCity  ปีที่แล้ว

      Hi, inside botfront's webchat this functionality is not present. You will have to add that feature by cloning the webchat code.

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

    thanks you sir

  • @chamweiyang6365
    @chamweiyang6365 2 ปีที่แล้ว

    May I ask how can I restart the conversation?

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

      /restart

    • @chamweiyang6365
      @chamweiyang6365 ปีที่แล้ว

      @@DroidCity Where should I put /restart? It's inside stories.yml become 'action' or js code?

    • @DroidCity
      @DroidCity  ปีที่แล้ว

      No no, just send text message to rasa as /restart it will restart session/conversation in rasa

    • @chamweiyang6365
      @chamweiyang6365 ปีที่แล้ว

      @@DroidCity It's does not works, it's possible can I chat with you?

    • @DroidCity
      @DroidCity  ปีที่แล้ว

      Please join discord server i can help you better way.

  • @shivamsingh-jp7eq
    @shivamsingh-jp7eq 3 ปีที่แล้ว +4

    Thanks brother for your help, you explained it beautifully. Please bring tutorials like these in the future too.

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

      Sure will do. I am glad you liked this. Feel free to add suggestion for any tutorial you would like to see!

    • @shivamsingh-jp7eq
      @shivamsingh-jp7eq 3 ปีที่แล้ว

      @@DroidCity Hey, can you please tell me how to implement this chatbot on some websites other than a local HTML file, like some websites having any domain name.

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

      It's same you just have to publish it on GoDaddy or any hosting platform. It's just script na

    • @shivamsingh-jp7eq
      @shivamsingh-jp7eq 3 ปีที่แล้ว

      @@DroidCity I don't know much about webpage coding except HTML basics, so can you tell how this chatbot can be implemented if someone has made a webpage using a language other than HTML like PHP, javascript, or CSS

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

      Hi, this is great doubt, but to create a website or a webpage you need html even for a bit then too. So without html there isn't any website.

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

    Can you make video on human handoffs

    • @DroidCity
      @DroidCity  3 ปีที่แล้ว +2

      Sure will do. I am in process of making them

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

    Thank you

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

    Nice Explanation , can you post the video on triggers, Very nice introduction, thank you!

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

      are you talking about trigger intents?

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

    The client is using an unsupported version of the Socket.IO or Engine.IO protocols (further occurrences of this error will be logged with level INFO)
    facing this error
    Rasa Version : 2.5.1
    Minimum Compatible Version: 2.2.0a1
    Rasa SDK Version : 2.5.0
    Rasa X Version : None
    Python Version : 3.6.8
    Operating System : Windows-10-10.0.18362-SP0
    Python Path : c:\users\sumans3\appdata\local\programs\python\python36\python.exe
    which version of socketio and engineio should i use

    • @DroidCity
      @DroidCity  3 ปีที่แล้ว +2

      Change the socketio and engineio versions as I showed in the error tutorial
      Link: th-cam.com/video/B1Z-lM7daAg/w-d-xo.html

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

      @@DroidCity thank you, error is fixed, looking forward to more videos!😄

  • @abhim4nyu
    @abhim4nyu 2 ปีที่แล้ว

    Thanks for this tutorial. I want to implement custom conversations with the bot. I have added the necessary code in the yml files for implementing forms and slots, but I'm unable to get it running on the website. Please assist.

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Does it run on rasa shell?

    • @abhim4nyu
      @abhim4nyu 2 ปีที่แล้ว

      @@DroidCity It does, I am getting websocket error and the action server log is empty.

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      What is the socket error you are getting? Please join discord and add your query since I won't be able to help you completely here

    • @abhim4nyu
      @abhim4nyu 2 ปีที่แล้ว

      @@DroidCity Surely, let's connect there. (y)

  • @vedhamoorthy2000
    @vedhamoorthy2000 2 ปีที่แล้ว

    How to run the chatbot in a different port?

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว +1

      By adding flag --port $PORT

    • @vedhamoorthy2000
      @vedhamoorthy2000 2 ปีที่แล้ว

      @@DroidCity where to execute this command

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Where do you think?

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

    How to deploy this website with heroku

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

      Quick teaser: it's coming within next week. Stay tuned!

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

    It doesn't work for me. I use rasa 2.8.1, please can you help me?

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

      Can you share what errors you are getting?

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

      @@DroidCity I dont get any error, I use the same version. My webpage is opening but its a blank page and I cant find the widget.

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

      Try checking console by doing inspect there you will see error

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

      @@madhumithamuthukumar4094 exactly

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

      Dilane try checking out inspect bcoz javascript error doesn't show up in terminal it gets shown in inspect section

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

    how to restart bot every time when in open link it also shows previous chat

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

      So you want to clear previous chats?
      Yes then, just write a script like following
      window.localstorage.clear() this should be done when page is reloaded or refreshed so make sure to add that condition too

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

      @@DroidCity thanks

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

      @@rishabhsharma3357 can you help me with that please?

  • @ashishkumar-fd4gp
    @ashishkumar-fd4gp ปีที่แล้ว

    where i can find this code??

    • @DroidCity
      @DroidCity  ปีที่แล้ว

      You can find it in description

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

    Hello how can i clear chatbot conversation history?

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

      local.storage.clear() this will help you

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

      @@DroidCity may i know add the script at which line?

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

    hey, i need to add buttons to the conversation , and make it show up in the widget ,i knew you can make buttons with rasa x , is it possible to add buttons to this script ? thank u

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

      Nope that's not possible to keep and change button on each conversation. But you can keep on button for something special or important. Like talk to human

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

      @@DroidCity yea the button i want to add is for the voice bot, when u press on it , u start talking to the voice bot, i'v already made the voice bot in my local i just need to integrate it with it, do u think it's possible ?

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

      Yes you will have to tweak the class where message is typed you can check that by doing inspect. And then add your button too via html. If you are good at react js then I would say clone their repo and make your own widget

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

    Bro, I am not able get that html output I am getting blank html page could you help me on this?

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

      Could you tell me what kind of error you are getting? Also, I have added a video, on website integration errors solutions

    • @mahima6936
      @mahima6936 2 ปีที่แล้ว

      @@DroidCity updated socketio==4.6.1 but still same error "xhr poll error" also watched ur error solution video nothing helped

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Hi which version of rasa you are using?

    • @mahima6936
      @mahima6936 2 ปีที่แล้ว

      @@DroidCity rasa 2.1.2

    • @mahima6936
      @mahima6936 2 ปีที่แล้ว

      Can u check if it is working for u or not.. coz my html page is blank and has error

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

    This video very useful. I am waiting for the video for the integration of rasa chatbot with realtime application. Hope you are already working on it 🙂

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

      Can elaborate on realtime application?

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

      @@DroidCity yes, actually I am trying to integrate it with a web application , like Facebook (which is password protected)

    • @DroidCity
      @DroidCity  3 ปีที่แล้ว +2

      Oh haan, I am working on it. Soon that will be out too 🙂

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

    i used, all the same, said in the tutorial but not able to see the chatbox.
    Rasa Version : 2.1.2
    Rasa SDK Version : 2.3.1
    Rasa X Version : None
    Python Version : 3.7.5
    Operating System : Darwin-20.3.0-x86_64-i386-64bit
    Python Path : /opt/anaconda3/envs/rasa-2-1-2/bin/python
    I am using MacOS, is that a problem?

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

      getting this error in consol of the browser
      net::ERR_SSL_PROTOCOL_ERROR

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

      Did you add https in the url?

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

      @@DroidCity do you mean file address url,
      if you meant he script tag then yes https is present
      this is my repo for reference
      github.com/vaibhavkri/Rasa-Init

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

      I will clone this repo and test what's happening, and let you know

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

      @@DroidCity hey it worked now, i had to clear cache of my browser

  • @gamez447
    @gamez447 2 ปีที่แล้ว

    How to reduce rasa voice playback speed

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Where you have integrated voice? Is it webchat?

    • @gamez447
      @gamez447 2 ปีที่แล้ว

      @@DroidCity React-based Chatroom Component for Rasa Stack

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Sorry for late reply, I have not used that so cant help with it

    • @gamez447
      @gamez447 2 ปีที่แล้ว

      @@DroidCity thank you

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

    Hi I'm not able to see the chatbot on my chrome screen could you guide me for the same?

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

      What's the error in website console?

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

      @@DroidCity website console error : Failed to load resource: net::ERR_CONNECTION_REFUSED and the chatbot icon itself is not visible.

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

      Show me credentials and script tag content. I think anyone of them is incorrect. In credentials.yml check for indentation

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

      @@DroidCity Checked both they're fine. I've sent the files in your e-mail. Could you kindly check and let me know.

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

      Hi I did check your mail. Can you try to reposition socketio code before rasa: I would say just replace the commented socketio code with yours

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

    time saviour

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

    how to use custom action

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

      You can use it to do anything that python can do and make chatbot experience great.

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

    i have not get the widget to start chat

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

      Can you check errors in console, by doing inspect element on website?

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

      @@DroidCity Finaly it worked. there was some coding error inside but managed somehow, thanks btw..

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

      @@azizulhakim9725 Could you tell me how you rectified this error, please.

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

    Can you post a similar tutorial for a real-time website?

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

      Let me know if I am wrong, are you talking about, a tutorial on chatbot integration on the hosted website?

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

      @@dishantgandhi6007 yes bro

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

      Yeah so I am working on it will add a video for that too, soon and also provide testing link👍

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

      @@DroidCity Please do

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

      Sure!👍

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

    How do i get data in actions.py if i pass in customData?

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

      You will have modify connector and then you can pass it in metadata and access it via events in custom actions

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

      Yeah sure will do. Also you can follow me on instagram there I often post this kind of tricks too.
      Id: droidcity0

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

    Bro firstly great job with the video as well as the explanation... Thanks :D... I got the widget to run successfully.. however I need the same widget in full screen on the webpage upon load itself... How can I achieve this? I know there's a button which we can enable and go to full screen mode.. but I want it to load in full screen mode automatically... Please help..

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

      There will be styling for that trying to set width and height to 100%. Let me know if you face any issue, it works or not

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

      @@DroidCity Hello... I'm using .rw-widget-container .rw-chat-open{height: 100%; width: 100%} but still I'm not able to open the chat in full screen mode upon load itself.... Full-screen option is working fine.. no problem there.. but I want the chat to open in full screen mode by default on the webpage.. can you help me with the code for it... Thanks :)

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

      I will try doing it on my end and reach out give me like 1 day to try that out.

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

      @@DroidCity Sure no problem... Thank you so much for the help 🙏

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

      Hi, I was able to make it full screen you have to make widget and container both height and width 100% also make max-height to none

  • @knight207
    @knight207 2 ปีที่แล้ว

    thanks

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

    how can I clear my chat?

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

      Add this into your script when website loads
      window.localstorage.clear()
      For checking when website loads:
      window.onload()

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

      @@DroidCity it does not work

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

      @@dilanekamga9815 What error or anything that would tell me what happens? Also, comments won't help in figuring out error, I would recommend to join discord server so I could help you properly

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

      @@DroidCity I solve this problem, You can just add this after subtitle params: {"storage": "session"}

  • @mortezaaliyari1055
    @mortezaaliyari1055 2 ปีที่แล้ว +1

    Hi,
    Thanks for your useful video. How can I have access to the rasa response inside the HTML file and send it to my own robot?

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว +1

      You can achieve that by using javascript requests and request Rasa assistant by calling either HTTP endpoint or socketio endpoint

    • @mortezaaliyari1055
      @mortezaaliyari1055 2 ปีที่แล้ว +1

      @@DroidCity Is it possible to show me an example or Github project? I couldn't find anything about this issue... thanks alot

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Hi, you can check on Google about who to send http request in js, since I am not JS developer I can't help you with the coding but can guide you to right place (logic for achieving is same)

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

    Great video, could you make a tutorial about how to integrated it with react as react component?

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

      Tbh, I am not a react developer so I won't be able to promise that I can do that. But yeah I could try someone who knows could teach

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

      @@DroidCity Thank you so much!

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

      @@DroidCity I success figure out how to integrate it with react, anyway, thank you!

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

      Can you share it here?

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

      @@DroidCity i can, but it needs a lot explain that hard to type in text. i will try to upload to git hub that let people see it

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

    hi thanks for your video i aws desesperatly searching for one
    unfortunatlu i have some issue with socket io could u help me please ?
    when i run the rasa run command, i have this error in my terminal
    " AttributeError: 'AsyncServer' object has no attribute 'generate_id' " anything ??

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

      I am glad you found this helpful, BTW Which version of python-socketio you are using?
      And try to run rasa run -m models --enable-api --cors "*"

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

      @@DroidCity the last for both rasa and python-socketio

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

      Okay you can try following:pip install python-engineio==3.13.2
      pip install python-socketio==4.6.1
      These are the version which are not having any issues while connecting with webchat so this might help you

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

      @@DroidCity ok i will try it and i will come back
      I am using rasa 2.3.4

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

      Yeah with that version of Rasa socketio of 5.x is not working also engineio too

  • @trangphamquynh6744
    @trangphamquynh6744 2 ปีที่แล้ว

    Hi! Thank you for your video. I have managed to run the
    rasa run -m models --enable-api --cors "+"
    however, the cmd showed a warning like this
    UserWarning: Converting sparse IndexedSlices(IndexedSlices(indices=Tensor("gradients/cond_1_grad/Identity_1:0", shape=(None,), dtype=int64), values=Tensor("gradients/cond_1_grad/Identity:0", shape=(None,), dtype=float32), dense_shape=Tensor("gradients/cond_1_grad/Identity_2:0", shape=(1,), dtype=int32))) to a dense Tensor of unknown shape. This may consume a large amount of memory.
    warnings.warn(
    Therefore, in the HTML file the chat icon did not appear. Please help, thank you!!

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว +1

      Hi Trang, inside inverted commas the symbol is asterisk and not plus. Try changing it and it should work

    • @trangphamquynh6744
      @trangphamquynh6744 2 ปีที่แล้ว

      @@DroidCity Thank you! I have manage to set it up. I want to ask can I deploy this on github page or heroku so that the project can run online instead of locally? Thank you!

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว +1

      I have made a video on it. Its deploying on cloud for free. And yes you can add it on your GitHub after you have deployed it on cloud

    • @trangphamquynh6744
      @trangphamquynh6744 2 ปีที่แล้ว

      thank you so much! im watching it right now 😅

  • @sumittripathi12345
    @sumittripathi12345 2 ปีที่แล้ว

    hi, video is very helpful, but still i m not able to integerate with website. i am getting this message only. "Hello from Rasa: 3.2.10"

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Hi, you can't use the localhost:5005 directly on browser. You have to add that url inside webchat and run that html file for chatting with assistant

    • @sumittripathi12345
      @sumittripathi12345 2 ปีที่แล้ว

      Hello,
      I want to understand it and need details about it.
      It will be a great help if you can help me and suggest me some course.

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Hi, sorry for delay, this process is simple, i dont have any course in mind that can help you with this but add your issue on Droidcity Discord i will try to answer them.

  • @bandarulakshminaidu8062
    @bandarulakshminaidu8062 4 หลายเดือนก่อน

    i have followed all the steps but at running index.html file no output is cmg please guide me for this

  • @baskarp102
    @baskarp102 2 ปีที่แล้ว

    Hi , you have changed credentials.yml file . but you did not train how it's work ?

    • @DroidCity
      @DroidCity  2 ปีที่แล้ว

      Hi credentials and endpoints does not need training it's just needs restating the rasa server

  • @abdulmuizzkelani3760
    @abdulmuizzkelani3760 10 หลายเดือนก่อน

    Thank you for this.