I installed rasa open source on ubuntu 18 and when i do the command npm install it gives me this error!!
Hi @Sou90,
Rasa is available in python. You can refer here Getting Started`
@MuraliChandran14 i already installed rasa but i want to install botfront
You can refer to this botfront. which is a separate product and its not from rasa.
i’m using the same documentation, it works with rasa doesnt it?
Yes, You will be changing socketurl in botfront to match the port where rasa running.
@MuraliChandran14 and how can i do it please? because i have a problebme when i type command botfront up it gives me an error : could not download docker image what is the solution please
Hi @Sou90,
Correct me if I am wrong here. Are you planning to enable a bot in webpage using a frontend like angularJs, reactJs, or fb like that or build frontend by yourself?.
@MuraliChandran14 I want to create a chatbot for a website and i have to add fb too, and i’m still beginner in this and i don’t exactly know from where to start because i want to deploy it with an interface it seems more easy and very quick
Alright, I understand now.
Before you have started training your model.
you have to enable
socketio:
in credentials.ym
l and type user_uttered, bot_uttered if its none
and action_endpoint in your endpoint.yml
for custom actions
If you want to use botfront
as front end go here botfront
copy the script tag and create a html
file locally in your drive and create a html
like this
Then run your bot using command rasa run -m models --enable-api --cors "*" --debug
.
This command will let your bot run on a port http://localhost:5005
.
Go to your html file and change the socketUrl to the bot running port
.If you are using custom action
s simultaneously start it by calling the command
rasa run actions --debug
, In a separate cmd prompt. Click the .html and you can start talking with your bot with an interface.
For facebook integration you can refer here
thanks a lot