AI Meets Spring Petclinic: Implementing an AI Assistant with Spring AI (Part II)

Engineering | Oded Shopen | September 27, 2024 | ...

Recap of Part I

In the first part of this blog series, we explored the basics of integrating Spring AI with large language models. We walked through building a custom ChatClient, leveraging Function Calling for dynamic interactions, and refining our prompts to suit the Spring Petclinic use case. By the end, we had a functional AI assistant capable of understanding and processing requests related to our veterinary clinic domain.

Now, in Part II, we’ll go a step further by exploring Retrieval-Augmented Generation (RAG), a technique that enables us to handle large datasets that wouldn’t fit…

AI Meets Spring Petclinic: Implementing an AI Assistant with Spring AI (Part I)

Engineering | Oded Shopen | September 26, 2024 | ...

Introduction

In this two-parts blog post, I will discuss the modifications I made to Spring Petclinic to incorporate an AI assistant that allows users to interact with the application using natural language.

Introduction to Spring Petclinic

Spring Petclinic serves as the primary reference application within the Spring ecosystem. According to GitHub, the repository was created on January 9, 2013. Since then, it has become the model application for writing simple, developer-friendly code using Spring Boot. As of this writing, it has garnered over 7,600 stars and 23,000 forks.

e386a28e-e860-4cf7-a94c-aa7dad13abe3

The application…

This Week in Spring - September 24th, 2024

Engineering | Josh Long | September 24, 2024 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! I'm in delightful Dallas, TX, at the amazing JConf.dev show. Then I'm off to Germany, and then back home to do some laundry before heading out to Denver, CO, for the amazing Dev2Next show, before then heading out to Belgium for Devoxx Belgium. It's going to be a fun few weeks. How're you doin'?

Spring Shell 3.2.8, 3.3.3 and 3.4.0-M2 are now available

Releases | Corneil du Plessis | September 23, 2024 | ...

On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Shell 3.2.8, 3.3.3 and 3.4.0-M2 has been released and are now available from Maven Central and Milestone Repo respectively.

Please see the release notes 3.2.8, release notes 3.3.3 and release notes 3.4.0-M2 for more details.

Thanks to all those who have contributed with issue reports and pull requests.

How can you help?

Project Page | GitHub | Issues | Documentation

Spring Modulith 1.3 M3, 1.2.4, and 1.1.9 released

Releases | Oliver Drotbohm | September 20, 2024 | ...

I am happy to announce the availability of Spring Modulith 1.3 M3, 1.2.4, and 1.1.9. While the latter two ship the usual bugfixes and service release bugfix upgrades, I am particularly delighted about the milestone releases as it contains two major community contributions. Here are the most significant new features:

Spring Boot 3.2.10 available now

Releases | Stéphane Nicoll | September 19, 2024 | ...

On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Boot 3.2.10 has been released and is now available from Maven Central.

This release includes 38 bug fixes, documentation improvements, and dependency upgrades. Thanks to all those who have contributed with issue reports and pull requests.

How can you help?

If you're interested in helping out, check out the "ideal for contribution" tag in the issue repository. If you have general questions, please ask on stackoverflow.com using the spring-boot tag or chat with the community on Gitter.

Project Page | GitHub | Issues | Documentation | Stack Overflow |

Spring Boot 3.3.4 available now

Releases | Stéphane Nicoll | September 19, 2024 | ...

On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Boot 3.3.4 has been released and is now available from Maven Central.

This release includes 51 bug fixes, documentation improvements, and dependency upgrades. Thanks to all those who have contributed with issue reports and pull requests.

How can you help?

If you're interested in helping out, check out the "ideal for contribution" tag in the issue repository. If you have general questions, please ask on stackoverflow.com using the spring-boot tag or chat with the community on Gitter.

Project Page | GitHub | Issues | Documentation | Stack Overflow |

Spring Cloud Dataflow 2.11.5 Released

Releases | Chris Bono | September 19, 2024 | ...

On behalf of the team and everyone who has contributed, I’m happy to announce that Spring Cloud Dataflow 2.11.5 has been released and is now available from Maven Central.

This release contains several bug fixes and nuemrous dependency upgrades. Spring Boot version and addresses a couple of CVEs. See the release notes for more information.

Stay in touch...

As always, we welcome feedback and contributions, so please reach out to us on Stackoverflow or GitHub.

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all