Skip to content

[RAG] Add a command .sources to see the chunks used in the last query #728

@dtrckd

Description

@dtrckd

When in a RAG mode, it could be very useful to access the chunks used to answer the last query. The use-cases includes :

  • find the doc/url in which there is the information you are looking for.
  • understand/debug why the model say something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions