К содержимому
learnspaceYOUR NEXT CHAPTER
ПРОСТРАНСТВО ОБУЧЕНИЯ
ГлавнаяКаталог курсовМоё обучениеCoursera

Знания без границ

Учитесь у лучших университетов и компаний мира.

Открыть Coursera
Интеграция
Пространство университета
Моё пространствоСтраница курса
↵
ЯЛичный кабинетСтудент
© 2026 LearnSpaceКаждый день — возможность узнать больше.Помощь
Build AI Apps with Spring AI, OpenAI, Ollama & SpringBoot · LearnSpace
Назад в каталог
courseraПрограммирование

Build AI Apps with Spring AI, OpenAI, Ollama & SpringBoot

Курс от Packt
Средний≈ 18.3 чАнглийский
О курсеНавыкиПрограммаПреподаватели

О курсе

This course features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. In this course, you will explore how to harness the power of Spring AI, OpenAI, and Ollama to create intelligent AI-driven applications using Java and Spring Boot. From understanding the fundamentals of large language models (LLMs) to integrating OpenAI’s API, you'll learn the best practices for building and optimizing AI apps for real-world scenarios. By diving deep into prompt engineering, error handling, and advanced AI concepts like tool calling and Retrieval-Augmented Generation (RAG), this course prepares you to develop robust AI-powered systems. As you progress, you will build key skills around integrating LLMs with various tools, streamlining the messaging process, handling structured outputs, and creating custom advisors. You’ll also explore the exciting realm of multimodal AI by creating and processing images, audio, and vision data through OpenAI’s models. Hands-on projects will ensure that you gain practical experience in developing applications that are both creative and functional, with real-time integration of live data such as weather, currency, and system time. This course is perfect for Java developers, AI enthusiasts, and anyone looking to leverage OpenAI and Spring AI for powerful applications. It is ideal for individuals who have a basic understanding of programming and are looking to develop expertise in integrating AI into Java applications. The course is suitable for intermediate learners, with foundational programming knowledge being essential for the practical exercises and tools covered. By the end of the course, you will be able to integrate AI models with Spring Boot, design and deploy AI-powered systems, build custom message handlers, and process multimodal data like images, text, and audio. You'll also gain hands-on experience in creating real-world applications using Spring AI and OpenAI.

Навыки, которые вы освоите

OpenAIPrompt EngineeringLarge Language ModelingSpring FrameworkRetrieval-Augmented GenerationOpenAI APITool CallingGitHub CopilotAI IntegrationsImage AnalysisLLM ApplicationMultimodal PromptsReal Time DataVector DatabasesGenerative AISpring BootEmbeddings

Программа курса

16 модулей · 111 учебных материалов

01Getting Started With the Course3 материалов

Getting Started With the Course

Course IntroductionВидеоFull Course ResourcesЧтениеPrerequisitesВидео
02Introduction to Large Language Models (LLMs), OpenAI & ChatGPT [Theory]6 материалов

Introduction to Large Language Models (LLMs), OpenAI & ChatGPT [Theory]

Учитесь у экспертов

Packt - Course Instructors

Преподаватель курса

Build AI Apps with Spring AI, OpenAI, Ollama & SpringBoot
В каталоге вашей программы

Инвестируйте в себя

Новые знания — в удобное для вас время.

Начать на Coursera

Обучение откроется на Coursera
в новой вкладке

Обучение на Coursera

≈ 18.3 ч

16 модулей

Язык: Английский

Субтитры: Арабский, Французский, Итальянский, Бразильский португальский, Корейский, Немецкий, Испанский, Японский

Часть программы вашего университета
The World Before LLMs: A Glimpse into the PastВидео
Large Language Models and their EvolutionВидео
Advantages, Challenges with LLMsВидео
Sign up for a ChatGPT Account and Start ExploringВидео
How Developers Used Computers Before and After LLMsDIALOGUE
Introduction to Large Language Models (LLMs), OpenAI & ChatGPT [Theory] - AssessmentЗадание
03Getting Started with Spring AI and OpenAI API15 материалов

Getting Started with Spring AI and OpenAI API

Introduction to Spring AIВидеоSetup OpenAI Account & Open AI PlaygroundВидеоSet Up Java using SDKManВидеоSet up the Base Project using Gradle and IntelliJВидеоLet's Chat with OpenAI Platform using Spring "ChatClient"ВидеоSetting Up Insomnia to Test the Chats EndpointВидеоHow does the ChatClient Work under the Hood? - AutoConfiguration & API call to OpenAIВидеоPrompt, Tokens and Tokenization - What are they?ВидеоOpenAI Request Parameters - temperatureВидеоOpenAI Request Parameters - max_tokensВидеоUnderstanding System, Assistant, and User Messages in OpenAIВидеоSystem, Assistant, and User Messages in ActionВидеоStreaming OpenAI ResponsesВидеоSpring AI and OpenAI Integration: Key ConceptsDIALOGUEGetting Started with Spring AI and OpenAI API - AssessmentЗадание
04Global ErrorHandler to Deal with Exception/Errors using Github Copilot4 материалов

Global ErrorHandler to Deal with Exception/Errors using Github Copilot

SetUp Copilot in IntelliJВидеоError Handling using ControllerAdviceВидеоUsing GitHub Copilot Chat for Global Error Handling in Java ApplicationsDIALOGUEGlobal ErrorHandler to Deal with Exception/Errors using Github Copilot - AssessmentЗадание
05Streamlining Message Passing to LLMs using StringTemplates & PromptTemplates6 материалов

Streamlining Message Passing to LLMs using StringTemplates & PromptTemplates

Building prompts using the Prompt and ChatClientВидеоEnhancing Prompt Management with StringTemplateВидеоUsing PromptTemplate: A Simplified Way to Pass Messages to AIВидеоPassing Dynamic Values to Prompts - Alternative ApproachВидеоManaging and Customizing Prompts for Language Models in Spring AIDIALOGUEStreamlining Message Passing to LLMs using StringTemplates & PromptTemplates - AssessmentЗадание
06Spring AI Advisors: Enhancing AI Interactions5 материалов

Spring AI Advisors: Enhancing AI Interactions

A Quick Introduction to Spring AdvisorsВидеоSpring Advisor in Action - SimpleLoggerAdvisorВидеоLet's Build our own Custom AdvisorВидеоUnderstanding and Implementing Spring AI AdvisorsDIALOGUESpring AI Advisors: Enhancing AI Interactions - AssessmentЗадание
07Prompt Engineering9 материалов

Prompt Engineering

Prompt Engineering & PromptTemplateВидеоPrompt Engineering in Action - Let's Explore the Travel Plan PromptВидеоUnderstanding Prompt Injection and How to Mitigate itВидеоZero Shot PromptingВидеоFew Shot PromptingВидеоChain of Thought PromptingВидеоMastering Multi-Step PromptsВидеоPrompt Engineering Concepts & TechniquesDIALOGUEPrompt Engineering - AssessmentЗадание
08Generating Structured Data with OpenAI & Spring AI9 материалов

Generating Structured Data with OpenAI & Spring AI

Introduction to Structured Outputs in LLMВидеоStructured Outputs using Prompt EngineeringВидеоStructured Outputs with Few Shot Examples using Prompt EngineeringВидеоStructured Outputs using entity() function - Using BeanOutputConverterВидеоHow Structured Outputs work in Spring AI - Under the Hood?ВидеоUsing ParameterizedTypeReference for Structured Outputs - List Collection TypesВидеоGenerate Structured Outputs of type "Map" Collection TypeВидеоExtracting Structured Data from Unstructured Text using Prompt Engineering and Spring AIDIALOGUEGenerating Structured Data with OpenAI & Spring AI - AssessmentЗадание
09Augmenting LLMs using Tool Calling with Spring AI10 материалов

Augmenting LLMs using Tool Calling with Spring AI

Tool Calling - What & Why?ВидеоTool Calling with OpenAI: Accessing System TimeВидеоHow Tool Calling Works under the Hood in OpenAI and Spring AI?ВидеоTool Calling in Action: Accessing Live Currency Exchange RatesВидеоTool Calling in Action using Functions: Accessing Live Weather DataВидеоTool Calling in Action using Spring Beans: Accessing Live Weather DataВидеоStructured Outputs using Tool Calling with "ReturnDirect"ВидеоAdding Metadata to the Tool Calling using ToolContextВидеоUnderstanding and Applying Tool Calling in LLMs with Spring AIDIALOGUEAugmenting LLMs using Tool Calling with Spring AI - AssessmentЗадание
10RAG in Action: Empowering LLMs with External Knowledge using Spring AI5 материалов

RAG in Action: Empowering LLMs with External Knowledge using Spring AI

What is RAG and Why Do We Need It?ВидеоGrounding LLMs & Prompt StuffingВидеоThe Limits of Prompt Stuffing: Why Grounding the Whole Context Doesn't ScaleВидеоIntroduction to RAG and Grounding: Prompt Stuffing in PracticeDIALOGUERAG in Action: Empowering LLMs with External Knowledge using Spring AI - AssessmentЗадание
11Build a Q&A RAG Application with Spring AI8 материалов

Build a Q&A RAG Application with Spring AI

Overview of the RAG-Powered Q&A AppВидеоIntroduction to Vector Databases & IndexingВидеоIndexing in Action: Ingest Docs into the PgVectorDB using PagePdfDocumentReaderВидеоRetriever in Action: Pull the Relevant Docs from the PgVector VectorDBВидеоGenerate in Action - Index, Retrieve, and Generate (End to End RAG App)ВидеоHow are the Embeddings Created Under the Hood?ВидеоBuilding a Q&A Chatbot with RAG and Vector DatabasesDIALOGUEBuild a Q&A RAG Application with Spring AI - AssessmentЗадание
12Document Ingestion Strategies with Spring AI7 материалов

Document Ingestion Strategies with Spring AI

Ingesting Documents using Endpoint - The Right ApproachВидеоIngest Docs using Paragraph ChunkingВидеоIngesting Word Documents using TikaDocumentReaderВидеоIngest Docs using TokenSplitter & TikaDocumentReader - Chunking by TokensВидеоProcessing .txt Files with Spring AI's TextReaderВидеоUploading and Chunking Documents with Spring AI ReadersDIALOGUEDocument Ingestion Strategies with Spring AI - AssessmentЗадание
13Exploring Multimodality: Unlocking Visual Capabilities with OpenAI Image Models7 материалов

Exploring Multimodality: Unlocking Visual Capabilities with OpenAI Image Models

Introduction to MultiModality in AIВидеоCreating an Image using OpenAIВидеоHow Image Generation Works Under the Hood with SpringAI and OpenAIВидеоCustomize Image Generation using Different Inputs to OpenAIВидеоCreating and Saving Images: Base64 JSON to File System using OpenAIВидеоText-to-Image Generation in Multimodal LLM ApplicationsDIALOGUEExploring Multimodality: Unlocking Visual Capabilities with OpenAI Image Models - AssessmentЗадание
14Exploring Multimodality: Unlocking Vision Capabilities with OpenAI5 материалов

Exploring Multimodality: Unlocking Vision Capabilities with OpenAI

Image Analysis with LLMs: Passing Files Directly from Your File SystemВидеоImage Analysis with LLMs: Passing Files as a MultiPart FileВидеоA Real-World Use Case: Invoice Processing using Vision APIВидеоBuilding an Image Analysis API using OpenAI Vision CapabilitiesDIALOGUEExploring Multimodality: Unlocking Vision Capabilities with OpenAI - AssessmentЗадание
15Mastering Multimodality: Creating and Processing Audio with OpenAI Audio Model6 материалов

Mastering Multimodality: Creating and Processing Audio with OpenAI Audio Model

From Text to Sound: Converting Text to Voice with OpenAI's TTS ModelВидеоCustomize Audio Generation with Different Inputs to OpenAI's TTS ModelВидеоIntroduction to the Speech to Text Models and API in OpenAIВидеоCustomize Text to Generation with Different Inputs to OpenAI's Transcription ModelВидеоExploring OpenAI Audio: Text-to-Speech and Speech-to-Text APIsDIALOGUEMastering Multimodality: Creating and Processing Audio with OpenAI Audio Model - AssessmentЗадание
16Building Local AI Applications with Spring AI and Ollama6 материалов

Building Local AI Applications with Spring AI and Ollama

Introduction to Local LLMs and OllamaВидеоSetting Up the Local Environment with OllamaВидеоIntegrating Spring AI with OllamaВидеоBuilding Local AI Applications with Spring AI and Ollama - AssessmentЗаданиеFull Course Practice AssessmentЗаданиеFull Course AssessmentЗадание