
Explore what OpenAI is and how the OpenAI API enables developers to access text, images, and audio models via RESTful HTTP calls with Python or JavaScript libraries.
Discover spring AI, a module that simplifies building large language model apps by abstracting boilerplate and enabling chat models for OpenAI, Vertex AI Gemini, and Llama Mistral.
Learn how LLMs lack built-in memory by showing that each request is stateless; build your app to maintain context by sending previous interactions with every query using Spring AI.
Learn how text embeddings convert words, phrases, and sentences into numeric vectors that capture context and meaning, enabling similarity, search, recommendations, and language translation.
Walk through building a job-search feature with a vector store and semantic search. Load and chunk listings, compute embeddings with OpenAI, and query a chroma DB to fetch matching jobs.
Finish implementing a rag use case by building a product data bot that returns a string response to user queries via the OpenAI service and a vector store.
Build an image generator using OpenAI image models by entering a prompt to produce and display an image URL in a Thymeleaf UI.
Pass system and user messages in Spring AI to guide the LLM, implement generate answer with roles, and prepare prompts and media for image analysis.
Welcome to Spring AI for Beginners!
This course is designed to provide a gentle, step-by-step introduction to Spring AI, guiding you
from the basics to more advanced concepts. Whether you're a complete novice or have some
experience with AI, this course will help you understand and leverage the power of Spring AI for
building AI-powered applications.
Course Goals:
- Gradual Learning: Learn Spring AI gradually from basic to advanced topics with clear and
concise instructions.
- Comprehensive Understanding: Understand why Spring AI is a powerful tool for building AI
applications and how it simplifies the integration of language models into your projects.
- Hands-On Experience: Gain practical experience with essential Spring AI features such as
prompt templates, chains, agents, document loaders, output parsers, and model classes.
What You Will Learn:
- Introduction to Spring AI: Get started with the basics of Spring AI and understand its core
concepts.
- Building Blocks of Spring AI: Learn about prompt templates, chains, agents, document loaders,
output parsers, and model classes.
- Creating AI Applications: See how these features come together to create a smart and flexible
- Practical Coding: Write and run code examples to get a hands-on sense of how Spring AI
development looks like.
Course Structure:
- Concise Chapters: Each chapter focuses on a specific topic in Spring AI programming,
ensuring you gain a deep understanding of each concept.
- Interactive Learning: Code along with the examples provided to reinforce your learning and build
your skills.
By the end of this course, you will:
Learn what Spring AI is how it simplifies using LLMs in our applications
Use OpenAI LLMs in a Spring Boot application
Use Open Source LLMs like Mistral,Gemma in a Spring Boot application
Run Open Source LLMs on your local machine using OLLAMA
Use PromptTemplates to reuse and build dynamic prompts
Learn why and how to maintain Chat History
Learn what embeddings are and use the Embeddings Model to find text Similarity
Understand what a Vector Store is and use it to store and retrieve Embeddings
Understand the process of Retrieval Augmented Generation(RAG)
Implement (RAG) to use our own data with LLMs in simple steps
Analyze images using Multi Modal Models
Build multiple LLM APPs using Thymeleaf and Spring AI
All in simple steps