This code breaks a Groovy source file into reasonable chunks that would be needed by a RAG system.
It uses a build system written by Blake McBride.
To build and run:
./bld run
The code for this is at: https://github.com/blakemcbride/GroovyRAGChunker
More info about the build system is at: https://github.com/blakemcbride/Bld
Code for dealing with LLMs and Vector databases is at https://github.com/blakemcbride/Kiss