3 ms·
> In theory, an AI should be able to fetch the llms.txt for every library and have an actual authoritative source of documentation for the given library. But i
by AlecSchueler 1y ago
> In theory, an AI should be able to fetch the llms.txt for every library and have an actual authoritative source of documentation for the given library.
But isn't the entire selling point of the LLM than you can communicate with it in natural language and it can learn your API by reading the human docs?
- languid-photic 1y agoYes, but I think part of the reason for llms.txt is optimize context. eg beyond content, the human docs often have styling markup which wastes tokens.
- AlecSchueler 1y agoHmm, sounds like LLMs.txt might be nicer for humans to read all well.
- gorbypark 1y agoSometimes they are! I use the expo docs as a human all the time. Some project however seem to really "minify" their docs and are less readable. I'm not quite sure how minifying really saves space as it seems like they are just removing new lines as the docs are still in markdown... Good for humans example: https://docs.expo.dev/llms-full.txt https://docs.expo.dev/llms-full.txt Bad for humans example: https://www.unistyl.es/llms-small.txt https://www.unistyl.es/llms-small.txt