Skip to content

[DISCORD:1416471642237960363] Mastra RAG with sources advice needed: #7816

@wardpeet

Description

@wardpeet

This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1416471642237960363

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions