Like we began to do within the spring-petclinic-langchain4j version (see spring-petclinic/spring-petclinic-langchain4j#10), we could integrate Ollama and propose alternatives to the OpenAI LLM.
Reference : Using Hugging Face Models With Spring AI and Ollama