Neural narratives in Python #28

I recommend you to check out the previous parts if you don’t know what this “neural narratives” thing is about. In short, I wrote in Python a system to have multi-character conversations with large language models (like Llama 3.1), in which the characters are isolated in terms of memories and bios, so no leakage to other participants. Here’s the GitHub repo, that now even features a proper readme.

In the previous and first part of this new tale, our protagonist, Japanese teenager Takumi Arai, fucking died, but a ditzy goddess presented him to the wonders of reincarnation. Now, Takumi finds himself in an unknown city, retaining his previous form and memories but not knowing anything about this world where he has ended up.

Takumi was lucky enough to get across a reasonable outcast like Kael Marrek, of indeterminate gender. He or she gives Takumi a tour of the teeming market.