Spring AI in Action cover
welcome to this free extract from
an online version of the Manning book.
to read more
or
about-this-book

about this book

 

Spring AI in Action was written to introduce you to building incredible applications that wield the power of generative AI through Spring AI.

It begins with the most basic thing that you can do: submitting a prompt to a large language model (LLM). From there, it shows how to implement techniques such as retrieval-augmented generation (RAG), tool use, and chat memory to augment prompts with context that unlock better responses. Then, you’ll learn how to use Spring AI to add voice and image-based generation to your apps, enable observability and metrics, and work with generative AI securely. Finally, you’ll get a taste of what it takes to build generative AI agents with Spring AI.

While Spring AI’s reference documentation is top-notch, this book goes further, providing a hands-on tour through the Spring AI ecosystem, including building a complete generative AI-based application.

Who should read this book

Spring AI in Action is for Java developers familiar with Spring and Spring Boot who are interested in applying generative AI in their existing Java applications without resorting to Python or other languages more commonly associated with AI.

How this book is organized: A road map

The book is made up of 12 chapters:

About the code

liveBook discussion forum

Need additional help?