3 ms·
I like what FastHTML folks did by preparing what amounts to instructions for LMs. From their Github [1]: > This example is in a format based on recommendations
by curious_cat_163 2y ago
I like what FastHTML folks did by preparing what amounts to instructions for LMs. From their Github [1]:
> This example is in a format based on recommendations from Anthropic for use with Claude Projects. This works so well that we’ve actually found that Claude can provide even better information than our own documentation!
This is the file: https://docs.fastht.ml/llms-ctx.txt https://docs.fastht.ml/llms-ctx.txt
[1] https://github.com/AnswerDotAI/fasthtml https://github.com/AnswerDotAI/fasthtml
- bckmn 2y agoThis example is based on this proposed standard (making to robots.txt or security.txt): [The /llms.txt file – llms-txt](https://llmstxt.org/ https://llmstxt.org/)
- authorfly 2y agoI do not know how FastHTML works with AI, but for the recent Svelte 5, which has a similar llms.txt file, it's clear to me that actual usage patterns are required over explanatory llms.txt content with instructions. In Svelte 5 usage, it's consistent at certain things which the docs spell out for version 5 and would not be in the training data (runes) but not in their placement, reactivity, or usage changes implied by the system (e.g. changes of information flow outside of props/states) It seems similar to a cheat sheet which has formulas, vs a cheat sheet with worked through sample problems that align perfectly with the test. The latter exists for historic modules - the former is the best you can do for recent libraries/versions. I am not sure where React stands as I know they have changed their reactivity model and introduced patterns which reduce boilerplate code. Can anyone comment on the latest react version used with AI?