logoalt Hacker News

UncleOxidantyesterday at 5:58 PM2 repliesview on HN

> but every AI coding bot will learn your new language as a matter of course after its next update includes the contents of your website.

That's assuming that your new, very unknown language gets slurped up in the next training session which seems unlikely. Couldn't you use RAG or have an LLM read the docs for your language?


Replies

clickety_clackyesterday at 6:18 PM

Agreed - unpopular languages and packages have pretty shaky outcomes with code generation, even ones that have been around since before 2023.

almogyesterday at 6:27 PM

Neither RAG nor loading the docs into the context window would produce any effective results. Not even including the grammar files and just few examples in the training set would help. To get any usable results you still need many many usage examples.

show 2 replies