From Zero to AI: Building Smart Java or Kotlin Applications with Spring AI
summary
Spring AI shows how to add generative models to Java/Kotlin apps using a chat client, vector stores (Chroma), embedding models, and conversation memory that records and re-injects recent messages; it demonstrates tool/function calling by auto-exposing Java methods as callable tools (flight booking, file read/write, Brave web search) and wires them via MCP clients/servers (local STDIO or HTTP) into CloudDesktop; it loads docs into a vector DB for Modular RAG, returns typed JSON via generated schemas, streams tokens, and surfaces metrics/traces with Micrometer and Loki.
AI-written summary · about
chapters (11)
- 0:00Introduction and overview
- 10:44Spring AI fundamentals
- 21:05Tool calling in Spring AI
- 29:20Memory and conversation handling
- 34:01Retrieval Augmented Generation
- 49:03Observability with Spring AI
- 54:42Structured output in AI models
- 1:06:31Multimodality in AI
- 1:20:00Model Context Protocol basics
- 1:30:39Exposing Spring AI as MCP server
- 1:43:02Agentic systems and future trends
