I am using azure instance and and installed rasa open source .I want to add chatbot to my website. 1- So what i did was making the changes in credentials.yml.
socketio:
user_message_evt: user_uttered
bot_message_evt: bot_uttered
session_persistence: true
rasa:
url: "http://34.125.200.140/api"
2- After that add the script in my index.html
<script>!(function () {
let e = document.createElement("script"),
t = document.head || document.getElementsByTagName("head")[0];
(e.src =
"https://cdn.jsdelivr.net/npm/rasa-webchat@1.0.0/lib/index.js"),
// Replace 1.x.x with the version that you want
(e.async = !0),
(e.onload = () => {
window.WebChat.default(
{
initPayload: '/greet',
customData: { language: "en" },
socketUrl: "http://34.125.200.140",
// add other props here
},
null
);
}),
t.insertBefore(e, t.firstChild);
})();
</script>
3- rasa run -m models --enable-api --cors "*"
Bot is still not there, Guide me with suitable solution code please.