Forum Discussion
Chat Bot
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