2 ms·
There are two types of chatbots -- unreliable freeform ones (e.g. GPT-3) and reliable script-based ones (e.g. Alexa). I believe that what you're looking to do
by psyklic 6y ago
There are two types of chatbots -- unreliable freeform ones (e.g. GPT-3) and reliable script-based ones (e.g. Alexa). I believe that what you're looking to do (dynamic rewriting) is moreso an active research topic!
The script-based chatbots are very similar to those in the 80s, with one major addition -- the options at each choice point are now "intents" instead of exact text (e.g. "the user intends to order a taxi"). Machine learning is then used to classify whatever the user says/writes as an "intent," then the script is followed to the next choice point.
Here is a nice Java framework that uses Ink to drive a script-based chatbot similar to Alexa: https://github.com/rabidgremlin/Mutters https://github.com/rabidgremlin/Mutters