dialogue_manager.dialogue_state

Dialogue state models the state of the agent.

It is a basic SlotFilling model that keeps account of the question agents must answer or ask from the user. It also keeps track of the recommendation agent makes and previous states of the agent. State will be updated using the dialogue state tracker.

Module Contents

Classes

DialogueState

class dialogue_manager.dialogue_state.DialogueState(domain: moviebot.domain.movie_domain.MovieDomain, slots: List[str], isBot: bool)
to_dict() Dict[str, Any]

Returns the dialogue state as a dictionary.

Returns:

Dictionary having basic info about the state.

initialize() None

Initializes the state if the dialogue starts again.