llms-txt  by AnswerDotAI

Simple method for language models to use your website

Created 1 year ago
1,827 stars

Top 23.7% on SourcePulse

GitHubView on GitHub
Project Summary

AnswerDotAI/llms-txt provides a simple, standardized method for website owners to inform large language models (LLMs) about their site's content and structure, enabling more accurate and context-aware interactions. This benefits developers building LLM-powered applications that need to understand and leverage website data.

How It Works

The project introduces a /llms.txt file, a plain text document placed at the root of a website. This file acts as a directive, guiding LLMs on which parts of the website are relevant, how to crawl them, and what specific instructions to follow. This approach offers a lightweight, universally applicable mechanism for website-to-LLM communication without requiring complex integrations or API changes.

Quick Start & Requirements

  • Create a /llms.txt file at your website's root.
  • Refer to the official documentation for syntax and examples.

Highlighted Details

  • Standardized format for LLM website interaction.
  • Lightweight and easy to implement.
  • Supports directives for crawling, content relevance, and specific instructions.

Maintenance & Community

  • Project maintained by AnswerDotAI.
  • Community discussion via Discord.

Licensing & Compatibility

  • Licensed under the MIT License.
  • Permissive license allows for commercial use and integration into closed-source applications.

Limitations & Caveats

The effectiveness of /llms.txt relies on LLM adoption and adherence to the standard. It is currently a proposal and may not be universally supported by all LLMs or web crawlers.

Health Check
Last Commit

2 months ago

Responsiveness

1+ week

Pull Requests (30d)
0
Issues (30d)
1
Star History
115 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.