I recently added an AI sample to the famous Spring Petclinic sample application, to showcase the power of Spring AI.
I also wrote an article explaining how I achieved this. It’s been published on the spring.io blog.
The article is split into two parts. The first section provides an overview and shows the use of Function Calling. The second part is all about Retrieval-Augmented Generation (RAG).
Links below. Happy reading!