can you check this video url by replacing it https://security.dimabusiness.com/img/icon/Dima_video.mp4
@KhalidBentaleb Its not working for me I donât know why?
Can you show me any screenshot?
@KhalidBentaleb, youâre welcome, glad to help
utter_dns_work:
- text: "Here is the video:"
attachment: { "type":"video", "payload":{ "src": "https://security.dimabusiness.com/img/icon/Dima_video.mp4" } }
It works for me, which version rasa are you using ?
rasa 1.9.3 rasa x 0.27.2
Ok I will check it now.
I donât have that if block for video in my script.js file only image,buttons and custom messages only.
So you have to use this Github Repo @JiteshGaikwad :
Yes, now its working fine. Thank you
@skjainmiah you are welcome
hi, i have a questionâŚ
how do I dynamically insert data for the chart? ⌠I would like the data to be read for example in slots (ticket and tclosed). I tried to write like that but it doesnât work. where am i wrong?
utter_xxxx:
-
text: âHere a chartâ
custom:
payload: chart
data:
title: esempio labels: - x1 - x2 backgroundColor: - "#36a2eb" - "#ffcd56" chartsData: - slot{'ticket': 10} - slot{'tclosed': 10} chartType: pie displayLegend: 'true'
@JiteshGaikwad hi bro iâve used your collapsible widget exactly the same itâs not working can you please help me out!!
if (val[i].hasOwnProperty(âcustomâ)){
//check if the custom payload type is "cardsCarousel"
if (val[i].custom.payload == "cardsCarousel") {
restaurantsData = (val[i].custom.data)
showCardsCarousel(restaurantsData);
return;
}
//check of the custom payload type is "collapsible"
if (val[i].custom.payload == "collapsible") {
data = (val[i].custom.data);
//pass the data variable to createCollapsible function
createCollapsible(data);
}
function createCollapsible(data) {
//sample data format:
//var data=[{"title":"abc","description":"xyz"},{"title":"pqr","description":"jkl"}]
list = "";
for (i = 0; i < data.length; i++) {
item = '<li>' +
'<div class="collapsible-header">' + data[i].title + '</div>' +
'<div class="collapsible-body"><span>' + data[i].description + '</span></div>' +
'</li>'
list += item;
}
var contents = '<ul class="collapsible">' + list + '</uL>';
$(contents).appendTo(".chats");
// initialize the collapsible
$('.collapsible').collapsible();
scrollToBottomOfResults();
}
@ahhirsha, can you show me the browser console logs?
@ahhirsha can you please post the browser console logs, I mean the Chatbot widgetâs html page browser logs.
@JiteshGaikwad please have a look and let me know if iâm wrong somewhere or missed something.
thanks in advance