Skip to content

How to Attach Custom Metadata to Chunked Documents in a Folder-Monitoring RAG Pipeline ? #114

Description

@Tejanikhil-MSR

We're currently building a RAG pipeline using Pathway's real-time streaming capabilities. As of now, our pipeline monitors a folder containing text files and processes them accordingly. We would like to associate custom metadata with the documents before or during the chunking process. However, we haven't been able to find a way to attach this custom metadata to the chunked documents.

Is there a recommended way to add or persist custom metadata for each document while using the folder monitoring feature?

Any guidance or suggestions would be greatly appreciated.
Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions