datasette-llm 0.1a1

Release: datasette-llm 0.1a1 (https://github.com/datasette/datasette-llm/releases/tag/0.1a1) New release of the base plugin that makes models from LLM (https://llm.datasette.io/) available for

Release: datasette-llm 0.1a1 (https://github.com/datasette/datasette-llm/releases/tag/0.1a1)

New release of the base plugin that makes models from LLM (https://llm.datasette.io/) available for use by other Datasette plugins such as datasette-enrichments-llm (https://github.com/datasette/datasette-enrichments-llm).

• New register_llm_purposes() plugin hook and get_purposes() function for retrieving registered purpose strings. #1 (https://github.com/datasette/datasette-llm/issues/1)

One of the responsibilities of this plugin is to configure which models are used for which purposes, so you can say in one place “data enrichment uses GPT-5.4-nano but SQL query assistance happens using Sonnet 4.6”, for example.

Plugins that depend on this can use model = await llm.model(purpose=“enrichment”) to indicate the purpose of the prompts they wish to execute against the model. Those plugins can now also use the new register_llm_purposes() hook to register those purpose strings, which means future plugins can list those purposes in one place to power things like an admin UI for assigning models to purposes.

    Tags: annotated-release-notes (https://simonwillison.net/tags/annotated-release-notes), llm (https://simonwillison.net/tags/llm), datasette (https://simonwillison.net/tags/datasette), plugins (https://simonwillison.net/tags/plugins)
Write a comment
No comments yet.