Timo Salm & Sandra Ahlgrimm
Building AI-Driven Spring Applications With Spring AI
#1about 3 minutes
The evolution from machine learning to generative AI
Generative AI builds upon machine learning and deep learning by creating flexible, reusable models applicable to any domain or industry task.
#2about 3 minutes
Understanding foundation models, prompts, and tokens
Large language models (LLMs) use prompts and tokens to generate text, images, and other content based on complex probability calculations.
#3about 3 minutes
Introducing Spring AI for generative AI applications
Spring AI simplifies building generative AI applications by providing abstractions for models, vector databases, and advanced patterns like RAG.
#4about 6 minutes
Building a basic recipe finder with Spring AI
Use a ChatClient and prompt templates in Spring AI to easily call a large language model and map its JSON output to a Java object.
#5about 4 minutes
Switching AI models with only configuration changes
Spring AI's abstraction layer allows you to switch between different large language models, like from Ollama to Azure OpenAI, by only updating dependencies and application properties.
#6about 7 minutes
Enhancing prompts with real-time data using function calling
Implement function calling in Spring AI by defining a function as a bean, allowing the LLM to invoke your application's code to retrieve up-to-date information.
#7about 5 minutes
Implementing retrieval augmented generation with a vector store
Use Spring AI's vector store APIs and a QuestionAnswerAdvisor to implement Retrieval Augmented Generation (RAG), enriching the LLM's context with your own business data.
Related jobs
Jobs that call for the skills explored in this talk.
Picnic Technologies B.V.
Amsterdam, Netherlands
Senior
Java
Amazon Web Services (AWS)
+1
Sopra Steria Custom Software Solutions GmbH
München, Germany
€78-100K
Senior
Java
JavaScript
+3
Matching moments
09:10 MIN
How AI is changing the freelance developer experience
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
14:06 MIN
Exploring the role and ethics of AI in gaming
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
02:49 MIN
Using AI to overcome challenges in systems programming
AI in the Open and in Browsers - Tarek Ziadé
03:15 MIN
The future of recruiting beyond talent acquisition
What 2025 Taught Us: A Year-End Special with Hung Lee
08:29 MIN
How AI threatens the open source documentation business model
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
04:06 MIN
Using AI to enable human connection in recruiting
Retention Over Attraction: A New Employer Branding Mindset
03:28 MIN
Why corporate AI adoption lags behind the hype
What 2025 Taught Us: A Year-End Special with Hung Lee
06:44 MIN
Using Chrome's built-in AI for on-device features
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
Featured Partners
Related Videos
Java Meets AI: Empowering Spring Developers to Build Intelligent Apps
Timo Salm
Should we build Generative AI into our existing software?
Simon Müller
Create AI-Infused Java Apps with LangChain4j
Daniel Oh & Kevin Dubois
Infusing Generative AI in your Java Apps with LangChain4j
Kevin Dubois
Supercharge your cloud-native applications with Generative AI
Cedric Clyburn
AI: Superhero or Supervillain? How and Why with Scott Hanselman
Scott Hanselman
Langchain4J - An Introduction for Impatient Developers
Juarez Junior
The Future of Developer Experience with GenAI: Driving Engineering Excellence
Daniel Tao, Kathrin Schwan, Faris Haddad & Florian Schaudel
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.



OpenAI
München, Germany
Senior
API
Python
JavaScript
Machine Learning

Amazon.com Inc.
XML
HTML
JSON
Python
Data analysis
+1

Amazon.com Inc.
XML
HTML
JSON
Python
Data analysis
+1


BMW AG
München, Germany
Senior
Python
PyTorch
TensorFlow
Computer Vision
Natural Language Processing

The Rolewe
Charing Cross, United Kingdom
API
Python
Machine Learning

Amazon.com Inc.
Senior
R
API
Unix
Perl
Ruby
+7