5 ms·
Ink is great, and very extendable. I used it as the scripting engine for a machine-learning-powered chat bot.
by psyklic 6y ago
Ink is great, and very extendable. I used it as the scripting engine for a machine-learning-powered chat bot.
- gHx8 6y agoThat sounds amazing! Where would be a good place to start digging into chatbot tech? Specifically, I'm wondering how to dynamically rewrite scripted dialogue and it is a deceptively deep topic.
- psyklic 6y agoThere 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