Can someone tell the difference between SummaryIndex and DocumentSummaryIndex? In general, if I need to create a decomposition structured summay for a document text, which Index is the best to use for this purpose ?
SummaryIndex was earlier called List index, It does not keep summary of any node, Based on the query, would fetch the nodes and would generate the response.
Whereas Document SummaryIndex would keep summary of each Document object created and will map the summary with each of the relatd node.
For your usecase, Document SummaryIndex would be best way to go.
Thank you for the information ππ½ I'm not sure I understand why in my case you think DocumentSummaryIndex would be better.. I'm not using many documents.. I got only one.. I need to extract a breakdown/decomposition from it.