Raised if a slot type is invalid.
Create a Slot.
name- The name of the slot.
initial_value- The initial value of the slot.
value_reset_delay- After how many turns the slot should be reset to the initial_value. This is behavior is currently not implemented.
Trueif the slot should be filled automatically by entities with the same name.
Truethe slot will be featurized and hence influence the predictions of the dialogue polices.
How many features this single slot creates.
The number of features.
0 if the slot is unfeaturized. The dimensionality
of the array returned by
as_feature needs to correspond to this value.
Indicate if the slot creates any features.
After how many turns the slot should be reset to the initial_value.
If the delay is set to
None, the slot will keep its value forever.
Returns a slots class by its type name.
Converts bool/float/int/str to bool or raises error
Slot which can be used to store any value. Users need to create a subclass of
Slot in case the information is supposed to get featurized.