Llms.txt
From Just Solve the File Format Problem
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".
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)