Getting started with (Retrieval Augmented Generation) RAG in Java & Spring AI

  Рет қаралды 5,625

Dan Vega

Dan Vega

2 ай бұрын

In this tutorial we will discuss what RAG is and when we might want to reach for this technique. Ill show you how to get start4d with it in Spring AI using a simple example. If you enjoy this be sure to check out my next video where we take it one step further by using a Vector Database.
🔗Resources & Links mentioned in this video:
Spring AI Introduction: • Spring AI Introduction...
Stuffing the Prompt: • Spring AI - Bring your...
GitHub Repository: github.com/danvega/spring-int...
👋🏻Connect with me:
Website: www.danvega.dev
Twitter: / therealdanvega
Github: github.com/danvega
LinkedIn: / danvega
Newsletter: www.danvega.dev/newsletter
SUBSCRIBE TO MY CHANNEL: bit.ly/2re4GH0 ❤️

Пікірлер: 23
@OneClickLabs
@OneClickLabs Ай бұрын
These series of videos on Spring AI are amazing. Thank you for the efforts you have put in. If possible, please add a video about unit testing these applications and best practices while writing Junits for Spring AI applications.
@kappaj01
@kappaj01 2 ай бұрын
This is so cool - now the EmbeddingClient is making sense! Just for the life of me could not understand why you need so many different embedding clients. I was putting this embedding client in the wrong place in the picture. Time to start building some data consumption stuff and see what is going into the DB. Can't wait for the next video!
@DanVega
@DanVega 2 ай бұрын
I had the same questions before I actually got my hands dirty. Glad you're enjoying the series Andre! Can't wait to hear about what you build 👏🏻
@backtoGodhead0
@backtoGodhead0 28 күн бұрын
Lovely! God bless you! got this - Based on the documents provided, there are 32 sports included in the Olympic Games Paris 2024.
@sohamsarkar174
@sohamsarkar174 2 ай бұрын
Thank you so much Dan for the RAG video
@ahmadshlool5803
@ahmadshlool5803 Ай бұрын
Thanks a lot, Dan! These series are truly impressive and impactful. I have a question about RAG. What are the benefits of supplying the questions and answers ourselves? Where does the AI's strength lie in this scenario? For instance, when you asked about counting sports, the response was 'NA' and it provided the list we inputted. We envision being able to ask you about anything within the text I've included. I might sound a bit eager, but I'm keen to explore its capabilities and potential applications 😁😁
@kalilmvp
@kalilmvp 2 ай бұрын
It's so cool, thank you very much for this series. This is a subject that i'm currently studying and this specific technical content and with Java is being very clear and giving awesome examples
@prashlovessamosa
@prashlovessamosa 2 ай бұрын
Thanks Mr Dan.
@hkkabir2024
@hkkabir2024 2 ай бұрын
my favorite mentor dan vega . sir keep uploading new things. plz share chat system
@RajeshKumar-pu3ud
@RajeshKumar-pu3ud Ай бұрын
Create a Basic RAG model AI chatbot using any open-source model available. Database: Zilliz/Supabase or any Vector DB, of your choice. Backend: Java Frontend: HTML/CSS/JS (or anything you are familiar with) Backend should haveAPI for: • Upload a file or text - text should then be converted into chunks and then embeddings (You can use any open-source embedding model or paid one too). Embedding should then be stored in a vector DB with vector index of your choice (Cosine/ L2/KNN). • Chat API -> prompt or user queries should be passed in this API and using prompt engineering response should be derived from any Language model. Frontend: UI does not have to look pretty. basic pages should be there - 1. For uploading docs or text for training the RAG model. 2. Basic chat interface where user can send message and receive the response. Sir Please Help me doing this project 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
@user-pj8os6he2t
@user-pj8os6he2t Ай бұрын
Yes Sir please
@lifeisbetterwhenyourelax
@lifeisbetterwhenyourelax Ай бұрын
Is this homework?
@donaldgatan3666
@donaldgatan3666 Ай бұрын
Nice one. Appreciate if you create also a tutorial to read on the database using Rest Api
@cjpangilinan
@cjpangilinan 2 ай бұрын
How can I create a new Implementation of ChatClient? The goal is to use it internally/privately in a company.
@USONOFAV
@USONOFAV 2 ай бұрын
So Spring AI is basically Spring version of LangChain4J
@sohamsarkar174
@sohamsarkar174 2 ай бұрын
Dan, 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?
@Anbu_Sampath
@Anbu_Sampath 2 ай бұрын
ChatHistory abstraction yet land on Spring AI.
@rajapanda832
@rajapanda832 2 ай бұрын
Is there a way of logging the tokens used?
@abdelrhmanghazaly8720
@abdelrhmanghazaly8720 2 ай бұрын
Hay dan vega could you please use any opensource llm instead of openAi
@sbhusi
@sbhusi Ай бұрын
I could not able to run this program with open ai free limit.
@orhanveliesen8349
@orhanveliesen8349 2 сағат бұрын
all we need is aiove
@manuonda
@manuonda Ай бұрын
I have a question: When I use embed, I use openai by default, the file that I can use would become in vectorstore but using openai to convert a embedding..I want to say that the file to convert in embbeding use Opeani ?
@karthikeyans2800
@karthikeyans2800 Ай бұрын
How to add frontend sir please tell me html
Spring AI - Bring your own data by Stuffing the Prompt
16:13
Dan Vega
Рет қаралды 2,5 М.
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 170 #shorts
00:27
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 30 МЛН
Was ist im Eis versteckt? 🧊 Coole Winter-Gadgets von Amazon
00:37
SMOL German
Рет қаралды 23 МЛН
5 Common Mistakes Spring Developers Make
18:06
Dan Vega
Рет қаралды 15 М.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 222 М.
Spring Tips: Spring Modulith
37:39
SpringDeveloper
Рет қаралды 14 М.
What is RAG? (Retrieval Augmented Generation)
11:37
Don Woodlock
Рет қаралды 103 М.
How to build Multimodal Retrieval-Augmented Generation (RAG) with Gemini
34:22
Google for Developers
Рет қаралды 36 М.
host ALL your AI locally
24:20
NetworkChuck
Рет қаралды 800 М.
Ультрабюджетная игровая мышь? 💀
1:00
Что не так с яблоком Apple? #apple #macbook
0:38
Не шарю!
Рет қаралды 211 М.