Spring AI in Action

Spring AI in Action book cover

Spring AI in Action

Author(s): Craig Walls (Author)

  • Publisher: Manning Publications
  • Publication Date: December 2, 2025
  • Language: English
  • Print length: 320 pages
  • ISBN-10: 163343611X
  • ISBN-13: 9781633436114

Book Description

Use Spring AI to add generative AI features like virtual assistants, text summaries, and suggestions to your Java applications.

No matter what kind of software you’re building, there’s a huge demand for AI features! Until recently, though, Java developers have had few good tools for adding AI features to existing and new applications. Spring AI, an exciting new extension for Spring and Spring Boot, changes the equation. Spring AI provides generative AI capabilities natively within the framework, so you can stick with Java end-to-end. Spring AI in Action shows you how!

In Spring AI in Action you will:

• Learn Spring AI from the ground up!
• Create text summaries, virtual assistants and more in Spring Boot applications
• RAG and other techniques to improve LLM responses
• Text from images and images from text

Spring AI makes it much, much easier to add generative AI features to Spring applications. With this powerful framework extension, you can write familiar Java code to build AI features like virtual assistants, text summaries, and smart search suggestions.

About the technology

When it comes to AI applications, no Python, no problem! The Spring AI framework makes it possible to add LLM-based features to any Spring application using Java or other JVM languages like Kotlin. From setting up Retrieval Augmented Generation (RAG) to creating AI agents, Spring AI is fast, powerful, and instantly familiar.

About the book

In Spring AI in Action, bestselling author Craig Walls shows you how to build AI applications natively using Spring AI and Spring Boot. You’ll start with a simple “Hello AI World” example and quickly advance to more sophisticated techniques, including RAG, AI agents, tool use, speech, and AI observability. You’ll see Craig’s practical example-driven approach—with a relentless emphasis on getting stuff done.

What's inside

• Learn Spring AI from the ground up!
• Create text summaries, virtual assistants and more
• RAG, agents, and multimodal AI
• Chat and conversational memory
• AI tool use

About the reader

For Spring developers. No Generative AI skills required.

About the author

Craig Walls is a principal engineer, a member of the Spring engineering team, and a frequent conference speaker. He is the author of Spring in Action, the bestselling book ever published on Spring Framework.

Table of Contents

1 Getting started with Spring AI
2 Evaluating generated responses
3 Submitting prompts for generation
4 Talking with your documents
5 Enabling conversational memory
6 Activating tool-driven generation
7 Applying Model Context Protocol
8 Generating with voice and pictures
9 Observing AI operations
10 Safeguarding generative AI
11 Applying generative AI patterns
12 Employing agents

Get a free eBook (PDF or ePub) from Manning as well as access to the online liveBook format (and its AI assistant that will answer your questions in any language) when you purchase the print book.

Editorial Reviews

About the Author

Craig Walls is an engineer at VMware, a member of the Spring engineering team, a popular author, and a frequent conference speaker. He is the author of Spring in Action, the bestselling book ever published on Spring Framework.

Amazon Page

下载地址

PDF, EPUB | 22 MB | 2025-11-19
下载地址 Download解决验证以访问链接!
打赏
未经允许不得转载:finelybook » Spring AI in Action

评论 抢沙发

觉得文章有用就打赏一下文章作者

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫