Feeding docs to an LLM, step by step:0. Check /llms.txt and /llms-full.txt first1. One page: convert only the main content, with absolute links2. A whole section: script it, and demote headings in the HTML. A regex on the Markdown turned YAML comments into headings3. Add a table of contents4. Count tokens. The MkDocs user guide went from 59,773 (HTML) to 25,004 (Markdown)https://medium.com/@findutils/feed-docs-to-your-llm-as-clean-markdown-check-for-llms-txt-convert-add-a-toc-count-tokens-d42ff067cfe4#llm #markdown
Related
Ask AI the same question twice — get two different answers. Why? 🎲Temperature: low = focused and repeatable (facts, code...
Ask AI the same question twice — get two different answers. Why? 🎲Temperature: low = focused and repeatable (facts, code), high = creative and risky (brainstorming, stories).Agent ...
California⚡sued #OpenAI on Mon, alleging it🚨failed to rein in powerful, potentially dangerous #AI #tech.CA AG ob Bonta’s...
California⚡sued #OpenAI on Mon, alleging it🚨failed to rein in powerful, potentially dangerous #AI #tech.CA AG ob Bonta’s off said OpenAI *behind ChatGPT🚨“misled * endangered the pu...
href weekly | November 8–15, 2026 BitsMastodon · November 10 · #twitter turned to sh*t many years ago, but I do miss how...
href weekly | November 8–15, 2026 BitsMastodon · November 10 · #twitter turned to sh*t many years ago, but I do miss how it was used by folks at conferences to share thoughts, reso...