Hi Blake,
I think AST transformation can help you.
Cheers,
Daniel Sun
On 2025/04/06 23:49:21 Blake McBride wrote:
> 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
Hi Blake,
In my understanding of LLMs, they don't need a parser at all, embeddings
work on the text. There are experiments for embedding AST nodes (code2vec,
code2seq) but what people usually do is to just treat code as any other
piece of text.
On Mon, 7 Apr 2025 at 01:49, Blake McBride wrote:
I figured out a workaround:
1. Detect the OS and architecture and set the classifier based on that
2. Use Grape.grab instead of @Grab to download the platform
implementation explicitly
3. Use the main method of the Application instead of explicitly calling
Application.launch(..) to make the
Hi,
I have a javafx application published to a nexus server that I want to
launch from a groovy script.
The application has javafx jar defined as compileOnly (provided in maven
lingo) so javafx must be added to the classpath.
When i use a full jdk that includes javafx the applicaton works g
RAG:
- You feed blocks of text into an LLM and receive embeddings (numeric vectors)
- You store the embeddings and the block of text in a local database that
handles vectors
- You create a query, send it to the LLM and get the embedding for it.
- You feed the embedding of your query into your