Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
A Practical Introduction to Spring AI
Rating: 4.7 out of 5(10 ratings)
215 students

A Practical Introduction to Spring AI

A beginner friendly course to understand Spring AI
Created byHimanshu Sharma
Last updated 10/2025
English

What you'll learn

  • Understand the fundamentals of Spring AI
  • Set up and configure Spring Boot projects with Spring AI
  • Work on a completely offline setup with Ollama and Docker, no external API required for AI features.
  • Understanding of RAG and MCP in Spring AI

Course content

7 sections25 lectures1h 29m total length
  • Instructor Intro0:16
  • Course Introduction0:59

Requirements

  • Basic understanding of Java programming
  • Familiarity with Spring Boot or general Spring Framework concepts
  • Basic understanding of Maven build tool

Description

This course helps students to understand different aspects of Spring AI. Ollama is used for hosting the LLM models locally which will allow students to work with language models without requiring any subscription.

ChatModel

In this section student will get an idea on the purpose of ChatModel and how it can be used in different ways to interact with language models.

ChatClient

In this section, students will get an idea about ChatClient interface which internally use ChatModel but provide convenient developer friendly methods to interact with language models. Also, student will get to know how to have a memory in their flow so that language model can able to recall previous discussion to answer query.

Embed Model

In this section, students will get an understanding of embedding models and their purpose in AI engineering. They will able to interact with embedding models and will also interact with vector store for storage and retrieval of the data.

Retrieval Augmented Generation (RAG)

In this section, students will get to know about RAG flow and the role of chat and embedding models in this setup.

Model Context Protocol (MCP)

In this section, students will get to know about tool calling feature and how it is closely related to MCP. Also how Spring AI can be used to setup MCP client and server interaction.

Model Evaluation

In this section, students get to know how models can be evaluated using Spring AI evaluators.

Who this course is for:

  • Java developers interested in integrating AI in their applications
  • Beginner or intermediate Java or SpringBoot developers interested in Spring AI