Skip to main content

Enrich data by prompting LLMs

Project description

datasette-enrichments-llm

PyPI Changelog Tests License

Enrich data by prompting LLMs

This is an early alpha.

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-enrichments-llm

Usage

The plugin will enable enrichments to be run against any LLM model that has an LLM plugin providing asynchronous support for that model.

Multi-modal models are supported via the media_url parameter.

API keys currently use the default LLM mechanism, probably best set using environment variables.

Development

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

cd datasette-enrichments-llm
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datasette_enrichments_llm-0.1a3.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datasette_enrichments_llm-0.1a3-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file datasette_enrichments_llm-0.1a3.tar.gz.

File metadata

File hashes

Hashes for datasette_enrichments_llm-0.1a3.tar.gz
Algorithm Hash digest
SHA256 f3163545717b7c0923f14a085b76e7a96b5ad674d49ae802c1d139c616af1196
MD5 c0ac84ac5ebc8c95e6579eb42c0e251d
BLAKE2b-256 6e030ee550de7edc0afe195cde754a29aa3385f4af3d2ecf777351acfc81206c

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_enrichments_llm-0.1a3.tar.gz:

Publisher: publish.yml on datasette/datasette-enrichments-llm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file datasette_enrichments_llm-0.1a3-py3-none-any.whl.

File metadata

File hashes

Hashes for datasette_enrichments_llm-0.1a3-py3-none-any.whl
Algorithm Hash digest
SHA256 9f1e46259ff73d97f33713c3b306dd70870a94b80f007da4099087edf3c55292
MD5 b5e6735e5f5217dcd6de47f7e3dab35f
BLAKE2b-256 d383844b247014fbd2a529542495f8158a0cab0c448af66e87a829b5a6c03566

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_enrichments_llm-0.1a3-py3-none-any.whl:

Publisher: publish.yml on datasette/datasette-enrichments-llm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page