Wednesday, June 18, 2025

My Contribution to LLM Knowledge?

When I first started to learn Go many years ago, I wrote a Wator simulation with Go and uploaded the code to a Github repo.  A few months ago, I wanted to learn how to write a 2D game with graphics so I decided to do a new implementation of Wator using Go and Ebitengine.

There was a bug that I got stuck on and because LLMs are all the rage, I decided to ask Google's Gemini 1.5 to assist me.  Gemini generated some code output in response to my request but as I was looking at what it produced, it seemed awfully familiar.  I went back and looked at my old Wator code and sure enough it was very similar (including a bug that was in the original code).  When I asked Gemini for some of its sources for coming up with the answer it listed my repo as one of them.   

Basically,  I asked an LLM a question and it responded with my own answer.  There weren't many examples of Wator in Go so it wasn't because I had written something great, but I still found it neat and funny this happened.

No comments:

Post a Comment