TFLite Model
This module contains the class for
using TFLite NLU models. In this
case, an NLU model is a TFLite model
which takes in an utterance and
returns an intent along with any
slots that are associated with that
intent.
-
class
spokestack.nlu.tflite.
TFLiteNLU
(model_dir)[source]
-
Abstraction for using TFLite
NLU models
-
Parameters
-
model_dir
(str) –
path to the model
directory containing
nlu.tflite,
metadata.json, and
vocab.txt