-
Notifications
You must be signed in to change notification settings - Fork 8
Chatbots
If you want to use chatbots on your course, contact the MOOC Center staff who can enable them for you. If chatbots are enabled on the course, the chatbot settings can be found by clicking the 'Other' tab.
Here you can manage the chatbots that exist for the course.
Instructions for MOOC Center staff only.
To be able to use a chatbot on a course, it has to be enabled in the course settings ("Manage course" page) via the Edit button. To enable, check the box that says "Can enable chatbot".

You can create a chatbot by clicking the "Create a chatbot" button. After filling in the name, you can customize it.
- Prompt: The prompt/instructions given to the chatbot. Not visible to students.
- Initial message: The first thing that the chatbot will say to the student when opening a new conversation.
- Enabled to students: If this box is not checked, this chatbot will not be shown in the course material and students can't use it.
- Hide citations: If this box is not checked, the chatbot's information sources will be displayed as informal citations in the chat messages. The chatbot can cite material if "Azure search" is enabled (see below).
- Token settings: A token is an unit of text (like a letter). Chatbot usage is measured with tokens. You can control how much the students use the chatbot and set a maximum length for a single chatbot response.
- Presence penalty: Setting a high value here will make it more likely that the chatbot will talk about new topics and won't repeat what it has already said. A low value will make it more likely that the chatbot will stay on topic.
- Frequency penalty: A high value will make it less likely that the chatbot will repeat the exact same words/sentences.
- Temperature: A high value will make the chatbot's answers more random or novel, and lower values will make them more on-topic and deterministic (get nearly the same answer when using the same question).
- Top p: Essentially the same as temperature, but using different methods. It's recommended that you don't set both temperature and top p at the same time.
- Azure search: This setting allows the chatbot to process or "read" the course material pages and reference it when forming a reply. If citations are enabled, the chatbot can also cite the course material.
- Semantic reranking: This setting can improve the relevance of the material pages that the chatbot processes and references when generating a reply.
The course can have one default chatbot. When a chatbot is set as the 'default', it will appear in the lower right corner of course material pages as a button, which opens a chat box.
Chatbots can be included within the course material on a course page. In the course management page / settings, select the tab 'Pages' and edit a page to open the page editor.
In the page editor, you can add a block called Chatbot like any other block (if chatbots are enabled on the course).
You can select the chatbot that you wish to let the students use here. The selected chatbot can't be the default chatbot or a chatbot that is not enabled to students. Then, the chatbot will appear in this location on the page.