convlab2.dst.trade package

Submodules

convlab2.dst.trade.trade module

class convlab2.dst.trade.trade.TRADE

Bases: convlab2.dst.dst.DST

update(act)

Update the internal dialog state variable.

Args:
action (str or list of list):

The type is str when DST is word-level (such as NBT), and list of list when it is DA-level.

Returns:
new_state (dict):

Updated dialog state, with the same form of previous state.

Module contents