Get the latest tech news
Automating Interactive Fiction Logic Generation with LLMs in Emacs
From the creator of Ten Dollar Adventure, a blog about the experience of writing the book, being a parent, navigating the entrepreneurial high seas, and learning.
summary: I automated the creation of transaction tracking logic for an Emacs-based interactive fiction book using an LLM (via gptel). I have been writing an interactive children's book in Emacs where the protagonist Daphne earns, saves or spends money during her weeklong entrepreneurial adventure. Here's how I added the context of the transactions to every passage: I select the entire story, which is a single org file in Emacs, with C-x h, invoke gptel-rewrite with C-u C-c r RET d, then type out the following descriptive prompt:
Or read this on Hacker News