simulation.dialog package

Submodules

simulation.dialog.conv_man module

ConversationManager

Author: Shuo Zhang, Krisztian Balog

class simulation.dialog.conv_man.ConversationManager(user, bot)

Bases: object

Conversation Manager

run_ms(config, age_mode='our', persona=True)

Let the manager run and monitor the conversations!

Parameters:
  • config
  • age_mode – qfra/qrfa_test/our
  • persona – persona of simulator

Returns: Dialogue record

run_single_agent(config)

This function will create an agent and orchestrate the conversation.

Parameters:
  • config – a dictionary containing settings
  • num_dialogues – how many dialogues to run for
Returns:

some statistics

simulation.dialog.conv_man.arg_parse(args=None)

This function will parse the configuration file that was provided as a system argument into a dictionary.

Parameters:args – config

Returns: a dictionary containing the parsed config file.

Module contents

DIALOG

Author: Shuo Zhang