Skip to main content

llm-docs

PyPI Changelog Tests License

Ask questions of LLM documentation using LLM

Installation

Install this plugin in the same environment as LLM.

llm install llm-docs

Usage

This depends on LLM 0.24 or higher.

You can ask questions of the LLM documentation like this:

llm -f docs: 'How do I calculate embeddings for a CSV file?'

For LLM the fragment will contain the exact documentation for the version of LLM you are running.

It also works against other packages that have their documentation recorded in the docs-for-llms repository, for example sqlite-utils:

llm -f docs:sqlite-utils 'How do I vacuum my database?'

For these tools the most recent stable release documentation will be used.

To access the most recent alpha documentation instead use the docs-preview prefix:

llm -f docs-preview:datasette "List all available plugin hooks" -m gemini-2.0-flash

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-docs
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

llm install -e '.[test]'

To run the tests:

python -m pytest

Release files for llm-docs 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llm-docs 0.2.1
File Size Uploaded
llm_docs-0.2.1.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-docs 0.2.1
File Interpreter ABI Platform
llm_docs-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.2 kB

Release files / llm_docs-0.2.1.tar.gz

Download URL llm_docs-0.2.1.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f2fc87285614fadcbdaa63ebabbe8743f006c42d11851c12bac0352633e467f6
BLAKE2b-256 checksum
How to use checksums
d15726d7dd922719d8fb7e67dfa23e662fbd0a5ebf3af1d73662e02ba4c11cbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 5, 2025.

Transparency log

Release files / llm_docs-0.2.1-py3-none-any.whl

Download URL llm_docs-0.2.1-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9699447c9f4493c87416667cd8d9afd0492e934821f17161a9040e782dbc12f1
BLAKE2b-256 checksum
How to use checksums
2c7aedca7937fa6b9032230f0cde7bc805a5ae143b28c7ce92a52377f34bc063
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 5, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page