Supercharging Your AI Applications with Spring AI Advisors

Engineering | Christian Tzolov | October 02, 2024 | ...

In the rapidly evolving world of artificial intelligence, developers are constantly seeking ways to enhance their AI applications. Spring AI, a Java framework for building AI-powered applications, has introduced a powerful feature: the Spring AI Advisors.

The advisors can supercharge your AI applications, making them more modular, portable and easier to maintain.

If reading the post isn't convenient, you can listen to this experimental podcast, AI-generated from blog's content:

What are Spring AI Advisors?

At their core, Spring AI Advisors are components that intercept and potentially modify the flow of chat-completion requests and responses in your AI applications. The key player in this system is the AroundAdvisor

From Spring Framework 6.2 to 7.0

Engineering | Juergen Hoeller | October 01, 2024 | ...

Dear Spring community,

Spring Framework 6.2 is shaping up for general availability in November 2024, with particularly significant revisions in the core container and in our web support: see "What's New in Spring Framework 6.2". This release is designed for use with JDK 17-23 and Jakarta EE 9-10.

At the same time, we are planning toward 2025 already, and it is my pleasure to announce that our November 2025 release will be the start of a new major generation: Spring Framework 7.0!

We will upgrade our baseline to Jakarta EE 11 (Tomcat 11, Hibernate ORM 7, Hibernate Validator 9) and embrace the upcoming JDK 25 LTS, while retaining a JDK 17 baseline in alignment with the wider Java ecosystem. For Kotlin applications, we intend to base Spring Framework 7's support on Kotlin 2. Last but not least, our null-safety strategy is converging with the recently released JSpecify

This Week in Spring - October 1st, 2024

Engineering | Josh Long | October 01, 2024 | ...

Hi, Spring fans! it's the first of October! We're officially in the fourth quarter of 2024! Time's moving too quickly. Way too quickly. But as always, there's awesome stuff afoot, so let's dive right in!

Spring Boot 2.7 Support Period Extended

News | Michael Minella | September 27, 2024 | ...

Upgrading takes time. We understand that. Spring Boot 3 came out in November of 2022 bringing with it a new, modernized baseline of Java 17 and the migration from Java EE to Jakarta EE. It included over 55 managed dependency updates. Native compilation via GraalVM was a first-class option across the portfolio and observability out of the box was a core capability of all Spring projects. However, it wasn't until Spring Boot 3.2 where we began to see that the community's adoption of Spring Boot 3 surpassing that of Spring Boot 2's adoption. Spring Boot 3 has quickly overtaken Spring Boot 2 but…

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:

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