Skip to content
LearnDash Support
  • Products

      LearnDash LMS Plugin

      Powering intuitive online courses with advanced management and engagement features for WordPress.

      Learn More

      LearnDash LMS Plugin + Hosting

      StellarSites Learning is a fully managed hosting solution for WordPress.

      Learn More

      Premium LMS Add-ons
      Enhance your courses with extra features. Gather insights, reward learners, protect your course content, and more!

      Explore all Add-ons

      MemberDash
      The most flexible membership plugin for WordPress. Monetize your content and build a community.

      View MemberDash

  • Pricing
  • Add-ons & Integrations

      LEARNDASH ADD-ONS

      Instructor Role

      Empower Instructor to manage courses.

      Groups Management

      Organization management, delegation and more

      ProPanel

      Advanced analytics reporting.

      Gradebook

      Track progress and create report cards.

      Notes

      Enable notetaking and two-way communication.

      Rating, Reviews, & Feedback

      Build trust and gain valuable insights.

      FEATURED INTEGRATIONS

      The Events Calendar

      Connect with the most popular events solution.

      BuddyBoss

      Powerful tools for an enhance learning experience.

      WooCommerce

      The most popular shopping cart on WordPress.

      WeGlot

      Translate your LearnDash content.

      All Integrations

      BUNDLES

      Package and save
      Save when you buy multiple plugins in a bundle.

      See all bundles.

      MORE

      Release Notes

      Get Help

  • Resources
      LearnDash Academy Videos, webinars, and resources to help you launch a successful course.
      Blog Blog
articles with the latest news and tips to help you run high-quality courses.
      Knowledge Base A support network to help you make the most of your courses.
      Release Notes Stay up-to-date with the latest updates to LearnDash.
      Get Help

      Professional Services

      LMS Site Development Get hands-on assistance launching your course website.
      Website Maintenance WordPress management made easy.
      SEO Services SEO solutions that accelerate growth.

      Other Resources

      LearnDash Accessibility At LearnDash, we believe online learning should be accessible to everyone.
      Join the Dev Club
  • Demo
  • Sign In
Get LearnDash

Knowledge Bases: Support Home | LearnDash Core | LearnDash Add-ons | LearnDash Cloud | Resources | Mobile App

LearnDash Support
  • ← Return to LearnDash
  • Support
    • Support Home
    • All Knowledge Bases
    • LearnDash Core
    • Add-ons
    • Resources
    • Cloud
  • My Account
Popular searches: api duplicate couse email gp query loop [ld_course_resume]

Account & Billing

6
  • Edit Your Customer Account Email and Password
  • License
  • Updates
  • How To Get Help
  • Billing
  • LearnDash Licensing & Management

Troubleshooting

2
  • Troubleshooting Basics
  • Why is the registration form not showing?

User Guides

9
  • How do I remove the ‘Take This Course’ button?
  • How do I hide post meta data (date, author, comments, etc.)?
  • Translation
  • Transferring LearnDash Courses
  • How do I protect my course files & downloads?
  • User Guides
  • LearnDash Migration
  • How to Install and Activate LearnDash Add-ons
  • Trusted Login

FAQs

30
  • Can I hide the course content table on the course page?
  • Can I create a unique sidebar for courses, lessons & quizzes?
  • Can I rename “courses,” “lessons,” “topics,” and “quizzes”?
  • Can I reuse lessons & topics across multiple courses?
  • Is LearnDash compatible with other plugins?
  • How do I find the course ID?
  • 404 Errors on LearnDash Pages
  • What kind of media can be used in LearnDash courses?
  • Does LearnDash support Learning Tools Interoperability (LTI)?
  • How can I make email notifications send on time?
  • I’m getting the error “the link you followed has expired” when installing LearnDash.
  • Questions about MemberDash?
  • Known Issues & Conflicts
  • Why is the registration form not showing?
  • Page Builders + LearnDash
  • Why are the license updates and license checks disabled?
  • FAQs
  • Your Add-Ons and Plugins are Officially Migrating to LearnDash FAQs
  • WisdmLabs Acquisition FAQ
  • How to Manually Install and Update Plugins from WordPress.org
  • What is the best way for me to bundle courses using LearnDash?
  • What plugins can be used with LearnDash for math equation editing?
  • Do I need a plugin to do drip feeding?
  • Can I use the same Stripe Purchase Button on multiple courses?
  • Is there a shortcode for displaying a single lesson in LearnDash?
  • Is there a way to export an individual course?
  • What should I do if my course content is not displaying correctly?
  • Moving Away from LearnDash Cloud
  • What steps can I take if a lesson or topic is not marked as complete?
  • What are the different user roles in LearnDash and what permissions do they have?

Developers

3
  • Adding Fields to LearnDash Registration Forms with Advanced Custom Fields (ACF)
  • Developers
  • Protecting Files
View Categories
  • Home
  • All Knowledge Bases
  • Resources
  • Virtual Instructors
  • Intro to Virtual Instructors

Intro to Virtual Instructors

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, configuring global and individual settings, managing language preferences and content restrictions, and understanding how learners interact with the Virtual Instructor on the front end.

Virtual Instructors #

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.

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.

Note: You may need to include various forms of a banned word. For example, if your banned list includes the word “potato” in all lowercase, your learner may still work around the banned list by using “p0t@t0” and substituting numbers or signs for letters. You’ll want to include a variety of forms of your banned word, including using numbers or signs in place of letters, such as in “pot@to”.

Setting up Virtual Instructors #

Virtual Instructors is an experimental feature. To enable Virtual Instructors, go to LearnDash LMS > Settings > Experiments and toggle on the switch to enable this feature.

  1. Click the toggle to enable Virtual Instructors
  2. Click on Save to save your changes
  3. Once enabled, you’ll see the Virtual Instructors
  4.  menu item under LearnDashLMS

Once enabled, a new menu item, LearnDash LMS > Virtual Instructors, will be added to the Admin menu.

Global Configuration #

Before you start setting up virtual Instructors, go to LearnDash LMS > Virtual Instructors and click Next to save a few global settings. On the next screen, you will be prompted to enter your OpenAI key.

Creating an OpenAI API key #

  1. Visit the OpenAI site at the following link and log in to your account or sign up for a new one: https://platform.openai.com
  2. Visit the pricing page to confirm which plan you need: https://openai.com/pricing.
    We recommend GPT-3.5-Turbo.
  3. Go to the billing section and add a credit balance based on the subscription plan you choose: https://platform.openai.com/account/billing/overview
    You can choose to switch on/off auto-recharge for your account, set up a payment method, and save other relevant billing-related information.
  4. Next, go to https://platform.openai.com/api-keys and create a secret key to connect your site to OpenAI’s services.
    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 LearnDash LMS > Settings > Advanced > AI Integrations.

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.

The Objective of Setting Banned Words #

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-topic questions from being asked. The global banned list can be overridden at the individual Virtual Instructor level. This will allow you to include more flexibility in the feature.

Setting up Banned Words #

Go to LearnDash LMS > Virtual Instructors > Settings to set up a banned word list.

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 “Oops! We can’t help you with that question. Please ask your instructor.”

Language Support #

Configuring Language Preferences for the Virtual Instructor #

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’s preferred language.

Steps to Configure Language Settings #

  1. Go to LearnDash LMS > Virtual Instructors
  2. Select the desired Virtual Instructor to modify its settings
  3. In the Virtual Instructor settings, locate the Custom Instruction field. Enter the instruction to specify the desired language for responses. For example, you could enter “Please respond in Spanish only” as seen in the illustration below.
    Virtual Instructor Custom Instruction FieldYou can replace “Spanish” with your preferred language.
  4. 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:.Additonal Custom instructions for Virtual Instructor
  5. Finally, click the Update button in the Publish box to save your changes.

Experience on the Front-end #

A user conversing with the Virtual Instructor will encounter responses on the following lines.

The Custom Instruction 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.

Note: The Virtual Instructor does not automatically detect the site’s current language saved in Settings > General in WordPress

Adding/Modifying Virtual Instructors #

After the global settings have been added, go to LearnDash LMS > Virtual Instructors to add your first Virtual Instructor.

Individual Virtual Instructor #

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.

Accessing Virtual Instructor settings #

  1. Navigate to LearnDash LMS → Virtual Instructors.
  2. Click Edit next to an existing Virtual Instructor, or click Add New to create a new one.
  3. (Optional) Click Select Image to choose an avatar for the Virtual Instructor.

Adding custom instructions #

Use the Custom Instructions field to control how the Virtual Instructor responds to learner questions. These instructions are not visible to learners and are used only by the AI when generating responses.

For example, you might instruct the Virtual Instructor to guide learners instead of providing direct answers.

Example instruction:
Don’t give direct answers; instead, provide a clue.

Resulting behavior:

  • Learner asks: What is 2 + 2?
  • Virtual Instructor responds:
    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.

Without this instruction, the Virtual Instructor would respond with a direct answer:
2 + 2 equals 4.

Associating courses and groups #

Next, choose where this Virtual Instructor should be available:

  • Courses: Use the toggle to apply the Virtual Instructor to all courses or only specific courses. If selecting specific courses, type each course name into the Associated Courses field and press Enter.
  • Groups: Use the same toggle and selection process to associate the Virtual Instructor with all groups or specific groups.

Overriding banned words and error messages #

You can override the global banned words list for an individual Virtual Instructor by adding a custom list in the fields provided. You can also define a custom error message to display when a learner submits a question containing a banned word, replacing the globally configured message.

Publishing changes #

If caching is enabled on your site, click Purge from cache in the Publish box before clicking Publish or Update to ensure your changes are applied correctly.

Using a Virtual Instructor in a Course #

The Virtual Instructor 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 Lesson or Topic content while they study it. If the learner asks a question based on a banned word, the error message you set will be displayed.

Custom Instructions #

Configuring the Subject Definition #

You can limit what the Virtual Instructor will talk about when asked questions. This, too, will need to be enforced through the Custom Instruction feature.

Frequently Asked Questions #

A message stating “Error: You didn’t provide an API key” has appeared. What am I missing? #

Your OpenAI API key may be invalid or expired. Please visit https://platform.openai.com/api-keys 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.

Is Virtual Instructors free? #

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.

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 Creating an OpenAI API key.

Can the instructor or Admin view the questions asked by the Students/users #

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.

If a Course belongs to more than one virtual instructor’s associated courses/groups, which Virtual Instructor setting will be used? #

Here is the list of priorities in order:

  1. Specific Course setting
  2. Specific group setting
  3. Global group setting (Applied to all groups)
  4. Global Course Setting (Applied to all courses)

If a priority level has more than one Virtual Instructor, it will use the most recent one.

Can I use multiple different OpenAI keys across Instructors? #

No, currently we only support a single OpenAI key being used across all created Instructors on a single site.

Updated on February 2, 2026
Table of Contents
  • Virtual Instructors
  • Setting up Virtual Instructors
  • Global Configuration
    • Creating an OpenAI API key
    • The Objective of Setting Banned Words
    • Setting up Banned Words
  • Language Support
    • Configuring Language Preferences for the Virtual Instructor
    • Steps to Configure Language Settings
    • Experience on the Front-end
  • Adding/Modifying Virtual Instructors
    • Individual Virtual Instructor
    • Accessing Virtual Instructor settings
    • Adding custom instructions
    • Associating courses and groups
    • Overriding banned words and error messages
    • Publishing changes
  • Using a Virtual Instructor in a Course
  • Custom Instructions
    • Configuring the Subject Definition
  • Frequently Asked Questions
    • A message stating “Error: You didn’t provide an API key” has appeared. What am I missing?
    • Is Virtual Instructors free?
    • Can the instructor or Admin view the questions asked by the Students/users
    • If a Course belongs to more than one virtual instructor's associated courses/groups, which Virtual Instructor setting will be used?
    • Can I use multiple different OpenAI keys across Instructors?

Was this Doc Useful?

Thanks for your feedback!

Products

  • LearnDash LMS Plugin
  • MemberDash Plugin
  • LearnDash Cloud
  • ProPanel
  • Groups Management
  • Gradebook
  • Notes
  • Integrations

Support

  • Contact Us
  • Experts
  • Documentation
  • Facebook Community

Company

  • About LearnDash
  • Brand Assets
  • Careers
  • Affiliates
  • Privacy Policy
  • Terms and Conditions
  • Refund Policy

Our Partners

  • The Events Calendar
  • MemberDash
  • Kadence
  • GiveWP
  • Iconic
  • SolidWP

Stay Connected Subscribe to our newsletter
  • YouTube
  • X
  • Facebook
  • Instagram

Copyright 2026. All Rights Reserved.

A Liquid Web Brand
WordPress Hosting Services
© 2026 All Rights Reserved

StellarWP
liquidweb