Usage

A YAML configuration file is necessary to start the simulation; see default configuration for an example. Run the following command to start the simulation:

python -m usersimcrs.run_simulation -c <path_to_config.yaml>

Example

This example shows how to run simulation using the default configuration and the IAI MovieBot as the conversational agent.

  1. Start IAI MovieBot locally

  • Download IAI MovieBot v1.0.1 here.

  • Follow the IAI MovieBot installation instructions.

  • Start the IAI MovieBot locally:

python -m run_bot -c config/moviebot_config_no_integration.yaml

Note: the parameter agent_uri needs to be updated in the configuration in case IAI MovieBot does not run on the default URI (i.e., http://127.0.0.1:5001).

  1. Run simulation

python -m usersimcrs.run_simulation -c config/default/config_default.yaml

After the simulation, the YAML configuration is saved under data/runs using the output_name parameter. The simulated dialogue is saved under dialogue_export.