tatk.dst package¶
Subpackages¶
Submodules¶
tatk.dst.dst module¶
Dialog State Tracker Interface
-
class
tatk.dst.dst.
DST
¶ Bases:
tatk.util.module.Module
Base class for dialog state tracker models.
-
update
(action)¶ Update the internal dialog state variable. update state[‘user_action’] with input action
- Args:
- action (str or list of tuples):
The type is str when DST is word-level (such as NBT), and list of tuples when it is DA-level.
- Returns:
- new_state (dict):
Updated dialog state, with the same form of previous state.
-