dialoguekit.participant.agent

Interface defining core agent functionality.

This abstract class is to be subclassed both for bots and human (“Wizard of Oz”) agents.

An agent instance needs to be connected with a DialogueConnector by invoking register_dialogue_connector().

Classes

AgentType

Represents different types of agents (bot vs Wizard-of-Oz).

Agent

Represents an agent.

Module Contents

class dialoguekit.participant.agent.AgentType

Bases: enum.Enum

Represents different types of agents (bot vs Wizard-of-Oz).

BOT = 0
WOZ = 1
class dialoguekit.participant.agent.Agent(id: str, agent_type: AgentType = AgentType.BOT)

Bases: dialoguekit.participant.participant.Participant

Represents an agent.

Parameters:
  • id – Agent ID.

  • agent_type – Agent type (default: BOT).

abstract welcome() None

Sends the agent’s welcome message.

Raises:

NotImplementedError – If not implemented in derived class.

abstract goodbye() None

Sends the agent’s goodbye message.

Raises:

NotImplementedError – If not implemented in derived class.