{"adoption": {"forks": 109, "observed_at": "2026-08-28T04:04:36.405290+00:00", "stars": 1394}, "canonical_url": "https://ross.abutalabs.com/products/spacy-llm", "card": {"archived": false, "artifact_type": "library", "description": "🦙 Integrating LLMs into structured NLP pipelines", "domain": ["large-language-models", "machine-learning", "developer-tools"], "enriched": true, "function": ["nlp", "llm-inference", "prompt-engineering", "machine-learning", "parser"], "health_score": 83, "homepage": "https://spacy.io/usage/large-language-models", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["explosion/spacy-llm"], "name": "explosion/spacy-llm", "platform": ["python", "cross-platform"], "pushed_at": "2026-03-27T08:49:38+00:00", "repo": "explosion/spacy-llm", "stars": 1394, "tags": ["spacy", "llm-pipeline", "named-entity-recognition", "text-classification", "openai", "anthropic", "huggingface", "langchain", "zero-shot-nlp", "natural-language-processing"], "topics": ["large-language-models", "llm", "openai", "spacy", "dolly", "gpt-3", "gpt-4", "machine-learning", "named-entity-recognition", "natural-language-processing", "nlp", "text-classification", "prompt-engineering", "anthropic", "claude", "cohere", "falcon", "llama"], "urls": [], "use_cases": ["extract named entities from text using gpt-4 without training data", "add llm-based text classification to a spacy pipeline", "prototype prompts for nlp tasks like relation extraction or summarization", "use open-source llms like llama or mistral for zero-shot ner", "turn unstructured llm responses into structured spacy doc annotations", "run sentiment analysis and lemmatization with an llm api"], "what_it_is": "spacy-llm is a Python library that integrates Large Language Models into spaCy NLP pipelines via a serializable llm component. It provides modular task and model abstractions for prompting and parsing LLM responses into robust structured outputs for NLP tasks without training data.", "when_to_avoid": ["you need a general-purpose LLM agent or chat framework rather than structured NLP tasks", "your project doesn't use spaCy and you don't want the dependency", "you need fine-grained control over raw LLM API calls outside a pipeline abstraction"], "when_to_choose": ["you already use spaCy and want LLM capabilities inside your existing pipeline", "you need structured, parsed outputs from LLMs for standard NLP tasks", "you want to swap between hosted APIs (OpenAI, Anthropic, Cohere) and self-hosted open-source models", "you want fast zero-shot prototyping without labeled training data"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/spacy-llm", "repo": "explosion/spacy-llm", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:36.405290+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:39:26.432506+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3fa213abd59359043c381316b71f31e281dc14a0360a155c0bb6712e7895560", "fetched_at": "2026-08-28T04:04:36.405290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/explosion/spacy-llm"}, {"content_hash": "623e9fafc43ce60cbefb1e50722bf2f4e39f68b02703da3bf1250c4b73068e8a", "fetched_at": "2026-08-29T11:54:15.741542+00:00", "kind": "homepage", "missing": false, "url": "https://spacy.io/usage/large-language-models"}, {"content_hash": "15f0372dd6a7389df7b3054c90ee5d8639c97f76bcd1e0f8699e40d193c346eb", "fetched_at": "2026-08-29T11:54:15.753504+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage/linguistic-features"}, {"content_hash": "d7d4ca1e16d650854cb805cedc2e1b2986a264308a1ce7cd4f42b04d21eb11a2", "fetched_at": "2026-08-29T11:54:15.762267+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/spacy-llm/json"}, {"content_hash": "b80b5dfe308dfd308678e4086645ba43cb0668d3cb64a3af5ea762c1cd4cab3d", "fetched_at": "2026-08-29T11:54:15.751138+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage"}, {"content_hash": "243bc73adaeb3e381a0afa9216cb6739dcba39787617819519cebe2664b6b048", "fetched_at": "2026-08-29T11:54:15.759681+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/api/language"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:36.405290+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:39:26.432506+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3fa213abd59359043c381316b71f31e281dc14a0360a155c0bb6712e7895560", "fetched_at": "2026-08-28T04:04:36.405290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/explosion/spacy-llm"}, {"content_hash": "623e9fafc43ce60cbefb1e50722bf2f4e39f68b02703da3bf1250c4b73068e8a", "fetched_at": "2026-08-29T11:54:15.741542+00:00", "kind": "homepage", "missing": false, "url": "https://spacy.io/usage/large-language-models"}, {"content_hash": "15f0372dd6a7389df7b3054c90ee5d8639c97f76bcd1e0f8699e40d193c346eb", "fetched_at": "2026-08-29T11:54:15.753504+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage/linguistic-features"}, {"content_hash": "d7d4ca1e16d650854cb805cedc2e1b2986a264308a1ce7cd4f42b04d21eb11a2", "fetched_at": "2026-08-29T11:54:15.762267+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/spacy-llm/json"}, {"content_hash": "b80b5dfe308dfd308678e4086645ba43cb0668d3cb64a3af5ea762c1cd4cab3d", "fetched_at": "2026-08-29T11:54:15.751138+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage"}, {"content_hash": "243bc73adaeb3e381a0afa9216cb6739dcba39787617819519cebe2664b6b048", "fetched_at": "2026-08-29T11:54:15.759681+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/api/language"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:39:26.432506+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3fa213abd59359043c381316b71f31e281dc14a0360a155c0bb6712e7895560", "fetched_at": "2026-08-28T04:04:36.405290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/explosion/spacy-llm"}, {"content_hash": "623e9fafc43ce60cbefb1e50722bf2f4e39f68b02703da3bf1250c4b73068e8a", "fetched_at": "2026-08-29T11:54:15.741542+00:00", "kind": "homepage", "missing": false, "url": "https://spacy.io/usage/large-language-models"}, {"content_hash": "15f0372dd6a7389df7b3054c90ee5d8639c97f76bcd1e0f8699e40d193c346eb", "fetched_at": "2026-08-29T11:54:15.753504+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage/linguistic-features"}, {"content_hash": "d7d4ca1e16d650854cb805cedc2e1b2986a264308a1ce7cd4f42b04d21eb11a2", "fetched_at": "2026-08-29T11:54:15.762267+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/spacy-llm/json"}, {"content_hash": "b80b5dfe308dfd308678e4086645ba43cb0668d3cb64a3af5ea762c1cd4cab3d", "fetched_at": "2026-08-29T11:54:15.751138+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage"}, {"content_hash": "243bc73adaeb3e381a0afa9216cb6739dcba39787617819519cebe2664b6b048", "fetched_at": "2026-08-29T11:54:15.759681+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/api/language"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:36.405290+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:36.405290+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:36.405290+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:39:26.432506+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3fa213abd59359043c381316b71f31e281dc14a0360a155c0bb6712e7895560", "fetched_at": "2026-08-28T04:04:36.405290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/explosion/spacy-llm"}, {"content_hash": "623e9fafc43ce60cbefb1e50722bf2f4e39f68b02703da3bf1250c4b73068e8a", "fetched_at": "2026-08-29T11:54:15.741542+00:00", "kind": "homepage", "missing": false, "url": "https://spacy.io/usage/large-language-models"}, {"content_hash": "15f0372dd6a7389df7b3054c90ee5d8639c97f76bcd1e0f8699e40d193c346eb", "fetched_at": "2026-08-29T11:54:15.753504+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage/linguistic-features"}, {"content_hash": "d7d4ca1e16d650854cb805cedc2e1b2986a264308a1ce7cd4f42b04d21eb11a2", "fetched_at": "2026-08-29T11:54:15.762267+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/spacy-llm/json"}, {"content_hash": "b80b5dfe308dfd308678e4086645ba43cb0668d3cb64a3af5ea762c1cd4cab3d", "fetched_at": "2026-08-29T11:54:15.751138+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage"}, {"content_hash": "243bc73adaeb3e381a0afa9216cb6739dcba39787617819519cebe2664b6b048", "fetched_at": "2026-08-29T11:54:15.759681+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/api/language"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:36.405290+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:36.405290+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:39:26.432506+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3fa213abd59359043c381316b71f31e281dc14a0360a155c0bb6712e7895560", "fetched_at": "2026-08-28T04:04:36.405290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/explosion/spacy-llm"}, {"content_hash": "623e9fafc43ce60cbefb1e50722bf2f4e39f68b02703da3bf1250c4b73068e8a", "fetched_at": "2026-08-29T11:54:15.741542+00:00", "kind": "homepage", "missing": false, "url": "https://spacy.io/usage/large-language-models"}, {"content_hash": "15f0372dd6a7389df7b3054c90ee5d8639c97f76bcd1e0f8699e40d193c346eb", "fetched_at": "2026-08-29T11:54:15.753504+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage/linguistic-features"}, {"content_hash": "d7d4ca1e16d650854cb805cedc2e1b2986a264308a1ce7cd4f42b04d21eb11a2", "fetched_at": "2026-08-29T11:54:15.762267+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/spacy-llm/json"}, {"content_hash": "b80b5dfe308dfd308678e4086645ba43cb0668d3cb64a3af5ea762c1cd4cab3d", "fetched_at": "2026-08-29T11:54:15.751138+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage"}, {"content_hash": "243bc73adaeb3e381a0afa9216cb6739dcba39787617819519cebe2664b6b048", "fetched_at": "2026-08-29T11:54:15.759681+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/api/language"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:36.405290+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:36.405290+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:36.405290+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:39:26.432506+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3fa213abd59359043c381316b71f31e281dc14a0360a155c0bb6712e7895560", "fetched_at": "2026-08-28T04:04:36.405290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/explosion/spacy-llm"}, {"content_hash": "623e9fafc43ce60cbefb1e50722bf2f4e39f68b02703da3bf1250c4b73068e8a", "fetched_at": "2026-08-29T11:54:15.741542+00:00", "kind": "homepage", "missing": false, "url": "https://spacy.io/usage/large-language-models"}, {"content_hash": "15f0372dd6a7389df7b3054c90ee5d8639c97f76bcd1e0f8699e40d193c346eb", "fetched_at": "2026-08-29T11:54:15.753504+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage/linguistic-features"}, {"content_hash": "d7d4ca1e16d650854cb805cedc2e1b2986a264308a1ce7cd4f42b04d21eb11a2", "fetched_at": "2026-08-29T11:54:15.762267+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/spacy-llm/json"}, {"content_hash": "b80b5dfe308dfd308678e4086645ba43cb0668d3cb64a3af5ea762c1cd4cab3d", "fetched_at": "2026-08-29T11:54:15.751138+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage"}, {"content_hash": "243bc73adaeb3e381a0afa9216cb6739dcba39787617819519cebe2664b6b048", "fetched_at": "2026-08-29T11:54:15.759681+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/api/language"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:36.405290+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:36.405290+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:39:26.432506+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3fa213abd59359043c381316b71f31e281dc14a0360a155c0bb6712e7895560", "fetched_at": "2026-08-28T04:04:36.405290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/explosion/spacy-llm"}, {"content_hash": "623e9fafc43ce60cbefb1e50722bf2f4e39f68b02703da3bf1250c4b73068e8a", "fetched_at": "2026-08-29T11:54:15.741542+00:00", "kind": "homepage", "missing": false, "url": "https://spacy.io/usage/large-language-models"}, {"content_hash": "15f0372dd6a7389df7b3054c90ee5d8639c97f76bcd1e0f8699e40d193c346eb", "fetched_at": "2026-08-29T11:54:15.753504+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage/linguistic-features"}, {"content_hash": "d7d4ca1e16d650854cb805cedc2e1b2986a264308a1ce7cd4f42b04d21eb11a2", "fetched_at": "2026-08-29T11:54:15.762267+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/spacy-llm/json"}, {"content_hash": "b80b5dfe308dfd308678e4086645ba43cb0668d3cb64a3af5ea762c1cd4cab3d", "fetched_at": "2026-08-29T11:54:15.751138+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage"}, {"content_hash": "243bc73adaeb3e381a0afa9216cb6739dcba39787617819519cebe2664b6b048", "fetched_at": "2026-08-29T11:54:15.759681+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/api/language"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:39:26.432506+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3fa213abd59359043c381316b71f31e281dc14a0360a155c0bb6712e7895560", "fetched_at": "2026-08-28T04:04:36.405290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/explosion/spacy-llm"}, {"content_hash": "623e9fafc43ce60cbefb1e50722bf2f4e39f68b02703da3bf1250c4b73068e8a", "fetched_at": "2026-08-29T11:54:15.741542+00:00", "kind": "homepage", "missing": false, "url": "https://spacy.io/usage/large-language-models"}, {"content_hash": "15f0372dd6a7389df7b3054c90ee5d8639c97f76bcd1e0f8699e40d193c346eb", "fetched_at": "2026-08-29T11:54:15.753504+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage/linguistic-features"}, {"content_hash": "d7d4ca1e16d650854cb805cedc2e1b2986a264308a1ce7cd4f42b04d21eb11a2", "fetched_at": "2026-08-29T11:54:15.762267+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/spacy-llm/json"}, {"content_hash": "b80b5dfe308dfd308678e4086645ba43cb0668d3cb64a3af5ea762c1cd4cab3d", "fetched_at": "2026-08-29T11:54:15.751138+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage"}, {"content_hash": "243bc73adaeb3e381a0afa9216cb6739dcba39787617819519cebe2664b6b048", "fetched_at": "2026-08-29T11:54:15.759681+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/api/language"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:39:26.432506+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3fa213abd59359043c381316b71f31e281dc14a0360a155c0bb6712e7895560", "fetched_at": "2026-08-28T04:04:36.405290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/explosion/spacy-llm"}, {"content_hash": "623e9fafc43ce60cbefb1e50722bf2f4e39f68b02703da3bf1250c4b73068e8a", "fetched_at": "2026-08-29T11:54:15.741542+00:00", "kind": "homepage", "missing": false, "url": "https://spacy.io/usage/large-language-models"}, {"content_hash": "15f0372dd6a7389df7b3054c90ee5d8639c97f76bcd1e0f8699e40d193c346eb", "fetched_at": "2026-08-29T11:54:15.753504+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage/linguistic-features"}, {"content_hash": "d7d4ca1e16d650854cb805cedc2e1b2986a264308a1ce7cd4f42b04d21eb11a2", "fetched_at": "2026-08-29T11:54:15.762267+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/spacy-llm/json"}, {"content_hash": "b80b5dfe308dfd308678e4086645ba43cb0668d3cb64a3af5ea762c1cd4cab3d", "fetched_at": "2026-08-29T11:54:15.751138+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage"}, {"content_hash": "243bc73adaeb3e381a0afa9216cb6739dcba39787617819519cebe2664b6b048", "fetched_at": "2026-08-29T11:54:15.759681+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/api/language"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:39:26.432506+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e3fa213abd59359043c381316b71f31e281dc14a0360a155c0bb6712e7895560", "fetched_at": "2026-08-28T04:04:36.405290+00:00", "kind": "readme", "missing": false, "url": "https://github.com/explosion/spacy-llm"}, {"content_hash": "623e9fafc43ce60cbefb1e50722bf2f4e39f68b02703da3bf1250c4b73068e8a", "fetched_at": "2026-08-29T11:54:15.741542+00:00", "kind": "homepage", "missing": false, "url": "https://spacy.io/usage/large-language-models"}, {"content_hash": "15f0372dd6a7389df7b3054c90ee5d8639c97f76bcd1e0f8699e40d193c346eb", "fetched_at": "2026-08-29T11:54:15.753504+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage/linguistic-features"}, {"content_hash": "d7d4ca1e16d650854cb805cedc2e1b2986a264308a1ce7cd4f42b04d21eb11a2", "fetched_at": "2026-08-29T11:54:15.762267+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/spacy-llm/json"}, {"content_hash": "b80b5dfe308dfd308678e4086645ba43cb0668d3cb64a3af5ea762c1cd4cab3d", "fetched_at": "2026-08-29T11:54:15.751138+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/usage"}, {"content_hash": "243bc73adaeb3e381a0afa9216cb6739dcba39787617819519cebe2664b6b048", "fetched_at": "2026-08-29T11:54:15.759681+00:00", "kind": "site_page", "missing": false, "url": "https://spacy.io/api/language"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 74, "longevity": 90, "rhythm": 44}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1266, "days_push": 159, "days_rel": 162, "gap_med": 435, "n_releases_24m": 2}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}