Building AI-Driven Spring Applications With Spring AI
Imagine an AI that checks your smart fridge for ingredients before generating a recipe. See how to build it using Spring AI, function calling, and a vector database.
#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.
Matching moments
02:54 MIN
Exploring frameworks for building agentic AI applications in Java
Supercharge Agentic AI Apps: A DevEx-Driven Approach to Cloud-Native Scaffolding
01:20 MIN
Implementing RAG and tool calling with Spring AI
Java Meets AI: Empowering Spring Developers to Build Intelligent Apps
04:29 MIN
Implementing the same AI application with Spring AI
Java Meets AI: Empowering Spring Developers to Build Intelligent Apps
02:38 MIN
Practical examples of using AI in daily life
Collaborative Intelligence: The Human & AI Partnership
05:32 MIN
GenAI applications and emerging professional roles
Enter the Brave New World of GenAI with Vector Search
06:57 MIN
Building an AI application using LangChain4j
Java Meets AI: Empowering Spring Developers to Build Intelligent Apps
04:05 MIN
Understanding the fundamental shift to generative AI
Your Next AI Needs 10,000 GPUs. Now What?
01:27 MIN
Using AI to reimagine the developer experience
AI Pair Programming with GitHub Copilot at SAP: Looking Back, Looking Forward!
Stephan Gillich - Bringing AI EverywhereIn the ever-evolving world of technology, AI continues to be the frontier for innovation and transformation. Stephan Gillich, from the AI Center of Excellence at Intel, dove into the subject in a recent session titled "Bringing AI Everywhere," sheddi...
Daniel Cranney
Panel Discussion: Responsible AI in Practice - Real-World Examples and ChallengesIntroductionIn the ever-evolving landscape of artificial intelligence, the concept of "responsible AI" has emerged as a cornerstone for ethical and practical AI implementation. During the WWC24 Panel discussion, three eminent experts—Mina, Bjorn Brin...
Chris Heilmann
Exploring AI: Opportunities and Risks for DevelopersIn today's rapidly evolving tech landscape, the integration of Artificial Intelligence (AI) in development presents both exciting opportunities and notable risks. This dynamic was the focus of a recent panel discussion featuring industry experts Kent...
Benedikt Bischof
How we Build The Software of TomorrowWelcome to this issue of the WeAreDevelopers Live Talk series. This article recaps an interesting talk by Thomas Dohmke who introduced us to the future of AI – coding.This is how Thomas describes himself:I am the CEO of GitHub and drive the company’s...
From learning to earning
Jobs that call for the skills explored in this talk.