MENU

Fun & Interesting

Spring AI RAG | Chat with your PDF Documents using Java and Spring Boot

DevXplaining 12,314 1 year ago
Video Not Working? Fix It Now

Note: The APIs have changed since I made this video, and there's a new version of this video at https://www.youtube.com/watch?v=eGPaZRvYTKI that covers the latest version - with some extras! If you're looking for the updated code examples, you can find them here: https://github.com/crystoll/spring-ai-series Original video description: Hi and welcome back to my channel! Todays video goes through an example of Retrieval Augmented Generation using Large Language Models (OpenAI in this case)- or how to chat with your PDF documents - using Java 21, Spring Boot, and Spring AI module. As always, the code I will show here is available in Github, link below this. I will cover how to use Vector databases and prompt engineering to limit your queries to the provided information. So essentially we'll do RAG with LLMs using Java, and that's it. :) If you like the content here, remember to click the like button, and subscribe to my channel for more. And as always, drop any comments, questions, requests in the comment section. Here are the links in video: - https://github.com/crystoll/musashi - https://start.spring.io/ - https://docs.spring.io/spring-ai/reference/index.html

Comment