Posted 7 January 2026, 4:25 pm EST
Hi all,
We’re currently using SpreadJS v19.0 in our application, and as part of a POC, we’re aiming to enable a Large Language Model (LLM) to analyze and answer questions about the state of a SpreadJS workbook. To give the LLM spatial and content context, we plan to leverage the workbook export from toJson().
However, we’ve noticed that the exported JSON contains many indirect references and complex nested structures. This can make it difficult for an LLM to reliably interpret workbook data, reason over cell content, and understand context.
My questions:
-
Does SpreadJS offer any more “flattened” or LLM-friendly export options for workbook data?
Are there recommended patterns or best practices for pre-processing or restructuring the SpreadJS JSON to make it easier for AI models to consume and analyze? -
Has anyone else tackled similar requirements or have advice for making SpreadJS data more usable for LLM-based applications?
Any suggestions, experiences, or pointers would be greatly appreciated!
Thank you!
