Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
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.
See this open-source project for an example of using Ink to drive a script-based chatbot similar to Alexa: https://github.com/rabidgremlin/Mutters
Thanks! It's just a Github page, so you can see the source at https://github.com/maxsond/maxsond.github.io/
homepage.js is the translated Ink script after processing by inkjs (from Inkle)
ink.js is a bunch of Inkle magic
main.js has some custom choice behavior I wrote for things like opening browser tabs when you pick certain choices, as well as some other stuff.
I actually didn't commit the original Ink script to version control, and I'm kicking myself for that now.
Related posts
- How would a visual novel be made in godot?
- Does anyone here have experience using Dialogic?
- Wrote a Quick Start Guide about using ink in Godot 4
- Bringing ink to Godot 4
- "Ticket to Europe" - a game we've made in Godot, raising awareness of the refugee crisis in Europe, has been just approved on Steam. I'm curious, what do you think!