Spring AI - Multimodality - Orbis Sensualium Pictus

Engineering | Christian Tzolov | April 19, 2024 | ...

UPDATE 20.07.2024 : Update Message API hierarchy diagram and update the model names supporting multimodality

UPDATE 02.06.2024 : Add an additional code snippet showing how to use the new ChatClient API.

Humans process knowledge, simultaneously across multiple modes of data inputs. The way we learn, our experiences are all multimodal. We don't have just vision, just audio and just text.

These foundational principles of learning were articulated by the father of modern education John Amos Comenius, in his work, "Orbis Sensualium Pictus", dating back to 1658.

orbis-sensualium-pictus2

"All things that are naturally connected ought to be taught in combination"

This Week in Spring - April 16th, 2024

Engineering | Josh Long | April 16, 2024 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! I'm writing this from beautiful Paris, France, ahead of the amazing Devoxx France event. I've come to almost all of these events over the years. It's hard to believe it's been more than a decade since the show was first announced. I remember when these franchise editions - Devoxx UK, Devoxx FR, Devoxx PL, Devoxx MA, Devoxx UA, etc. - were new and novel. Now, rumor has it, this year edition of Devoxx FR will be even larger than Devoxx Belgium! What a coup. I love Devoxx. I've talked about it endlessly, but last year's…

Spring Framework 6.2.0-M1: Overriding Beans in Tests

Engineering | Simon Baslé | April 16, 2024 | ...

Spring Framework 6.2.0-M1 has been released, including changes that resolve more than one hundred issues. Among those are a range of new features in Spring's testing support.

In this post, I’d like to walk you through one of these new testing features: Bean Overriding support.

The previous state of affairs

Using the Spring TestContext Framework, you can easily verify the correct wiring of your Spring application within integration tests using an annotation-driven model.

In unit testing, dependency injection and Spring design principles make your code less dependent on the container and make it…

Spring Framework 6.2.0-M1: all the little things

Engineering | Stéphane Nicoll | April 11, 2024 | ...

The Spring Framework team has been busy reviewing the issue tracker in anger and reducing the number of opened issues. This was long overdue, with a number of issues being invalid or superseded in the meantime. This helped the team focusing on a more manageable amount of issues and we used the opportunity to look at long standing issues that we haven’t had the time to address yet.

In this post, I’d like to walk you through a collection of those relatively small issues, sometimes highly voted, that are finally available in this milestone.

Support for escaping property placeholders

Property placeholders are a way to replace a property from the environment in an arbitrary String. Assuming that customer.name is set to "John Smith" in the Environment

This Week in Spring - April 9th, 2024

Engineering | Josh Long | April 09, 2024 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! I'm in Las Vegas, NV, at the moment, preparing for my part in the huuuuuge Google Cloud Next keynote. I'm so excited! And then it's off to the amazing and glorious Devnexus event! If you're at either event, please say Hi!.

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