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 interaction and end interaction buttons.

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

In addition the following can be overriden:

  • Text Handler key: The key for the speech services handler.

  • Text Handler Key: The region where the speech services are hosted.

  • Voice ID: The voice ID of the embodied agent.

  • Language ID: The language in which the embodied agent speaks in.

  • Custom Endpoint: Can be used for customely fine-tuned speech to text. Useful when your application requires a lot of words not commonly found in everyday spoken language.

Tip

An example of the interaction and the agent output components can be found in the neuro sample, inside Samples > ORamaVR Creator - Core > 'version' > Neuromonitoring Scene > Resources > Generic > Agent.

Agent Configuration inside module

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

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