The list of actions that can be taken by the model only when the slot is defined.
The list of actions that can be taken by the model only when the slot is undefined.
The list of every action the model can take.
The list of actions that can be taken by the model only when the slot is defined.
An ID used by models for exportations.
The list of actions that can be taken by the model only when the slot is undefined.
The size of the vector returned by the featurizer. By default it's set to 1 which is the default for a featurizer that returns no features.
Stores the value of the slot.
Export the featurizer's internal parameters to be serialized along the model.
Turn the data returned by handleQuery into an embedding vector. This function is used to expose featurizer variables to the model optimizer for training.
Reimplementing this method is not necessary if your featurizer is not meant to be optimizable through gradient descent. In this case, just return the feature vector directly using the handleQuery method.
Retrieves the value of the slot.
Let the featurizer know what action the model has taken.
Featurizes and handle a text query.
Initialize the model, can be asynchronous async code.
This method is executed by the model during it's initialization, it will also set the actions attribute.
Load parameters extracted from a JSON-like document.
Redefine a new value for the slot.
Generated using TypeDoc
An extension of featurizer that holds a value in its state.