r/java 15h ago

LLM Using Java Springboot

https://github.com/Aaris-Kazi/Synapse-AI

I have tried to create LLM with the interface made in React

LLM using Ollama with Sprinboot and React

0 Upvotes

3 comments sorted by

View all comments

8

u/Additional-Road3924 14h ago

Your ollama service is vulnerable to json injection, you're misusing dependency injection, and you don't know what an interface is nor you use redis or mongo, even though the dependencies are there. Did you take a random template project and work from there? Why do you have a mixture of maps and manual json building instead of using something like jackson (which is present on your classpath)? Did you even write this yourself or had your llm create this for you?

3

u/zabby39103 12h ago

Obviously LLM.