Spring AI for Beginners

Module 15 of 17

Module 15: Glossary of Spring AI Terms

4 min read691 words
What you'll learn
Recognize the key terms used across this trackExplain each in simple languageUse this page as a quick reference

"One page, the whole vocabulary. Once these feel familiar, Spring AI docs and tutorials read like plain English."

Level: Reference · Time: ~browse · Prerequisites: none

Learning Objectives

By the end of this module, you will be able to:

  • Recognize the key terms used across this track
  • Explain each in simple language
  • Use this page as a quick reference

Try this: Skim the tables now, then come back whenever a term trips you up mid-project. Reading the plain-meaning column out loud is a fast way to lock a concept in — most of these will click after you've built with them once.

Java & Spring

The foundation everything else rests on — the language that runs on the JVM, the Spring Boot framework that wires your app together, and the Maven tooling you met back in Modules 1–3.

TermPlain meaning
JVMThe engine that runs compiled Java on any OS
Class / methodA blueprint / an action it can perform
Spring BootFramework that removes Java setup boilerplate
BeanAn object Spring creates and manages for you
Dependency injectionYou ask for objects; Spring provides them
AnnotationAn @ label telling Spring how to treat code
Maven / pom.xmlBuild tool / file listing your dependencies
application.yamlConfig file (model names, endpoints, keys)

Spring AI Core

The handful of Spring AI types you'll touch in almost every project. If a class name in the code samples looks unfamiliar, this is the first table to check.

TermPlain meaning
Spring AIBuilding blocks for adding AI to Spring apps
ChatModelThe low-level connection to an AI model
ChatClientThe friendly, fluent API you use most
AdvisorA plug-in that wraps each call (memory, RAG)
PromptTemplateA reusable prompt with {variable} slots
StarterA dependency that auto-configures a provider
.entity(Type.class)Parse the reply into a typed Java object

AI & Prompting

Vocabulary that applies to any AI model, not just Spring AI. Knowing these words makes provider documentation and blog posts far easier to follow.

TermPlain meaning
TokenA small chunk of text (~¾ word) the model processes
Context windowHow much text the model can consider at once
Prompt engineeringDesigning input to get better output
Zero-shot / few-shotNo examples / a few examples in the prompt
Chain of thoughtAsking the model to reason step by step
HallucinationA confident but false answer
Stateless / statefulForgets each turn / remembers the conversation

Memory & RAG

Terms for giving a model a memory and grounding it in your own documents — the ideas behind Modules 5 and 8–10.

TermPlain meaning
ChatMemoryStores conversation history
MessageWindowChatMemoryKeeps the last N messages (sliding window)
Conversation IDKeeps each user's chat separate
RAGRetrieve your docs, then answer from them
ChunkA small piece of a split document
EmbeddingText turned into meaning-capturing numbers
Vector storeDatabase of embeddings for similarity search
Cosine similarityScore of how "aligned" two meaning-vectors are
QuestionAnswerAdvisorOne-line RAG built into ChatClient

Tools, MCP & Agents

The language of action — letting a model call your code, reach external systems over MCP, and coordinate multi-step work, as covered in Modules 11–14.

TermPlain meaning
ToolA function the model can call to act
@Tool / @ToolParamAnnotations that define an in-app tool
ReActReason → Act → Observe → repeat loop
Tool chainingThe model calls several tools in one turn
MCPOpen standard to connect AI to external tools
@McpToolExposes a tool on an MCP server
ToolCallbackProviderClient helper that discovers/calls MCP tools
Agentic workflowMultiple orchestrated LLM calls
Chain / Routing / Evaluator-OptimizerThree of the five agentic patterns

Key Takeaway: These terms span the whole track — Java and Spring basics, Spring AI's core (ChatClient, advisors, templates), prompting, memory, RAG, tools, MCP, and agentic patterns. Bookmark this page as your quick reference while you build.

Further Learning

Part of "Spring AI for Beginners." Terms adapted from Microsoft's open Spring AI curriculum (MIT License).