I have a bunch of Q&A questions which i want to do a simple RAG agent on them,
I am using Postgresql + PGVector + Mastra.
Bottom line i want to get the sources as well, meaning i want to show in my UI (assistant-ui) the citations or the original Q&A question.
It is super important and with mastra i dont see how it is possible right now, is it true?
In a lot of RAG use cases we need to attach the sources as well (in future i want to RAG a website as well ), will want like a source of which paragraph in which website page the source answer is based on.
Any advice will help here thanks!