> We only tested OpenAI’s GPT-4.1 nano.
Which table format do LLMs understand best?
11–20 of 115 posts
Re: Which table format do LLMs understand best?
#12I wonder how this compares to a more agentic approach where the LLM composes SQL queries to answer the questions, for example.
The author didn’t see much more than 60% accuracy which is not very useful for many (most?) real world tasks.
Re: Which table format do LLMs understand best?
#13I 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 not…
Re: Which table format do LLMs understand best?
#14Re: Which table format do LLMs understand best?
#15Re: Which table format do LLMs understand best?
#16> where accuracy is paramount > accuracy: 60% Not to mention that the least poorly performing format is probably the stupidest way to encode tabular data, beating even XML. But I guess that’s the new normal because we’re trying to shoehorn conversational AI models to every use case rather than, say, training finetunes that are better at particular tasks. (Yes, of course you can’t train finetunes when the model is a p…
Re: Which table format do LLMs understand best?
#17Re: Which table format do LLMs understand best?
#18This is an interesting theoretical exercise but please for the love of god don't actually use an LLM to search tabular data. This is a solved problem. Free software does this with 100% accuracy and insane efficiency.
Re: Which table format do LLMs understand best?
#19I wonder how this compares to a more agentic approach where the LLM composes SQL queries to answer the questions, for example.
Re: Which table format do LLMs understand best?
#20Title says "LLMs" (plural) but they only tested one > We only tested OpenAI’s GPT-4.1 nano.