convlab2.dst.rule.camrest package¶
Submodules¶
convlab2.dst.rule.camrest.dst module¶
-
class
convlab2.dst.rule.camrest.dst.
RuleDST
¶ Bases:
convlab2.dst.dst.DST
Rule based DST which trivially updates new values from NLU result to states.
- Attributes:
- state(dict):
Dialog state. Function
convlab2.util.camrest.state.default_state
returns a default state.
-
init_session
()¶ Initialize
self.state
with a default state, whichconvlab2.util.camrest.state.default_state
returns.
-
update
(user_act=None)¶ update belief_state, request_state :param user_act: :return: