datasette-enrichments-llm


Namedatasette-enrichments-llm JSON
Version 0.1a0 PyPI version JSON
download
home_pageNone
SummaryEnrich data by prompting LLMs
upload_time2024-12-05 23:39:52
maintainerNone
docs_urlNone
authorSimon Willison
requires_python>=3.9
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # datasette-enrichments-llm

[![PyPI](https://img.shields.io/pypi/v/datasette-enrichments-llm.svg)](https://pypi.org/project/datasette-enrichments-llm/)
[![Changelog](https://img.shields.io/github/v/release/datasette/datasette-enrichments-llm?include_prereleases&label=changelog)](https://github.com/datasette/datasette-enrichments-llm/releases)
[![Tests](https://github.com/datasette/datasette-enrichments-llm/actions/workflows/test.yml/badge.svg)](https://github.com/datasette/datasette-enrichments-llm/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/datasette/datasette-enrichments-llm/blob/main/LICENSE)

Enrich data by prompting LLMs

This is an **early alpha**.

## Installation

Install this plugin in the same environment as Datasette.
```bash
datasette install datasette-enrichments-llm
```
## Usage

The plugin will enable enrichments to be run against any [LLM](https://llm.datasette.io/) model that has an LLM plugin providing [asynchronous support](https://llm.datasette.io/en/stable/plugins/advanced-model-plugins.html#async-models) 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:
```bash
cd datasette-enrichments-llm
python -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
pip install -e '.[test]'
```
To run the tests:
```bash
python -m pytest
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "datasette-enrichments-llm",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Simon Willison",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/8f/e6/12802c169c302dbf6f10850110c73cbba5acd707b2e5f31e61307dbd1f31/datasette_enrichments_llm-0.1a0.tar.gz",
    "platform": null,
    "description": "# datasette-enrichments-llm\n\n[![PyPI](https://img.shields.io/pypi/v/datasette-enrichments-llm.svg)](https://pypi.org/project/datasette-enrichments-llm/)\n[![Changelog](https://img.shields.io/github/v/release/datasette/datasette-enrichments-llm?include_prereleases&label=changelog)](https://github.com/datasette/datasette-enrichments-llm/releases)\n[![Tests](https://github.com/datasette/datasette-enrichments-llm/actions/workflows/test.yml/badge.svg)](https://github.com/datasette/datasette-enrichments-llm/actions/workflows/test.yml)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/datasette/datasette-enrichments-llm/blob/main/LICENSE)\n\nEnrich data by prompting LLMs\n\nThis is an **early alpha**.\n\n## Installation\n\nInstall this plugin in the same environment as Datasette.\n```bash\ndatasette install datasette-enrichments-llm\n```\n## Usage\n\nThe plugin will enable enrichments to be run against any [LLM](https://llm.datasette.io/) model that has an LLM plugin providing [asynchronous support](https://llm.datasette.io/en/stable/plugins/advanced-model-plugins.html#async-models) for that model.\n\nMulti-modal models are supported via the `media_url` parameter.\n\nAPI keys currently use the default LLM mechanism, probably best set using environment variables.\n\n## Development\n\nTo set up this plugin locally, first checkout the code. Then create a new virtual environment:\n```bash\ncd datasette-enrichments-llm\npython -m venv venv\nsource venv/bin/activate\n```\nNow install the dependencies and test dependencies:\n```bash\npip install -e '.[test]'\n```\nTo run the tests:\n```bash\npython -m pytest\n```\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Enrich data by prompting LLMs",
    "version": "0.1a0",
    "project_urls": {
        "CI": "https://github.com/datasette/datasette-enrichments-llm/actions",
        "Changelog": "https://github.com/datasette/datasette-enrichments-llm/releases",
        "Homepage": "https://github.com/datasette/datasette-enrichments-llm",
        "Issues": "https://github.com/datasette/datasette-enrichments-llm/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "90e099433cca0288ce2fc7070e0e41dcbc648dd6b22b5ce6f8add9fce8a51a7d",
                "md5": "942a570ffb3080d6080f76673297f8c0",
                "sha256": "d2b207c5f21de5e9478f125f8dc2de25eed18b9f91656f02b96f3e73d87ee1cf"
            },
            "downloads": -1,
            "filename": "datasette_enrichments_llm-0.1a0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "942a570ffb3080d6080f76673297f8c0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 8435,
            "upload_time": "2024-12-05T23:39:50",
            "upload_time_iso_8601": "2024-12-05T23:39:50.302375Z",
            "url": "https://files.pythonhosted.org/packages/90/e0/99433cca0288ce2fc7070e0e41dcbc648dd6b22b5ce6f8add9fce8a51a7d/datasette_enrichments_llm-0.1a0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8fe612802c169c302dbf6f10850110c73cbba5acd707b2e5f31e61307dbd1f31",
                "md5": "682e002913eafa4d6eebca9d0bec885c",
                "sha256": "60d239b2c8663f3a1c6cdbc6997dcc9309c2aea467f2f4af806d47e161cb20b9"
            },
            "downloads": -1,
            "filename": "datasette_enrichments_llm-0.1a0.tar.gz",
            "has_sig": false,
            "md5_digest": "682e002913eafa4d6eebca9d0bec885c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 8055,
            "upload_time": "2024-12-05T23:39:52",
            "upload_time_iso_8601": "2024-12-05T23:39:52.032312Z",
            "url": "https://files.pythonhosted.org/packages/8f/e6/12802c169c302dbf6f10850110c73cbba5acd707b2e5f31e61307dbd1f31/datasette_enrichments_llm-0.1a0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-05 23:39:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "datasette",
    "github_project": "datasette-enrichments-llm",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "datasette-enrichments-llm"
}
        
Elapsed time: 0.42603s