Enrich data by prompting LLMs
This is an early alpha.
Install this plugin in the same environment as Datasette.
datasette install datasette-enrichments-llm
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.
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