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

Поділитися
Вставка
  • Опубліковано 19 січ 2025

КОМЕНТАРІ • 31

  • @OneClickLabs
    @OneClickLabs 8 місяців тому +2

    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 8 місяців тому +1

    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  8 місяців тому

      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 👏🏻

  • @kalilmvp
    @kalilmvp 8 місяців тому

    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

  • @backtoGodhead0
    @backtoGodhead0 7 місяців тому

    Lovely! God bless you!
    got this - Based on the documents provided, there are 32 sports included in the Olympic Games Paris 2024.

  • @hkkabir2024
    @hkkabir2024 8 місяців тому

    my favorite mentor dan vega . sir keep uploading new things. plz share chat system

  • @grrlgd3835
    @grrlgd3835 6 місяців тому

    terrific. really, really appreciate your work Dan. thanks very much

  • @RajeshKumar-pu3ud
    @RajeshKumar-pu3ud 8 місяців тому +4

    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 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏

  • @ahmadshlool5803
    @ahmadshlool5803 7 місяців тому

    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 😁😁

    • @mattasplin7269
      @mattasplin7269 3 місяці тому

      Think of the person who supplies the questions and answers as the web master, and the person who will end up asking the question as a web end user. Many websites store faqs for web users to read, but imagine instead of them reading through 100 faqs, they could just ask a question about your company, or whatever your website is about, and it would give them a direct answer. AI is providing custom and specific answers to the person who just happens by your website without making them go through your documentation. The benefit really starts to kick in when you have 1000s of pages of documents of information, and the user can get an answer to a question in 5 seconds instead of 2 hours of searching through documentation.

  • @sohamsarkar174
    @sohamsarkar174 8 місяців тому

    Thank you so much Dan for the RAG video

  • @Raffaeler13
    @Raffaeler13 5 місяців тому

    Thanks, I'm waiting for the video on the pg vector store

  • @cjpangilinan
    @cjpangilinan 8 місяців тому +2

    How can I create a new Implementation of ChatClient? The goal is to use it internally/privately in a company.

  • @donaldgatan3666
    @donaldgatan3666 8 місяців тому

    Nice one. Appreciate if you create also a tutorial to read on the database using Rest Api

  • @Polaar_b
    @Polaar_b 2 місяці тому

    Can we use Spring AI module with traditional spring 6 framework (without spring boot)? Any references will be appreciated!

  • @cksmith007
    @cksmith007 6 місяців тому

    Super helpful! Thanks!

  • @abdelrhmanghazaly8720
    @abdelrhmanghazaly8720 8 місяців тому +1

    Hay dan vega could you please use any opensource llm instead of openAi

  • @USONOFAV
    @USONOFAV 8 місяців тому +4

    So Spring AI is basically Spring version of LangChain4J

  • @sohamsarkar174
    @sohamsarkar174 8 місяців тому +1

    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 8 місяців тому +3

      ChatHistory abstraction yet land on Spring AI.

  • @prashlovessamosa
    @prashlovessamosa 8 місяців тому

    Thanks Mr Dan.

  • @juanfranciscomosquera8975
    @juanfranciscomosquera8975 6 місяців тому

    Hi Dan, Do you have any news about LangChain with spring?

  • @rajapanda832
    @rajapanda832 8 місяців тому

    Is there a way of logging the tokens used?

  • @ydexpert131
    @ydexpert131 3 місяці тому

    Fab Dan...

  • @sbhusi
    @sbhusi 8 місяців тому

    I could not able to run this program with open ai free limit.

  • @manuonda
    @manuonda 8 місяців тому

    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 8 місяців тому

    How to add frontend sir please tell me html

  • @orhanveliesen8349
    @orhanveliesen8349 6 місяців тому +1

    all we need is aiove