Skip to content

Possibility to add metadata to chunks and return that with the result in json structure #468

Closed as not planned

Description

@ewagner70

It would be great to add metadata (page#, document-title, etc.) to the chunks and retrieve them along with the answer in json format for reference purposes. Would be a great check for grounding + actually a classic RAG functionality to provide references (especially for larger set of documents) along with the answers for follow-up actions and documentation.

Activity

  1. changed the title [-]Possibility to add metadata and return that with the result in json structure[/-] [+]Possibility to add metadata to chunks and return that with the result in json structure[/+] on Dec 14, 2024
  2. Arslan-Mehmood1 commented on Dec 15, 2024

    @Arslan-Mehmood1

    +1

  3. jbartot commented on Dec 16, 2024

    @jbartot

    +1

  4. TZhanabekov commented on Dec 22, 2024

    @TZhanabekov

    +1

  5. Aillian commented on Jan 14, 2025

    @Aillian

    any updates regarding this? Very important feature!

  6. Arslan-Mehmood1 commented on Jan 14, 2025

    @Arslan-Mehmood1

    any updates regarding this? Very important feature!

    +1

  7. ArindamRoy23 commented on Feb 17, 2025

    @ArindamRoy23
    Contributor

    +1

  8. wpereira22 commented on Feb 26, 2025

    @wpereira22

    +1

  9. emgiezet commented on May 13, 2025

    @emgiezet

    +1

  10. RolphH commented on Jun 12, 2025

    @RolphH

    +1 @YanSte any particular reason to not plan this? Could something already be achieved (adding additional metadata)?

  11. corvusMidnight commented on Jul 2, 2025

    @corvusMidnight

    +1

  12. Aillian commented on Jul 2, 2025

    @Aillian

    The absence of this feature is the single reason that prevents me from using lightrag...

  13. corvusMidnight commented on Jul 3, 2025

    @corvusMidnight

    @YanSte is it possible you changed your mind about this? Or maybe provide the rationale on why that is the case you do not want to implement the feature?

  14. corvusMidnight commented on Jul 3, 2025

    @corvusMidnight

    The absence of this feature is the single reason that prevents me from using lightrag...

    Do you have any alternatives that you are currently using?

  15. DartAthos commented on Jul 18, 2025

    @DartAthos

    +1

  16. andytancgi commented on Jul 31, 2025

    @andytancgi

    +1

  17. thiborose commented on Aug 23, 2025

    @thiborose
    Contributor

    +1

  18. RolphH commented on Aug 23, 2025

    @RolphH

    +1 @YanSte any particular reason to not plan this? Could something already be achieved (adding additional metadata)?

    @danielaskdd could you shed your vision on this?

  19. locked and limited conversation to collaborators on Aug 24, 2025
  20. converted this issue into a discussion #2000 on Aug 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions