Ive built a solution which uses telegram to receive an invoice pdf, and then processes information about the document like pulling out the total amount and banking details, which I can then use to store in a db etc. Is this what you’re looking for? This does NOT use RAG, but you can build something similar if you need to use RAG with the “Simple Vector Store” sub-node which stores the embedded vectors in server memory.
Simply wrap this in a loop for each file you need to process and use the results as needed.
I used the “Basic LLM Chain” node here. For a more RAG approach you’ll use the “Questions and Answer Chain” node, something like this:
And more recently this node was added which does the same thing: