Learn Backend Development Part-Time, Online
AI Adoption - Drive Business Value and Organizational Impact
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to implement Spring AI Advisors, an AOP-style solution for intercepting, modifying, and enhancing AI interactions in Spring applications without cluttering business logic. Master built-in advisors including the Question & Answer Advisor for implementing retrieval-augmented generation (RAG) and the Chat Memory Advisor for maintaining conversation history in stateless applications. Develop custom advisors for logging, authentication, and data transformation while exploring real-world implementations using OpenAI integration and vector stores. Discover how advisors integrate with observability tools for metrics and tracing, and understand best practices for choosing between blocking and streaming advisor implementations. Gain hands-on experience setting up demo projects, implementing RAG without complex vector store management, adding conversational memory capabilities, and creating comprehensive request/response logging systems. Build upon foundational AI concepts to achieve clean separation of concerns in AI applications while maintaining debugging capabilities through detailed interaction logging.
Syllabus
00:00 Introduction to Spring AI Advisors
01:45 Documentation Overview & Core Components
04:30 Setting Up the Demo Project
06:00 Question & Answer Advisor RAG Implementation
14:10 Chat Memory Advisor Tutorial
18:25 Building Custom Advisors
25:00 Logging Advisor in Action
Taught by
Dan Vega