Including document metadata in summarization

I would like to include the document metadata as context in the summarization prompt. I want the summarization model to use these information for generating the answer. How do I achieve this? Currently I can only see document metadata being used for filtering/boosting, but I want these to be added in the context as well.

1 Like