# AI Meets Spring Petclinic: Implementing an AI Assistant with Spring AI

I recently added an AI sample to the famous [Spring Petclinic](https://github.com/spring-projects/spring-petclinic/tree/spring-ai) 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](https://spring.io/blog) 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!

### [**AI Meets Spring Petclinic: Implementing an AI Assistant with Spring AI (Part I)**](https://spring.io/blog/2024/09/26/ai-meets-spring-petclinic-implementing-an-ai-assistant-with-spring-ai-part-i)

### [**AI Meets Spring Petclinic: Implementing an AI Assistant with Spring AI (Part II)**](https://spring.io/blog/2024/09/27/ai-meets-spring-petclinic-implementing-an-ai-assistant-with-spring-ai-part)
