Ask questions of LLM documentation using LLM
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llm_docs-0.2.1.tar.gz.
File metadata
- Download URL: llm_docs-0.2.1.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2fc87285614fadcbdaa63ebabbe8743f006c42d11851c12bac0352633e467f6
|
|
| MD5 |
b8536dc0c111026e5d276835e22c0fa5
|
|
| BLAKE2b-256 |
d15726d7dd922719d8fb7e67dfa23e662fbd0a5ebf3af1d73662e02ba4c11cbc
|
Provenance
The following attestation bundles were made for llm_docs-0.2.1.tar.gz:
Publisher:
publish.yml on simonw/llm-docs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_docs-0.2.1.tar.gz -
Subject digest:
f2fc87285614fadcbdaa63ebabbe8743f006c42d11851c12bac0352633e467f6 - Sigstore transparency entry: 206977111
- Sigstore integration time:
-
Permalink:
simonw/llm-docs@f38a5124dad5b2a1ed9a85bc78975780800c2c85 -
Branch / Tag:
refs/tags/0.2.1 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f38a5124dad5b2a1ed9a85bc78975780800c2c85 -
Trigger Event:
release
-
Statement type:
File details
Details for the file llm_docs-0.2.1-py3-none-any.whl.
File metadata
- Download URL: llm_docs-0.2.1-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9699447c9f4493c87416667cd8d9afd0492e934821f17161a9040e782dbc12f1
|
|
| MD5 |
91415cb585030eeec243d73da10dbae1
|
|
| BLAKE2b-256 |
2c7aedca7937fa6b9032230f0cde7bc805a5ae143b28c7ce92a52377f34bc063
|
Provenance
The following attestation bundles were made for llm_docs-0.2.1-py3-none-any.whl:
Publisher:
publish.yml on simonw/llm-docs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_docs-0.2.1-py3-none-any.whl -
Subject digest:
9699447c9f4493c87416667cd8d9afd0492e934821f17161a9040e782dbc12f1 - Sigstore transparency entry: 206977112
- Sigstore integration time:
-
Permalink:
simonw/llm-docs@f38a5124dad5b2a1ed9a85bc78975780800c2c85 -
Branch / Tag:
refs/tags/0.2.1 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f38a5124dad5b2a1ed9a85bc78975780800c2c85 -
Trigger Event:
release
-
Statement type: