Inworld - Capi-Metaverse/Template GitHub Wiki

Inworld AI

Table of Contents

What is Inworld?

Inworld was founded by leading experts and pioneers in the fields of conversational AI and generative models. They offer an AI Engine that respond to players' actions and decisions with dynamic game states, environments, and AI agents. This engine allow us to create real-time chats with an AI in our application.

InworldLogo

Inworld is free to get started with 5,000 API interactions included per month at zero cost. When the interactions are over, you can wait for the next month or pay some of their plans. Inworld includes integrations with Eleven Labs.

How to use it?

First do you need to install it to the Unity Project through the Unity Asset Store

Once it is installed in the project, you will need to restart Unity. After the restart, a new tab will appear in the editor called Inworld. From there you can access Inworld Studio and add an AI and the player controller that the player will use.

Steps

To customise the behaviour and appearance of the AI NPC, you must create it and edit its characteristics from the Inworld page. From the Inworld page you can modify its description, its model and even its way of communicating. All these changes will be reflected in the application once it is started, since the NPC will connect with Inworld.

InworldCreate

Once all the previous steps have been completed, in order for the user’s microphone to be detected, the player’s gameobject must be dragged into the Inworld Player field of the NPC’s Inworld Controller script. If the player is not initialized in the scene at the start, the Awake method of the Inworld Controller must be modified, so that it searches for him.

If you would like to stop the conversation with the AI ​​NPC, you can disable the NPC’s Audio Capture component so it doesn’t disconnect from Inworld

⚠️ **GitHub.com Fallback** ⚠️