hey Lars! good question so for PDF-type documents, RAG is always going to be the way to go. there's all this context within the pdf itself - paragraph after paragraph - you can't put all that into a regular DB (i mean, you can, but you shouldn't lol - for cost and scale) so RAG helps with these types of documents because it gives you/llm a way to search within the PDF's so for example, say my documents are annual reports, and i'm looking for "overall revenue growth over past year for Ford". if you have a db schema, you could probably find the doc for Ford, then get the raw pdf, feed it into the llm, and ask it to answer. RAG essentially does that by giving you a retrieval/search method - so you query your knowledge base with keyword or your whole question, and you get back chunks from the document - which then is much easier to feed to the llm. my example was pretty basic, but this becomes really powerful when there's questions that have answers across multiple documents - it can give you chunks from multiple documents with one call, simplifying your search. if you need to filter down, most RAG setups have a concept of "metadata" which you could use to filter. going back to my example, if you know the document is about ford you could have a "company: Ford" metadata, then apply that filter when you retrieve. i know i blabbed a lot but hopefully that helps clarify things! please lmk if you have any questions on anything i said, happy to clarify 🙂