Skip to main content

llm-fragments-doc

PyPI Changelog Tests License

Load documents as fragments. Uses docling for parsing.

Installation

Install this plugin in the same environment as LLM.

llm install llm-fragments-doc

Usage

Use -f doc:/path/to/my/file.pdf to include a markdown-converted version of your file as a fragment.

llm -f doc:https://pdfobject.com/pdf/sample.pdf 'What kind of document is this?'

Development

Local Setup

To set up this plugin locally, first checkout the code, then install:

cd llm-fragments-doc
uv run llm install -e .

Linting & formatting via pre-commit

Install:

uv run pre-commit install

Tests

Run tests:

uv run pytest

Metadata

Release files for llm-fragments-doc 0.1.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-fragments-doc 0.1.1
File Size Uploaded Provenance
llm_fragments_doc-0.1.1.tar.gz 156.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-fragments-doc 0.1.1
File Interpreter ABI Platform
llm_fragments_doc-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 162.4 kB

Release files / llm_fragments_doc-0.1.1.tar.gz

Download URL llm_fragments_doc-0.1.1.tar.gz
Size 156.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1adf224aee580f4ae53cca26f97ad222ff70a11eef7e7cb5ed77c569af7093bc
BLAKE2b-256 checksum
How to use checksums
81365e8b7fe2f1ee68a0251d1f217471a4e8e4a5ea0786289f4debeeabc6496e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.6.14

Release files / llm_fragments_doc-0.1.1-py3-none-any.whl

Download URL llm_fragments_doc-0.1.1-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5beb9f16471f6556874f1723460f6928494c5762d9f0579ef5e481915ba76372
BLAKE2b-256 checksum
How to use checksums
c52ae81cab91bb4e615a6503f9849e15b9e07f180436c75d41feff3bb6e6007a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.6.14

Security for llm-fragments-doc 0.1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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