Skip to content

docs(llms): add 'when to use it' and recipes, link llms.txt from PyPI - #27

Open
petercorke wants to merge 1 commit into
mainfrom
docs/llms-when-to-use
Open

petercorke wants to merge 1 commit into
mainfrom
docs/llms-when-to-use

Conversation

@petercorke

Copy link
Copy Markdown
Owner

What

  • docs/llms_intro.md (the hand-written part of llms.txt): new When to use it section, including what the package is not for, and a Recipes section of task-phrased one-liners.
  • pyproject.toml: llms.txt project URL, so it shows on the PyPI page.

Why

An agent helping with a user's problem has to choose between packages, and users describe tasks rather than API names. llms.txt previously said how to use the package but not when to reach for it.

Checked

Every recipe was run against the current code. make -C docs html llms produces both sections in llms.txt and llms-full.txt. (The Sphinx build prints warnings that predate this change.)

🤖 Generated with Claude Code

Agents choosing between packages need to know what this one is for and
what it is not for, and users phrase problems as tasks, not API names.
llms_intro.md gains a "When to use it" section (including what it is not
for) and a "Recipes" section of task-phrased one-liners, each checked
against the current code. pyproject.toml gains a project URL for
llms.txt so it is discoverable from the PyPI page.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

1 participant