Trying to write a RAG chunker for Groovy

2025-04-06 Thread Blake McBride
Greetings, I am trying to write a RAG chunker for Groovy. This is used to (essentially) train an AI/LLM on my code base so that the AI/LLM can help me with my Groovy application. Essentially, what I need to do is read in a Groovy source file and do something (create embeddings) for each indivi

Re: Minor breaking change of chop(Iterator, int...) method for Groovy 5

2025-04-06 Thread Paul King
Actually, there is another edge case with chop that I would also like to modify since we are making a change anyway. Even once the original source of elements is exhausted, we continue "chopping" for each asked for size but give an empty list in such cases. assert ['a', 'b', 'c', 'd', 'e'].chop(1

Re: Modular Groovy application

2025-04-06 Thread Mirco Colletta
Hi Jochen, a quick follow-up: with your suggested modification to the module-info.java file now it works *opens to org.apache.groovy;* Thank you Mirco Il Dom 30 Mar 2025, 22:00 Mirco Colletta ha scritto: > Hi Jochen, > thanks for the observations. > > > It could also be solved by using static