Llms.txt
From Just Solve the File Format Problem
(Difference between revisions)
Dan Tobias (Talk | contribs) |
|||
| Line 5: | Line 5: | ||
|wikidata={{wikidata|Q133958690}} | |wikidata={{wikidata|Q133958690}} | ||
}} | }} | ||
| + | {{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.txt]]. Optionally it may also be placed in subdirectories for information specific to that directory. | ||
== Proposed structure == | == Proposed structure == | ||
| Line 45: | Line 50: | ||
[[Category:AI and Machine Learning]] | [[Category:AI and Machine Learning]] | ||
| + | [[Category:File formats with a distinctive filename]] | ||
| + | [[Category:Web]] | ||
Revision as of 18:17, 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 |
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.
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.
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)