Which Table Format Do LLMs Understand Best? (Results for 11 Formats)

(improvingagents.com)

15 points | by oidar 2 days ago ago

3 comments

  • nightshift1 2 days ago ago

    I am not an expert on the subject but i suggest that you can also save context space by using shorter XML element names (like f instead of function, c instead of class, etc.). Just add a legend at the top or bottom to explain what each abbreviation means, LLMs can figure out the mapping without issues. I use this approach when generating project structure maps with Tree-sitter. I did a quick comparison and didn't notice much degradation with claude, so the context space you save may make it worthwhile. I would be interested to see a proper comparison.

  • reidgreer 2 days ago ago

    interesting. I'm curious how this compares across different model families.

  • ggm 2 days ago ago

    I find this extremely surprising. I would have expected dict structures to have higher semantic context associated with them.