tatk.dst.rule.camrest package¶
Submodules¶
tatk.dst.rule.camrest.dst module¶
-
class
tatk.dst.rule.camrest.dst.RuleDST¶ Bases:
tatk.dst.dst.DSTRule based DST which trivially updates new values from NLU result to states.
- Attributes:
- state(dict):
Dialog state. Function
tatk.util.camrest.state.default_statereturns a default state.
-
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
-
init_session()¶ Initialize
self.statewith a default state, whichtatk.util.camrest.state.default_statereturns.
-
update(user_act=None)¶ update belief_state, request_state :param user_act: :return: