Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Which Nested Data Format Do LLMs Understand Best? JSON vs. YAML vs. XML vs. MD (improvingagents.com)
2 points by mattcollins 51 days ago | hide | past | favorite | 1 comment


This is a follow-up to previous work looking at which format of TABULAR data LLMs understand best: https://www.improvingagents.com/blog/best-input-data-format-...

(There was some good discussion on Hacker News around that here: https://news.ycombinator.com/item?id=45458455)

We often want to feed NON-TABULAR data to LLMs, though, such as typical API responses or config files.

This new work looks out how the format of such nested / hierarchical data affects how well LLMs can answer questions about it; specifically how several models get on with JSON, YAML, XML and Markdown.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: