{"id":6426,"date":"2024-04-09T14:53:18","date_gmt":"2024-04-09T18:53:18","guid":{"rendered":"https:\/\/learndash.com\/support\/docs\/virtual-instructors\/"},"modified":"2026-04-22T10:09:11","modified_gmt":"2026-04-22T14:09:11","password":"","slug":"virtual-instructors-intro","status":"publish","type":"docs","link":"https:\/\/learndash.com\/support\/kb\/resources\/uncategorized\/virtual-instructors-intro\/","title":{"rendered":"Intro to Virtual Instructors"},"content":{"rendered":"\n<p><strong>Virtual Instructors<\/strong> allow you to add an AI-powered assistant to your LearnDash courses that can respond to learner questions as they progress through content. This feature is designed to support instructors by handling common or repetitive questions, giving educators more time to focus on instruction and course design.<\/p>\n\n\n\n<p>This guide walks through enabling Virtual Instructors, configuring global and individual settings, managing language preferences and content restrictions, and understanding how learners interact with the Virtual Instructor on the front end.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-virtual-instructors\">Virtual <a href=\"https:\/\/learndash.com\/support\/glossary\/instructors\/\">Instructors<\/a><\/h2>\n\n\n\n<p>The Virtual Instructors feature helps you create an AI-powered virtual assistant that can answer questions asked by learners while progressing through the Course. Virtual Instructors can share the workload of real-life teachers by responding to common questions, allowing teachers to focus their energy on creating more complex training material.<\/p>\n\n\n\n<p>Please note that we currently do not use contextual AI for Virtual Instructors. This means the virtual assistant works like a real-life classroom teaching assistant who does not have the surrounding context of questions put to them. Off-Topic questions can be answered, but you can restrict the tool from answering certain questions based on a list of banned words.<\/p>\n\n\n\n<p class=\"has-theme-palette-8-color has-theme-palette-1-background-color has-text-color has-background has-link-color wp-elements-49a81b0564468e235323bc316115b76b\"><strong>Note:<\/strong> You may need to include various forms of a banned word. For example, if your banned list includes the word \u201cpotato\u201d in all lowercase, your learner may still work around the banned list by using \u201cp0t@t0\u201d and substituting numbers or signs for letters. You\u2019ll want to include a variety of forms of your banned word, including using numbers or signs in place of letters, such as in \u201cpot@to\u201d.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setting up Virtual <a href=\"https:\/\/learndash.com\/support\/glossary\/instructors\/\">Instructors<\/a><\/h2>\n\n\n\n<p>Virtual Instructors is an experimental feature. To enable Virtual Instructors, go to <strong>LearnDash LMS > Settings > Experiments<\/strong> and toggle on the switch to enable this feature.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click the toggle to enable Virtual Instructors<\/li>\n\n\n\n<li>Click on Save to save your changes<\/li>\n\n\n\n<li>Once enabled, you\u2019ll see the Virtual Instructors<\/li>\n\n\n\n<li>\u00a0menu item under LearnDashLMS<\/li>\n<\/ol>\n\n\n\n<p>Once enabled, a new menu item, <strong>LearnDash LMS > Virtual Instructors, <\/strong>will be added to the Admin menu.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Global Configuration<\/h2>\n\n\n\n<p>Before you start setting up virtual Instructors, go to <strong>LearnDash LMS > Virtual Instructors <\/strong>and click Next to save a few global settings. On the next screen, you will be prompted to enter your OpenAI key.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Creating an OpenAI API key<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Visit the OpenAI site at the following link and log in to your account or sign up for a new one: <a href=\"https:\/\/platform.openai.com\/\">https:\/\/platform.openai.com<\/a><\/li>\n\n\n\n<li>Visit the pricing page to confirm which plan you need: <a href=\"https:\/\/openai.com\/pricing\">https:\/\/openai.com\/pricing<\/a>.<br>We recommend <strong>GPT-3.5-Turbo<\/strong>.<\/li>\n\n\n\n<li>Go to the billing section and add a credit balance based on the subscription plan you choose: <a href=\"https:\/\/platform.openai.com\/account\/billing\/overview\">https:\/\/platform.openai.com\/account\/billing\/overview<br><\/a>You can choose to switch on\/off auto-recharge for your account, set up a payment method, and save other relevant billing-related information.<\/li>\n\n\n\n<li>Next, go to <a href=\"https:\/\/platform.openai.com\/api-keys\">https:\/\/platform.openai.com\/api-keys<\/a> and create a secret key to connect your site to OpenAI&#8217;s services.<br>Copy over the secret key and save it in the field highlighted in the screenshot above on your site. The OpenAI API key can be later updated on your site from <strong>LearnDash LMS > Settings > Advanced > AI Integrations<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p>Save the global configuration, and then you are ready to add a list of comma-separated banned words and the error message that should be shown to users who try to use them.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The Objective of Setting Banned Words<\/h3>\n\n\n\n<p>Due to the wide range of subjects taught and age groups that learners belong to, the banned words list will help site admins protect users from inappropriate content or exclude off-t<a href=\"https:\/\/learndash.com\/support\/glossary\/topic\/\">opic<\/a> questions from being asked. The global banned list can be overridden at the individual <a href=\"https:\/\/learndash.com\/support\/glossary\/virtual-instructor\/\">Virtual Instructor<\/a> level. This will allow you to include more flexibility in the feature.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Setting up Banned Words<\/h3>\n\n\n\n<p>Go to <strong>LearnDash LMS<\/strong> <strong>&gt; Virtual<\/strong> <a href=\"https:\/\/learndash.com\/support\/glossary\/instructors\/\"><strong>Instructors<\/strong><\/a> <strong>&gt;<\/strong> <strong>Settings to set up a banned word list<\/strong>.<\/p>\n\n\n\n<p>The words added in the field provided should be comma-separated. Below the banned words, field, add the error message that should be displayed to users if they enter any of the banned words in their questions. The default message is \u201cOops! We can&#8217;t help you with that question. Please ask your instructor.\u201d<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Language Support<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Configuring Language Preferences for the <a href=\"https:\/\/learndash.com\/support\/glossary\/virtual-instructor\/\">Virtual Instructor<\/a><\/h3>\n\n\n\n<p>To enhance the user experience, the Virtual Instructor can be configured to respond in languages other than English. This customization allows for a more tailored interaction in the user\u2019s preferred language.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Steps to Configure Language Settings<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to<strong> LearnDash LMS > Virtual Instructors<\/strong><\/li>\n\n\n\n<li>Select the desired Virtual Instructor to modify its settings<\/li>\n\n\n\n<li>In the Virtual Instructor settings, locate the <strong>Custom Instruction<\/strong> field. Enter the instruction to specify the desired language for responses. For example, you could enter \u201cPlease respond in Spanish only\u201d as seen in the illustration below.<br><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"91\" src=\"blob:https:\/\/learndash.com\/36371ad5-ac0f-4321-bb99-afe5878320e7\" alt=\"Virtual Instructor Custom Instruction Field\"><strong><em>You can replace \u201cSpanish\u201d with your preferred language.<\/em><\/strong><\/li>\n\n\n\n<li>Optionally, you can refine your language preferences. For example, you could address specific linguistic preferences, such as excluding jargon or avoiding high-sounding, literary language as in the illustration below:.<img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"87\" src=\"blob:https:\/\/learndash.com\/89a22816-3be0-49f8-8215-2ae9f0a8c623\" alt=\"Additonal Custom instructions for Virtual Instructor\"><\/li>\n\n\n\n<li>Finally, click the Update button in the Publish box to save your changes.<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Experience on the Front-end<\/h3>\n\n\n\n<p>A user conversing with the Virtual Instructor will encounter responses on the following lines.<\/p>\n\n\n\n<p>The <strong>Custom Instruction<\/strong> saved was Please respond in Spanish only and avoid using technical jargon or high-sounding words. Note how the response in Spanish uses simple words and short sentences.<\/p>\n\n\n\n<p class=\"has-theme-palette-8-color has-theme-palette-1-background-color has-text-color has-background has-link-color wp-elements-1e2b69289e2027da693d3304dc50e5db\"><strong>Note:<\/strong> The Virtual Instructor does not automatically detect the site&#8217;s current language saved in <strong>Settings > General<\/strong> in WordPress<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Adding\/Modifying Virtual <a href=\"https:\/\/learndash.com\/support\/glossary\/instructors\/\">Instructors<\/a><\/h2>\n\n\n\n<p>After the global settings have been added, go to <strong>LearnDash LMS > Virtual <\/strong><a href=\"https:\/\/learndash.com\/support\/glossary\/instructors\/\"><strong>Instructors<\/strong><\/a> to add your first <a href=\"https:\/\/learndash.com\/support\/glossary\/virtual-instructor\/\">Virtual Instructor<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Individual <a href=\"https:\/\/learndash.com\/support\/glossary\/virtual-instructor\/\">Virtual Instructor<\/a><\/h3>\n\n\n\n<p>Use individual Virtual Instructor settings to customize how a specific Virtual Instructor behaves, what content it supports, and which courses or groups it appears in.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Accessing Virtual Instructor settings<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to <strong>LearnDash LMS \u2192 Virtual Instructors<\/strong>.<\/li>\n\n\n\n<li>Click <strong>Edit<\/strong> next to an existing Virtual Instructor, or click <strong>Add New<\/strong> to create a new one.<\/li>\n\n\n\n<li>(Optional) Click <strong>Select Image<\/strong> to choose an avatar for the Virtual Instructor.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Adding custom instructions<\/h3>\n\n\n\n<p>Use the <strong>Custom Instructions<\/strong> field to control how the Virtual Instructor responds to learner questions. These instructions are <strong>not visible to learners<\/strong> and are used only by the AI when generating responses.<\/p>\n\n\n\n<p>For example, you might instruct the Virtual Instructor to guide learners instead of providing direct answers.<\/p>\n\n\n\n<p><strong>Example instruction:<\/strong><br><em>Don\u2019t give direct answers; instead, provide a clue.<\/em><\/p>\n\n\n\n<p><strong>Resulting behavior:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Learner asks:<\/strong> <em>What is 2 + 2?<\/em><\/li>\n\n\n\n<li><strong>Virtual Instructor responds:<\/strong><br><em>To find the sum of 2 + 2, you can combine two groups of 2 items each. Think about how you can represent this visually to arrive at the answer.<\/em><\/li>\n<\/ul>\n\n\n\n<p>Without this instruction, the Virtual Instructor would respond with a direct answer:<br><em>2 + 2 equals 4.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Associating courses and groups<\/h3>\n\n\n\n<p>Next, choose where this Virtual Instructor should be available:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Courses<\/strong>: Use the toggle to apply the Virtual Instructor to <strong>all courses<\/strong> or only <strong>specific courses<\/strong>. If selecting specific courses, type each course name into the <strong>Associated Courses<\/strong> field and press <strong>Enter<\/strong>.<\/li>\n\n\n\n<li><strong>Groups<\/strong>: Use the same toggle and selection process to associate the Virtual Instructor with <strong>all groups<\/strong> or <strong>specific groups<\/strong>.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Overriding banned words and error messages<\/h3>\n\n\n\n<p>You can override the <strong>global banned words list<\/strong> for an individual Virtual Instructor by adding a custom list in the fields provided. You can also define a <strong>custom error message<\/strong> to display when a learner submits a question containing a banned word, replacing the globally configured message.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Publishing changes<\/h3>\n\n\n\n<p>If caching is enabled on your site, click <strong>Purge from cache<\/strong> in the <strong>Publish<\/strong> box before clicking <strong>Publish<\/strong> or <strong>Update<\/strong> to ensure your changes are applied correctly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Using a <a href=\"https:\/\/learndash.com\/support\/glossary\/virtual-instructor\/\">Virtual Instructor<\/a> in a <a href=\"https:\/\/learndash.com\/support\/glossary\/course\/\">Course<\/a><\/h2>\n\n\n\n<p>The <a href=\"https:\/\/learndash.com\/support\/glossary\/virtual-instructor\/\">Virtual Instructor<\/a> linked to Courses and Groups will appear on the front-end in the bottom right corner of the content pages. Learners can ask questions related to the <a href=\"https:\/\/learndash.com\/support\/glossary\/lesson\/\">Lesson<\/a> or <a href=\"https:\/\/learndash.com\/support\/glossary\/topic\/\">Topic<\/a> content while they study it. If the learner asks a question based on a banned word, the error message you set will be displayed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Custom Instructions<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Configuring the Subject Definition<\/h3>\n\n\n\n<p>You can limit what the <a href=\"https:\/\/learndash.com\/support\/glossary\/virtual-instructor\/\">Virtual Instructor<\/a> will talk about when asked questions. This, too, will need to be enforced through the Custom Instruction feature.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Frequently Asked Questions<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-a-message-stating-error-you-didn-t-provide-an-api-key-has-appeared-what-am-i-missing\">A message stating \u201cError: You didn\u2019t provide an API key\u201d has appeared. What am I missing?<\/h3>\n\n\n\n<p>Your OpenAI API key may be invalid or expired. Please visit <a href=\"https:\/\/platform.openai.com\/api-keys\">https:\/\/platform.openai.com\/api-keys<\/a> to create a new key or add adequate credits to your account to ensure you can use their service. Please refer to the section Creating an OpenAI API key to know more.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-is-virtual-instructors-free\">Is Virtual <a href=\"https:\/\/learndash.com\/support\/glossary\/instructors\/\">Instructors<\/a> free?<\/h3>\n\n\n\n<p>No. While the code itself is free and open source, as it uses OpenAI to process the questions, you need to add credits to your OpenAI account for it to work.<\/p>\n\n\n\n<p>The OpenAI account owner who sets the key can see the number of tokens (responses sent by the VI) but cannot see the questions being asked, nor the answers being given. For setup instructions, see the section <em>Creating an OpenAI API key<\/em>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-can-the-instructor-or-admin-view-the-questions-asked-by-the-students-users\">Can the instructor or <a href=\"https:\/\/learndash.com\/support\/glossary\/admin\/\">Admin<\/a> view the questions asked by the <a href=\"https:\/\/learndash.com\/support\/glossary\/students\/\">Students<\/a>\/users<\/h3>\n\n\n\n<p>No, the OpenAI account owner who sets the key can see the number of tokens (responses sent by the VI) but cannot see the questions being asked, nor the answers being given.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-if-a-course-belongs-to-more-than-one-virtual-instructor-s-associated-courses-groups-which-virtual-instructor-setting-will-be-used\">If a <a href=\"https:\/\/learndash.com\/support\/glossary\/course\/\">Course<\/a> belongs to more than one virtual instructor&#8217;s associated courses\/groups, which <a href=\"https:\/\/learndash.com\/support\/glossary\/virtual-instructor\/\">Virtual Instructor<\/a> setting will be used?<\/h3>\n\n\n\n<p>Here is the list of priorities in order:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Specific <a href=\"https:\/\/learndash.com\/support\/glossary\/course\/\">Course<\/a> setting<\/li>\n\n\n\n<li>Specific group setting<\/li>\n\n\n\n<li>Global group setting (Applied to all groups)<\/li>\n\n\n\n<li>Global <a href=\"https:\/\/learndash.com\/support\/glossary\/course\/\">Course<\/a> Setting (Applied to all courses)<\/li>\n<\/ol>\n\n\n\n<p>If a priority level has more than one <a href=\"https:\/\/learndash.com\/support\/glossary\/virtual-instructor\/\">Virtual Instructor<\/a>, it will use the most recent one.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-can-i-use-multiple-different-openai-keys-across-instructors\">Can I use multiple different OpenAI keys across <a href=\"https:\/\/learndash.com\/support\/glossary\/instructors\/\">Instructors<\/a>?<\/h3>\n\n\n\n<p>No, currently we only support a single OpenAI key being used across all created <a href=\"https:\/\/learndash.com\/support\/glossary\/instructors\/\">Instructors<\/a> on a single site.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Virtual Instructors allow you to add an AI-powered assistant to your LearnDash courses that can respond to learner questions as they progress through content. This feature is designed to support instructors by handling common or repetitive questions, giving educators more time to focus on instruction and course design. This guide walks through enabling Virtual Instructors,&#8230;<\/p>\n","protected":false},"author":58,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_helpful_status":1,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"doc_category":[],"doc_tag":[],"knowledge_base":[157],"class_list":["post-6426","docs","type-docs","status-publish","hentry","knowledge_base-resources"],"year_month":"2026-04","word_count":1626,"total_views":"7577","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"display_name":"Stephanie Liy","author_link":"https:\/\/learndash.com\/support\/author\/stephaniei\/"},"doc_category_info":[],"doc_tag_info":[],"taxonomy_info":{"knowledge_base":[{"value":157,"label":"Resources"}]},"featured_image_src_large":false,"comment_info":0,"knowledge_base_info":[{"term_name":"Resources","term_url":"https:\/\/learndash.com\/support\/kb\/resources\/","term_slug":"resources"}],"knowledge_base_slug":["resources"],"_links":{"self":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/6426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/users\/58"}],"replies":[{"embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/comments?post=6426"}],"version-history":[{"count":28,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/6426\/revisions"}],"predecessor-version":[{"id":11121,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/docs\/6426\/revisions\/11121"}],"wp:attachment":[{"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/media?parent=6426"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_category?post=6426"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/doc_tag?post=6426"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/learndash.com\/support\/wp-json\/wp\/v2\/knowledge_base?post=6426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}