agenda

Interface to represent an agenda.

The agenda is a stack of dialogue acts that the user wants to perform to fulfill their information need. The representation is based on the description in: Agenda-Based User Simulation for Bootstrapping a POMDP Dialogue System, Schatzmann et al., 2007.

Classes

Agenda

Initializes the agenda.

Module Contents

class agenda.Agenda(information_need: usersimcrs.core.information_need.InformationNeed, inform_intent: dialoguekit.core.intent.Intent, request_intent: dialoguekit.core.intent.Intent, stop_intent: dialoguekit.core.intent.Intent, start_intent: dialoguekit.core.intent.Intent = None)

Initializes the agenda.

Parameters:
  • information_need – Information need.

  • inform_intent – Inform intent.

  • request_intent – Request intent.

  • stop_intent – Stop intent.

  • start_intent – Start intent. Defaults to None.

property stack: Deque[dialoguekit.core.dialogue_act.DialogueAct]

Returns the dialogue acts stack.

get_next_dialogue_acts(n: int) List[dialoguekit.core.dialogue_act.DialogueAct]

Returns the next n dialogue acts from the stack.

Parameters:

n – Number of dialogue acts to return.

Returns:

List of dialogue acts.

push_dialogue_act(dialogue_act: dialoguekit.core.dialogue_act.DialogueAct) None

Pushes a dialogue act onto the stack.

Parameters:

dialogue_act – Dialogue act.

push_dialogue_acts(dialogue_acts: List[dialoguekit.core.dialogue_act.DialogueAct]) None

Pushes dialogue acts onto the stack.

Parameters:

dialogue_acts – Dialogue acts.

clean_agenda(information_need: usersimcrs.core.information_need.InformationNeed) None

Cleans the agenda.

Removes duplicate dialogue acts, null dialogue acts, and requests for already informed slots.

Parameters:

information_need – Information need.