How to create an Embodiment Agent

Agent Creation

  1. Open your Unity project and right click, from inside the modules folder, MAGES > JARIA > Agent.

../../../_images/setup-01.png
  1. The agent includes some settings for the embodiment agents which must be defined by you:

../../../_images/setup-02.png

Agent Configuration

  • Agent ID: The agent ID obtained after the creation of the agent in the portal.

  • Embodiment Character: Chose between a character in the scene or a prefab from the assets as the embodiment character of the agent.

  • Interaction Component: The prefab that holds the start/cancel buttons.

  • Agent Output Component: The prefab used to visualize the agent output as subtitles.

  • Speech Handler key: The key for the speech to text handler.

  • Text Handler Key: The key for the text to speech handler.

  • Handlers Region: The text to speech and speech to text handlers region.

Tip

An example of the interaction and the agent output components can be found in the neuro sample, inside Resources > Generic > Agent

Optional Agent Configuration

  • Voice ID: The ID of the voice the agent is going to have.

  • Language ID: The language of the subtiltes and the voice for the agent responce.

  • Custom Endpoint: The key for the custom speech to text handler.

Agent Configuration inside module

Add the agent you created in the agents list of the module.

../../../_images/setup-03.png