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:

Get the Android app

Or read this on Hacker News

Read more on:

Photo of LLMs

LLMs

Photo of emacs

emacs

Related news:

News photo

I genuinely don't understand why some people are still bullish about LLMs

News photo

SplitQuantV2: Enhancing Low-Bit Quantization of LLMs Without GPUs

News photo

Midjourney’s surprise: new research on making LLMs write more creatively