🚀 Spring AI 2.0 Milestone 1 is officially available, and it's a huge update for Java developers! In this video, I'll walk you through everything new in this release, including the much-anticipated Spring Boot 4 and Spring Framework 7 support.
We'll explore the release highlights together that includes 25 enhancements, improved documentation, and exciting new features like Redis-based chat memory, Anthropic's citations and skills API, and the official OpenAI Java SDK integration. You'll learn how to set up a new Spring AI 2.0 project from scratch, and I'll provide you with a complete GitHub repository so you can explore all the code yourself.
🎯 What You'll Learn:
âś… How to create a Spring AI 2.0 project with Spring Boot 4 and Spring Framework 7
âś… Using Redis Chat Memory Repository for persistent conversations across server restarts
âś… Implementing Anthropic's new Citations feature for document-based responses
âś… Generating PDFs, Word docs, and Excel files with Anthropic's Skills API
âś… Understanding the new Official OpenAI Java SDK vs Spring AI's OpenAI integration
âś… Using the OpenAI Responses API for web search capabilities
📚 Resources & Links:
đź”— GitHub Repository: https://github.com/danvega/hello-spri...
đź”— Spring AI 2.0 Preview Documentation: https://docs.spring.io/spring-ai/refe...
👋🏻Connect with me:
Website: https://www.danvega.dev
Twitter: Twitter: therealdanvega
Github: https://github.com/danvega
LinkedIn: LinkedIn: danvega
Newsletter: https://www.danvega.dev/newsletter
SUBSCRIBE TO MY CHANNEL: http://bit.ly/2re4GH0 ❤️
🚀 Spring AI 2.0 Milestone 1 is officially available, and it's a huge update for Java developers! In this video, I'll walk you through everything new in this release, including the much-anticipated Spring Boot 4 and Spring Framework 7 support.
We'll explore the release highlights together that includes 25 enhancements, improved documentation, and exciting new features like Redis-based chat memory, Anthropic's citations and skills API, and the official OpenAI Java SDK integration. You'll learn how to set up a new Spring AI 2.0 project from scratch, and I'll provide you with a complete GitHub repository so you can explore all the code yourself.
🎯 What You'll Learn:
âś… How to create a Spring AI 2.0 project with Spring Boot 4 and Spring Framework 7
âś… Using Redis Chat Memory Repository for persistent conversations across server restarts
âś… Implementing Anthropic's new Citations feature for document-based responses
âś… Generating PDFs, Word docs, and Excel files with Anthropic's Skills API
âś… Understanding the new Official OpenAI Java SDK vs Spring AI's OpenAI integration
âś… Using the OpenAI Responses API for web search capabilities
📚 Resources & Links:
đź”— GitHub Repository: https://github.com/danvega/hello-spri...
đź”— Spring AI 2.0 Preview Documentation: https://docs.spring.io/spring-ai/refe...
👋🏻Connect with me:
Website: https://www.danvega.dev
Twitter: Twitter: therealdanvega
Github: https://github.com/danvega
LinkedIn: LinkedIn: danvega
Newsletter: https://www.danvega.dev/newsletter
SUBSCRIBE TO MY CHANNEL: http://bit.ly/2re4GH0 ❤️
A lot of developers in the community are struggling to figure out the 'right' way to handle this. Currently, the default Chat Memory implementation doesn't seem to persist the intermediate tool execution responses—it remembers the user's prompt but often loses the context of what the tool actually returned.
It would be incredibly helpful to see a deep dive on how to solve this properly. Are we supposed to write custom Advisors to capture those tool outputs manually, or is there a cleaner pattern in the new update? Thanks!