thinkberg<p>I kept away from <a href="https://tetrax.de/tags/AI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AI</span></a> for a while now, except the occasional use. However, now I found a nice use-case and it was the trigger to <a href="https://tetrax.de/tags/explore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>explore</span></a> the technology.</p><p>I build a (very basic) local <a href="https://tetrax.de/tags/RAG" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RAG</span></a> setup that will vectorize the <a href="https://tetrax.de/tags/Cypher" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cypher</span></a> system rules, and my copy of the <a href="https://tetrax.de/tags/GameMastersBooks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GameMastersBooks</span></a> I bought in a humble bundle. Now I can query the rules and books and let it phantasize villains, NPCs and encounters. As input for designing a compaign this works quite well. </p><p>While playing with it, I also used AI to help me do some of the <a href="https://tetrax.de/tags/coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coding</span></a>. While it worked well for the simple single page html/js, letting it touch the whole (small) codebase created cruft that is either unnecessary or outright wrong. Explaining what to change in local contexts works much better, but creates extra work as it doesn't play well together with refactoring. Like I make a change to some data stucture, but then have to change the method signatures in other places by hand.</p><p>Refactoring promises to change code without changing behaviour. AI can't promise that, so letting it rewrite code will almost always lead to unexpected side effects. Dealing with the cleanup is not effortless!</p><p>It runs reasonable well on an Apple M1 w/ 16GB RAM.<br>If anyone wants to try: <a href="https://repos.mxhdr.net/thinkberg/ragged-scribe" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">repos.mxhdr.net/thinkberg/ragg</span><span class="invisible">ed-scribe</span></a> (be aware, this is a <a href="https://tetrax.de/tags/playground" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>playground</span></a>)</p>