Llms.txt
From Just Solve the File Format Problem
(Difference between revisions)
Dan Tobias (Talk | contribs) |
|||
| (2 intermediate revisions by one user not shown) | |||
| Line 4: | Line 4: | ||
|extensions={{ext|txt}} | |extensions={{ext|txt}} | ||
|wikidata={{wikidata|Q133958690}} | |wikidata={{wikidata|Q133958690}} | ||
| + | |released=2024 | ||
}} | }} | ||
| + | {{DISPLAYTITLE:llms.txt}} | ||
'''llms.txt''' is a proposed document standard by [https://jeremy.fast.ai/ Jeremy Howard] for enabling LLMs to make use of a website at inference time. | '''llms.txt''' is a proposed document standard by [https://jeremy.fast.ai/ Jeremy Howard] for enabling LLMs to make use of a website at inference time. | ||
'''llms.txt''' is based on [[Markdown]] meaning it is human and machine readable. It adopts a precise structure enabling "fixed processing methods". | '''llms.txt''' is based on [[Markdown]] meaning it is human and machine readable. It adopts a precise structure enabling "fixed processing methods". | ||
| + | |||
| + | == Usage == | ||
| + | |||
| + | The file is intended to be placed at the root of a website, similarly to other standard site-informational files such as [[Robots Exclusion Standard|robots.txt]]. Optionally it may also be placed in subdirectories for information specific to that directory. | ||
== Proposed structure == | == Proposed structure == | ||
| Line 45: | Line 51: | ||
[[Category:AI and Machine Learning]] | [[Category:AI and Machine Learning]] | ||
| + | [[Category:File formats with a distinctive filename]] | ||
Latest revision as of 18:20, 4 March 2026
llms.txt is a proposed document standard by Jeremy Howard for enabling LLMs to make use of a website at inference time.
llms.txt is based on Markdown meaning it is human and machine readable. It adopts a precise structure enabling "fixed processing methods".
Contents |
[edit] Usage
The file is intended to be placed at the root of a website, similarly to other standard site-informational files such as robots.txt. Optionally it may also be placed in subdirectories for information specific to that directory.
[edit] Proposed structure
The structure is proposed as follows:
- An H1 with the name of the project or site. This is the only required section
- A blockquote with a short summary of the project, containing key information necessary for understanding the rest of the file
- Zero or more markdown sections (e.g. paragraphs, lists, etc) of any type except headings, containing more detailed information about the project and how to interpret the provided files
- Zero or more markdown sections delimited by H2 headers, containing “file lists” of URLs where further detail is available
- Each “file list” is a markdown list, containing a required markdown hyperlink [name](url), then optionally a : and notes about the file.
[edit] Example
An example might look as follows (from the documentation):
# Title > Optional description goes here Optional details go here ## Section name - [Link title](https://link_url): Optional link details ## Optional - [Link title](https://link_url)