logoalt Hacker News

collimarcoyesterday at 9:44 PM3 repliesview on HN

What about clean, semantic HTML?

It was already optimized for bots and search engines (which are bots) and it has been used for decades. Why we need to serve in markdown now?

There are also many parts of the HTML, like navs, that are useful for bots and AI and may be removed in the markdown version.


Replies

k1mtoday at 1:01 AM

I agree. I think a lot of people here are assuming that the full HTML retrieved has to go into the LLM eating up tokens. But why wouldn't the agent try to clean up first and remove bloat and convert to markdown itself, before feeding into LLM. Semantic HTML would make that easier.

meindnochyesterday at 11:31 PM

>What about clean, semantic HTML?

Which React package is this?

slowinyesterday at 9:57 PM

Presumably markdown uses far fewer tokens.

show 2 replies