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.1a2.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.1a2-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for datasette_enrichments_llm-0.1a2.tar.gz
Algorithm Hash digest
SHA256 6713c9a511aea9000fdd84b376c5101c6354ec8357cf6ff721527ed1cd0936c2
MD5 ef118cc4d96d3e8a7fb64bede38d54c0
BLAKE2b-256 eafa993eaa1fb800a84837dfad8da33cde6f41e9f3a09bf8106282d5f6e46892

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_enrichments_llm-0.1a2.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.1a2-py3-none-any.whl.

File metadata

File hashes

Hashes for datasette_enrichments_llm-0.1a2-py3-none-any.whl
Algorithm Hash digest
SHA256 12872ca5981b93941e71e2313454f5860b8b60ff70cb5ca445894410d47fbc17
MD5 18cd2d98e7cb6f0f3bfb2f84f7cab055
BLAKE2b-256 4e989e3752ff2ef70291955d4daee4b0b12f7973338cd5048142eb60040bf886

See more details on using hashes here.

Provenance

The following attestation bundles were made for datasette_enrichments_llm-0.1a2-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