-
Notifications
You must be signed in to change notification settings - Fork 1
Enabling the AI Chat Component
Hiroki Terashima edited this page Oct 21, 2024
·
4 revisions
WISE allows creating components to connect to AI endpoints like OpenAI API in our "AI Chat" component. This page describes how to set up the connection and start using AI Chat component in your units.
Note that you must be an admin user, or a user with the "trusted author" permission (see below) in order to author the AI Chat component.
- Sign up for an OpenAI API key
- Update the properties settings, and restart WISE. We wrote about which properties to update here - search for "OPENAI_API_KEY".
- Restart WISE. The "AI Chat" component will become available in the Authoring Tool > create new step/add new component.
If you want to grant a non-admin user the ability to add AI Chat components in their units, you must first make them a trusted author.
- Log in as admin and go to the admin home page (
https://url_to_wise/admin
) - Find the teacher using the "Find Teacher" link or "List All Teachers" link
- Click on the "Manage User Roles" link
- Check the "ROLE_TRUSTED_AUTHOR" option
- If the teacher is already logged in, ask them to log out and log back in for the change to take effect