Intro to Spring AI
summary
Builds a Spring Boot app that calls LLMs through Spring AI chat client, tries a local AMA local models fallback then switches to OpenAI when the local model isn’t available, and fixes a demo bug that returned empty output by adding a missing request body. Uses prompt templates to inject a rules file for Q&A about Burger Battle, measures token usage (about 1,482 prompt tokens and ~63 generation tokens), notes cost under a penny, and outlines using a vector store/RAG for larger docs.
AI-written summary · about
chapters (11)
- 0:00Introduction and welcome
- 7:49Speaker introduction and background
- 10:55What is Spring AI and why use it
- 13:22Spring AI features overview
- 25:23Live demo setup and first example
- 37:30Generative AI testing challenges
- 43:04Prompt templates and RAG basics
- 51:15Live demo with Burger Battle rules
- 57:20Retrieval Augmented Generation explained
- 58:25Spring AI vs other libraries
- 1:00:32Closing and resources
