Spring AI
summary
Spring AI provides a Spring Boot integration that wires OpenAI models, a chat client and vector stores (used Postgres + PGVector) to do RAG over 18 records; embeddings load in ~7s and queries return relevant dog profiles. The demo builds a chat endpoint, adds a prompt-chat-memory advisor to preserve session context, exposes a tool for scheduling (returns a pickup time 3 days out), and calls remote services via MCP (Model Context Protocol) for interoperable tool calling.
AI-written summary · about
chapters (12)
- 0:00Introduction to Spring AI
- 6:03What is Spring AI
- 13:49Building the demo app
- 20:07Creating the chatbot
- 24:41Adding memory to chat
- 27:31System prompt and persona
- 29:16Loading data with RAG
- 34:12Tool calling for actions
- 42:22Model Context Protocol
- 48:24Building an MCP service
- 52:01AI agents and workflows
- 57:43Summary and resources
related talks
42mBootiful Spring AI
49mSpring AI: Seamlessly Integrating AI into Your Enterprise Java Applications
49mBuilding AI Agents with Spring & MCP
51mIntelligent Applications with Spring AI
28mSpring AI: Streamlining Java Enterprise AI Development and Deployment
40mBuilding AI Agents with Spring & MCP
55mSpring into the AI Era: A Practical Exploration for Developers
27mBuilding AI Agents with Spring & MCP
