Skip to content

Conversation

@simonwfarrow
Copy link

@jph00
Copy link
Contributor

jph00 commented Mar 18, 2025

Thanks for this. The llms.txt file actually has a more specific format than just being arbitrary markdown, which is described on the site, and can be tested by using the python module provided. llms-ctx.txt then is the same file, but with the URLs expanded to include the contents, but not including the 'optional' section. llms-ctx-full.txt includes the 'optional' section.

@jlfolland
Copy link

Maybe just use link rel alternate tag:

<link rel="alternate" type="application/pdf" href="/article.pdf" title="PDF version">
<link rel="alternate" type="text/markdown" href="/article.md" title="Markdown version">
<link rel="alternate" type="application/json" href="/article.json" title="JSON API response">

@jph00
Copy link
Contributor

jph00 commented May 10, 2025 via email

@sdavids
Copy link

sdavids commented May 17, 2025

/.well-known/llms.md and /.well-known/llms-full.md

https://en.wikipedia.org/wiki/Markdown

Filename extensions .md.markdown
Internet media type text/markdown

#30

@xfq xfq mentioned this pull request Apr 30, 2025
@david-a-wheeler
Copy link

It's a kind of markdown, so it should end in .md not .txt. That way, tools that know how to process markdown can make additional assumptions instead of assuming it's an arbitrary text file format. For example, they can display it in a nicer way to humans.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants