Skip to main content
Version: 2026.6

Chatbot

Chatbot with RAG support​

VirtuademyChatBotPlaceholder (prefab) · VirtuademyChatbotPlaceholder (component)

Prefab that works as an AI Agent inside the environment, empowered with RAG architecture.

The Virtuademy Chatbot Placeholder component: chatbot structure and parameters, with the agent label

The setup of the chatbot requires you to specify which AI Agent to use. Agents are created and configured in the Virtuademy AI Back Office section. Refer to the Back Office Chatbots section for more details. To manage the reference between the placeholder and the agent correctly, copy the Chatbot Label of the agent from the Back Office section and put it into the Agent field in the Inspector.

From 2026.5 agents can be provided at different levels — created in the world, shared by the organization, or provided with the platform (see Agent scopes). Any agent visible in the target world works: copy its label as above.

If needed, the chatbot will speak to the user when interacted with. You can add this instruction directly in the Inspector.

Chatbot Avatar​

The Prefab appears as white panel when dragged into the scene. In the folder Packages > Virtuademy-SDK-Environments > Prefabs > Chatbot > Models, you can find 3 folders with prefabs of avatars that you can use to make the interaction mode "human":

  • Tbot (prefab TBot): small robot.
  • Male (prefab ChatbotAvatarMale): young man.
  • Female (prefab ChatbotAvatarFemale): young woman.

These templates are ready to use. You can pick one and add it as a child of the Avatar GameObject in the instance of the VirtuademyChatBotPlaceholder prefab.

ChatbotAvatarFemale added under Avatar in the VirtuademyChatBotPlaceholder, with Prefabs > Chatbot > Models > Female open in the Project window

Custom Avatars​

If you want to add a different Avatar, remember to:

  • setup an Animator Controller by copying the architecture from one of the avatars provided;
  • add an Audio Source if you want your avatar to speak!

Add these components on your custom Prefab or GameObject. Be sure to add them on a GameObject that is inside the Avatar parent.

[Deprecated] Chatbot without RAG support​

ChatBotPlaceholder

danger

Do NOT use this prefab.
If you need to know how it was working, please refer to older documentation versions.