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 individual method. This was pretty trivial in Java because there are ready-made Java parsers. However, I have spent a long time trying to create a parser for Groovy but have so far been unsuccessful. I sure appreciate any suggestions. Thanks! Blake McBride