Skip to content

FEATURE: Add citations to RAG answers #167

@gurdeep330

Description

@gurdeep330

Is your feature request related to a problem? Please describe.
Answers generated by the RAG-based tool do not currently include citations to their sources.

Describe the solution you'd like
Enhance the RAG pipeline to track source articles used during answer generation. Initially, aggregate and display their references at the end of the answer. For the advanced version, align the relevant sentence or phrase in the answer with its source article, insert superscript reference numbers inline, and render the corresponding citations in a numbered list at the bottom.

You can take inspiration from a LangChain tutorial.

Responsible: @ansh-info
Accountable: @gurdeep330

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions