dialogue_manager.dialogue_context

DialogueContext models a record of previous conversation.

It keeps track of the recommendations agent made with user response to those recommendations. In addition, it keeps track of all previous utterances from both the user and the agent.

Module Contents

Classes

DialogueContext

class dialogue_manager.dialogue_context.DialogueContext
initialize() None

Initializes the dialogue context.

add_utterance(utterance: moviebot.core.utterance.utterance.Utterance) None

Adds an utterance to the context.

Parameters

utterance – Utterance to add.