Skip to content

datasette/datasette-enrichments-llm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Enrich data by prompting LLMs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages