A system that can take a document as input, generate a narrative summary of the document, and extract entities from the document as per the configurations made. This solution should be able to take any kind of document as input and generate the desired output.