name
stringlengths
3
31
url
stringlengths
26
76
url_full
stringlengths
33
47
llms_txt
stringlengths
213
3.34M
llms_txt_parsed
stringlengths
4
1.61M
llms_txt_full
stringlengths
0
5.58M
llms.txt
https://llmstxt.org/llms.txt
null
# llms.txt > A proposal that those interested in providing LLM-friendly content add a /llms.txt file to their site. This is a markdown file that provides brief background information and guidance, along with links to markdown files providing more detailed information. ## Docs - [llms.txt proposal](https://llmstxt.org/index.md): The proposal for llms.txt - [Python library docs](https://llmstxt.org/intro.html.md): Docs for `llms-txt` python lib - [ed demo](https://llmstxt.org/ed-commonmark.md): Tongue-in-cheek example of how llms.txt could be used in the classic `ed` editor, used to show how editors could incorporate llms.txt in general.
{"title": "llms.txt", "summary": "A proposal that those interested in providing LLM-friendly content add a /llms.txt file to their site. This is a markdown file that provides brief background information and guidance, along with links to markdown files providing more detailed information.", "info": null, "sections": {"Docs": [{"title": "llms.txt proposal", "url": "https://llmstxt.org/index.md", "desc": "The proposal for llms.txt"}, {"title": "Python library docs", "url": "https://llmstxt.org/intro.html.md", "desc": "Docs for `llms-txt` python lib"}, {"title": "ed demo", "url": "https://llmstxt.org/ed-commonmark.md", "desc": "Tongue-in-cheek example of how llms.txt could be used in the classic `ed` editor, used to show how editors could incorporate llms.txt in general."}]}}
null
Anthropic
https://docs.anthropic.com/llms.txt
https://docs.anthropic.com/llms-full.txt
"# Anthropic\n\n## Docs\n\n- [Eine Nachrichtenbatch abbrechen (beta)](https://docs.anthropic.com/de/(...TRUNCATED)
"{\"title\": \"Anthropic\", \"summary\": null, \"info\": null, \"sections\": {\"Docs\": [{\"title\":(...TRUNCATED)
"# Get Api Key\n\nget /v1/organizations/api_keys/{api_key_id}\n\n\n\n# List Api Keys\n\nget /v1/orga(...TRUNCATED)
Perplexity
https://docs.perplexity.ai/llms.txt
https://docs.perplexity.ai/llms-full.txt
"# Perplexity\n\n## Docs\n\n- [Chat Completions](https://docs.perplexity.ai/api-reference/chat-compl(...TRUNCATED)
"{\"title\": \"Perplexity\", \"summary\": null, \"info\": null, \"sections\": {\"Docs\": [{\"title\"(...TRUNCATED)
"# Chat Completions\n\npost /chat/completions\nGenerates a model's response for the given chat conve(...TRUNCATED)
Vercel AI SDK
https://sdk.vercel.ai/llms.txt
null
"---\ntitle: AI SDK by Vercel\ndescription: Welcome to the AI SDK documentation!\n---\n\n# AI SDK\n\(...TRUNCATED)
"{\"title\": \"\", \"summary\": null, \"info\": \"The AI SDK is the TypeScript toolkit designed to h(...TRUNCATED)
null
Cursor
https://docs.cursor.com/llms.txt
https://docs.cursor.com/llms-full.txt
"# Cursor\n\n## Docs\n\n- [AI Review (Beta)](https://docs.cursor.com/advanced/ai-review)\n- [Custom (...TRUNCATED)
"{\"title\": \"Cursor\", \"summary\": null, \"info\": null, \"sections\": {\"Docs\": [{\"title\": \"(...TRUNCATED)
"# AI Review (Beta)\n\n\n\nAI Review is a feature that allows you to review your recent changes in y(...TRUNCATED)
ElevenLabs
https://elevenlabs.io/docs/llms.txt
https://elevenlabs.io/docs/llms-full.txt
"# ElevenLabs\n\n## Docs\n\n- [Add Chapter To A Project](https://elevenlabs.io/docs/api-reference/ad(...TRUNCATED)
"{\"title\": \"ElevenLabs\", \"summary\": null, \"info\": null, \"sections\": {\"Docs\": [{\"title\"(...TRUNCATED)
"# Add Chapter To A Project\n\npost /v1/projects/{project_id}/chapters/add\nCreates a new chapter ei(...TRUNCATED)
Hugging Face Transformers
https://huggingface-projects-docs-llms-txt.hf.space/transformers/llms.txt
null
"# Hyperparameter Search using Trainer API\n\n🤗 Transformers provides a `Trainer` class optimized(...TRUNCATED)
"{\"title\": \"Hyperparameter Search using Trainer API\", \"summary\": null, \"info\": \"\\ud83e\\ud(...TRUNCATED)
null
Hugging Face Diffusers
https://huggingface-projects-docs-llms-txt.hf.space/diffusers/llms.txt
null
"# Installation\n\n🤗 Diffusers is tested on Python 3.8+, PyTorch 1.7.0+, and Flax. Follow the ins(...TRUNCATED)
"{\"title\": \"Installation\", \"summary\": null, \"info\": \"- [PyTorch](https://pytorch.org/get-st(...TRUNCATED)
null
Hugging Face Accelerate
https://huggingface-projects-docs-llms-txt.hf.space/accelerate/llms.txt
null
"# Quicktour\n\nThere are many ways to launch and run your code depending on your training environme(...TRUNCATED)
"{\"title\": \"Quicktour\", \"summary\": null, \"info\": \"* a unified command line launching interf(...TRUNCATED)
null
Hugging Face Hub
https://huggingface-projects-docs-llms-txt.hf.space/hub/llms.txt
null
"# Advanced Access Control in Organizations with Resource Groups\n\n<Tip warning={true}>\nThis featu(...TRUNCATED)
"{\"title\": \"Advanced Access Control in Organizations with Resource Groups\", \"summary\": null, \(...TRUNCATED)
null

Dataset with /llms.txt

This dataset contains the llms.txt and llms-full.txt files obtained from directory.llmstxt.cloud.

The llms.txt defined at https://llmstxt.org/:

A proposal to standardise on using an /llms.txt file to provide information to help LLMs use a website at inference time.

Some sites are starting to adopt this standard, and they are being tracked by directory.llmstxt.cloud, so we can scrape and collect them in a dataset.

How it was obtained

By running dataset.py that can be found in this repo:

uv run dataset.py
  1. It scrapes directory.llmstxt.cloud and extracts the urls of the tracked sites.

  2. The llms.txt and llms-full.txt found from each site are downloaded.

  3. The llms.txt files are parsed using llms-txt-rs.

  4. The parsed content is encoded as a json string to avoid mixing fields.

  5. Save records as a dataset and push it to the hub.

How to use it

Keep in mind, the llms_txt_parsed field must be transformed a dict:

import json
from datasets import load_dataset

ds = load_dataset("plaguss/llms-txt", split="train")

def to_dict(row):
    row["llms_txt_parsed"] = json.loads(row["llms_txt_parsed"])
    return row

ds = ds.map(to_dict)

Example row

{
  "name": "llms.txt",
  "url": "https://llmstxt.org/llms.txt",
  "url_full": null,
  "llms_txt": "# llms.txt\n\n> A proposal that those interested in providing LLM-friendly content add a /llms.txt file to their site. This is a markdown file that provides brief background information and guidance, along with links to markdown files providing more detailed information.\n\n## Docs\n\n- [llms.txt proposal](https://llmstxt.org/index.md): The proposal for llms.txt\n- [Python library docs](https://llmstxt.org/intro.html.md): Docs for `llms-txt` python lib\n- [ed demo](https://llmstxt.org/ed-commonmark.md): Tongue-in-cheek example of how llms.txt could be used in the classic `ed` editor, used to show how editors could incorporate llms.txt in general.\n\n",
  "llms_txt_parsed": {
    "title": "llms.txt",
    "summary": "A proposal that those interested in providing LLM-friendly content add a /llms.txt file to their site. This is a markdown file that provides brief background information and guidance, along with links to markdown files providing more detailed information.",
    "info": null,
    "sections": {
      "Docs": [
        {
          "title": "llms.txt proposal",
          "url": "https://llmstxt.org/index.md",
          "desc": "The proposal for llms.txt"
        },
        {
          "title": "Python library docs",
          "url": "https://llmstxt.org/intro.html.md",
          "desc": "Docs for `llms-txt` python lib"
        },
        {
          "title": "ed demo",
          "url": "https://llmstxt.org/ed-commonmark.md",
          "desc": "Tongue-in-cheek example of how llms.txt could be used in the classic `ed` editor, used to show how editors could incorporate llms.txt in general."
        }
      ]
    }
  },
  "llms_txt_full": null
}
Downloads last month
10
Edit dataset card