Rasa chatbot website integration | Quick tutorial

Поделиться
HTML-код
  • Опубликовано: 18 ноя 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

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

  • @Dont_know_wt
    @Dont_know_wt Год назад +3

    but my chatbot not giving reply? why

  • @kenchang3456
    @kenchang3456 3 года назад +2

    Very nice introduction, thank you!

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

      It's my pleasure ☺️

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

    Your video is really helpful, Thank you

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

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

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

    SUPER AMAZING VIDEO, THANKS A LOT

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

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

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

  • @debabratamaji9559
    @debabratamaji9559 Год назад +1

    html page not working, bot not appearing

  • @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: ruclips.net/video/B1Z-lM7daAg/видео.html. Still you have doubt please add them here or on discord server.

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

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

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

  • @kdhiraj9608
    @kdhiraj9608 10 месяцев назад

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

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

  • @nishmithav730
    @nishmithav730 6 месяцев назад

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

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

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

  • @khalidal-reemi3361
    @khalidal-reemi3361 3 года назад

    very nice tutorial
    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

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

    how to clear chats each time you reload the website

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    thanks,very clear!

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

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

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

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

    Amazing work....Thanks

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

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

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

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

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

  • @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: ruclips.net/video/B1Z-lM7daAg/видео.html

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

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

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

    How to deploy this website with heroku

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

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

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

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

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

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

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

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

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

    time saviour

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

    very helpfull, thank you

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

    thanks you sir

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

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

    Thank you for this video

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

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

    thanks it helped alot

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

    Thank you

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

    May I ask how can I restart the conversation?

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

      /restart

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

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

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

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

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

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

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

      Please join discord server i can help you better way.

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

  • @ashishkumar-fd4gp
    @ashishkumar-fd4gp Год назад

    where i can find this code??

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

      You can find it in description

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

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

  • @려해앵
    @려해앵 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

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

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

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

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

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

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

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

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

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

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

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

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

    thanks

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

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

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

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