user
@benjaminjones
Multiple chat-bots in one course?
I am working on a project where I want to include multiple chat bots to represent different personalities/people throughout a course.

However, when I seem to add two of the Widget ID's to a Storyline project, it causes the chat-bot to stop working, even though I have changed the variables to differentiate them etc.

Is this feature currently possible or does it only allow you to use on chat-bot per course?
reply
Reply
user
@support
Yes, you should be able to use multiple chatbots. What did you change in the javascript for it to look for variables other than the standard one? If you want to post your updated code, we can check and see what's wrong there.
reply
Reply
user
@benjaminjones
Thank you for coming back to me and confirming it should be possible.

So to explain further, I made two separate AI Chatbots which has given me two unique Widget ID's. I've then used the blank template you provide to incorporate the first chatbot which works perfectly.

I've then duplicated that slide to add the second chatbot in, at which point I've updated the "Execute when timeline starts (JS) trigger" to that of the second chatbots (based on the second downloaded blank template).

I've also updated the Widget ID from the second chatbot which means the variables has two unique Widget ID's.

When I preview this, the first slide and chatbot work as expected. However, when I progress to the next slide where the next chatbot is, this won't generate a response and I'm unsure why as everything is built the same as it was on the first slide, except for the changes to the Widget ID and the JS executed when the slide loads.

So to clarify, I've not updated or changed the code, just looking to use the two Widget ID's to indicate that there are two different chatbots on two different slides. Any help or insight is much appreciated!
reply
Reply
user
@support
Hello,

Please send a link to your story file, we'll check what's wrong there. Thank you!
reply
Reply
user
@benjaminjones
Hi there,

More than happy to send a link to the file over. Do you have an email address I can send this too?

Conscious of providing a link to my G-Drive as this will then be available for all. Please let me know if you have another solution or idea.
reply
Reply
user
@support
Yes, please use either the Contact Us form (link at the bottom of this page) or the Custom Development portal.
reply
Reply
user
@benjaminjones
Brilliant, thank you.

I have now submitted a Contact Us form with details of the case referencing this post, as well as the link to my SL file on G-Drive.

I look forward to a response.
reply
Reply
user
@support
Ben, can you please change the sharing settings of the file to "anyone with the link"? The page currently says "Access denied. Request access, or switch to an account with access."
reply
Reply
user
@benjaminjones
I have now changed the settings to allow anyone to view, however I think I mentioned in the email that access can be requested however I've not received any access requests through.

I hope this now solves the issue and you can view the content. I'll await a further response.
reply
Reply
user
@support
You should have the updated file in email. There were only a few changes:

- Added triggers on slide start to update the variable clabsAnswersWidgetID to the ID of chatbot 1 on slide 1 and to the ID of chatbot 2 on slide 2.

- Deleted variables clabsAnswersResponseMessage2, clabsAnswersUserMessage2, clabsAnswersWidgetID2 - not that it was a wrong approach, just updating the ID seems much easier than updating the javascript code for the chatbot.

I hope this helps.
reply
Reply