 after working on it for a few weeks now, here is a potentially better layout for the RAG system.