Building a Spring Boot Reference Documentation Assistant with Spring AI & GPT-4

  Рет қаралды 6,678

Dan Vega

Dan Vega

Күн бұрын

In this tutorial we will take a lot of the features in Spring AI we have been talking about to build a command line utility that talks to Open AI's GPT-4. To ensure we have access to the latest documentation we will use the Spring Boot Reference Documentation. We can use a technique called Retrieval Augmented Generation (RAG) with a vector database. This was a really fun demo to put everything we have learned together in a real world application. Enjoy!
Spring AI 1.0 Updates
The syntax for some of the features we went through in this video might have changed a little bit with the release of 1.0. Please check out this video I did on the changes in 1.0.0 M1
• What's new in Spring A...
🔗Resources & Links mentioned in this video:
GitHub Repo: github.com/dan...
👋🏻Connect with me:
Website: www.danvega.dev
Twitter: / therealdanvega
Github: github.com/dan...
LinkedIn: / danvega
Newsletter: www.danvega.de...
SUBSCRIBE TO MY CHANNEL: bit.ly/2re4GH0 ❤️

Пікірлер: 19
@husane2161
@husane2161 4 ай бұрын
Dan you’re on fire!! Thank you for all your spring AI videos!!
@DanVega
@DanVega 4 ай бұрын
Thank you for watching them! I'm having a lot of fun making them 🤩
@billybobbain
@billybobbain 2 ай бұрын
I've really learned a lot from this series on Spring AI. I had issues on my mac with the spring console, so went back to the REST api implementation from earlier and got it all working with a PDF on GDPR. Thanks for publishing this series. Your enthusiasm is a bonus.
@ahmadshlool5803
@ahmadshlool5803 3 ай бұрын
Super Dan, your tutorial is powerful! Keep diving deeper! I've got a comment about JDBC - why stick with it when we're all about Spring? Let's Spring Data our way to glory! 🤪🌱
@ianmacharia254
@ianmacharia254 4 ай бұрын
Very insightful video Mr. Dan. Been following your videos of late and are for sure very useful 👍
@nagamohank2244
@nagamohank2244 4 ай бұрын
Dan, as usual, great stuff, Thanks for the insightful content on AI with spring
@nlucas
@nlucas 4 ай бұрын
Great fun this series, Thanks for putting this together!
@manuonda
@manuonda 4 ай бұрын
Thanks Dan for this video!.Greetings.
@mudabirburfat9401
@mudabirburfat9401 6 күн бұрын
Hi Dan, It was great seeing this series of lectures on Spring AI, I have a question: Can we configure VectorStore to interact with multiple vector tables? so we can compensate different business logics?
@maksymilianbienkowski6959
@maksymilianbienkowski6959 Ай бұрын
Nice! Very usefull app
@crampanelarutzi
@crampanelarutzi 4 ай бұрын
Hi Dan. Really nice presentation with very useful information. Can you maybe make a video of how you could slit the context of OpenAI per user? I mean every user that calls your api, to have his own context in communicating with the LLM.
@wpxndkq-spwnq
@wpxndkq-spwnq 4 ай бұрын
Thank you, Dan! I wrote contents about build AI application in Spring AI and Java with your introduce Spring AI and Spring AI official docs in South Korea blog. But I wondering about testing Spring AI. as you know, I use Junit and Mockito when write test code in Spring. If I use RestTemplate or WebClient instead of Spring AI, I can use Mockito for AI function test. but I think if I use Spring AI, I don't know how I test AI function code. could you help in this problem?
@markus1971100
@markus1971100 4 ай бұрын
Thanks Dan for this great Introduction. Is there a way to estimate how many tokens are used by a query and maybe setup some limits to control the costs? And is it possible to return the used token counts for a question so one can book-keep on this? Kepp up the good Work! Regards Markus
@sohamsarkar174
@sohamsarkar174 4 ай бұрын
Dan, instead of PDF, can we use Excel? If so, what dependencies do we need to add?
@WorldofTechnology1160
@WorldofTechnology1160 4 ай бұрын
Good video
@sohamsarkar174
@sohamsarkar174 4 ай бұрын
Thank you Dan for another spring AI video, I have one doubt. Can we ask follow-up questions related to the previous question I asked? Will it give a relevant answer, or will it consider two questions as completely new?
@DanVega
@DanVega 4 ай бұрын
Sorry for not answering this in the other video. No there will be no memory of the conversation so each question is it's own. If you want to you could keep a cache of the questions in a session and send them along as messages so it has the context of the previous one. This is something that the Spring AI team is looking at.
@sohamsarkar174
@sohamsarkar174 4 ай бұрын
@@DanVega No issue Dan. Thank you
@gaticao
@gaticao Ай бұрын
Is there any way to use an embedded database like H2 or embedded MongoDB? I don't have permission to install Docker or PostgreSQL on my machine
Шок. Никокадо Авокадо похудел на 110 кг
00:44
Пришёл к другу на ночёвку 😂
01:00
Cadrol&Fatich
Рет қаралды 9 МЛН
Bike vs Super Bike Fast Challenge
00:30
Russo
Рет қаралды 23 МЛН
At the end of the video, deadpool did this #harleyquinn #deadpool3 #wolverin #shorts
00:15
Anastasyia Prichinina. Actress. Cosplayer.
Рет қаралды 19 МЛН
5 Common Mistakes Spring Developers Make
18:06
Dan Vega
Рет қаралды 18 М.
Why are vector databases so FAST?
44:59
Underfitted
Рет қаралды 17 М.
New Prompt Generator Just Ended the Need for Prompt Engineering
10:43
Skill Leap AI
Рет қаралды 134 М.
Spring Tips: Vector Databases with Spring AI
23:55
SpringDeveloper
Рет қаралды 8 М.
RAG from the Ground Up with Python and Ollama
15:32
Decoder
Рет қаралды 30 М.
Self-Improving Agents are the future, let’s build one
34:03
David Ondrej
Рет қаралды 69 М.
Шок. Никокадо Авокадо похудел на 110 кг
00:44