Forum Discussion
Chat Bot
Hey everyone! I'm looking for a way to do an assessment in which the learner has to ask certain questions in a chat-type setting as if they were talking with a customer in preparation for an equipment install. I then need to provide the learner feedback afterwards as to how well they did in the conversation asking all the appropriate questions. Does anyone have any experience creating a chat bot or something similar? Any templates? Thanks in advance!
2 Replies
- SBP_IncCommunity Member
I've used a combination of a web object to a commercial chatbot web service, combined with a bit of custom javascript to receive the chatbot responses and run them through clients' custom criteria and evaluation formulas. I'm curious if others have found a more native SL solution.
Wish things were a bit more native in SL but its possible with a bit of advanced skills. I'd share a working example but clients don't permit sharing with the learning community.
One more idea I've used - creating a slide with multiple layers to progress through the pre-assessment "wizard" style, collecting the responses in variables, then use a similar technique at the conclusion, compare responses and use some triggers and scripting to evaluate and populate a "Recommendations" type results slide - ArthaLearning01Community Member
Hi Amanda.
We've done this for many clients. You first need to establish a secure API connection from your storyline modules to your chosen LLM. Use JavaScript and a server setup for this so you don't expose your api key.
Once you have the technical backend setup, rest is simple. -
1. Create a system prompt for AI to act as the customer.
2. For every learner dialogue, append the previous conversation in a JSON or such (as AI API calls are stateless and won't otherwise have memory of last dialogue )
3. When conversation finishes, send a new system prompt for AI to now act as a coach and send it conversation transcript and any framework/rubric to consider.
That's it!!! If you'd like to see an example, send me an email at aiready@arthalearning.com.
Garima Gupta.
Related Content
- 8 months ago
- 3 months ago
- 27 days ago