llm-docs
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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llm_docs-0.2.1.tar.gz | 7.0 kB | With provenance | Details for llm_docs-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llm_docs-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for llm_docs-0.2.1-py3-none-any.whl |
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 logRelease 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 logSecurity for llm-docs 0.2.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for llm_docs-0.2.1.tar.gz
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 logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.