BigHugger
GH Repository · explosion

spacy-llm

🦙 Integrating LLMs into structured NLP pipelines

stars
1,394
30-day movement
starts with the next reading
Related entries
60
Connections
1
Pythonllamacohereclaudeanthropicpythonllmopenaispacytext-classificationnatural-language-processingnlpotherdollygpt-3large-language-modelsnamed-entity-recognitiongpt-4machine-learningfalconprompt-engineering

spacy-llm is a Python package from Explosion that integrates large language models into spaCy's structured NLP pipelines. Based on its topics, it supports multiple LLM providers including OpenAI, Anthropic, Cohere, and open models like Dolly, Falcon, and Llama, with tasks such as named entity recognition and text classification driven by prompt engineering.

Use it when you want to combine LLM capabilities with spaCy's pipeline structure rather than calling models ad hoc.

Use it to

  • Add LLM components to spaCy pipelines
  • Run LLM-based named entity recognition
  • Perform LLM-based text classification
  • Manage prompts for structured NLP tasks
  • Swap between hosted and open-weight LLM backends

For NLP developers already working with spaCy pipelines

Role
other
Language
Python
Licence
MIT
Forks
110
Open issues
38
Last push
2026-03-27
Latest release
v0.1.0-a1 · 2023-04-26
topicsllmspacynlpprompt-engineeringnamed-entity-recognitiontext-classification