explosion/spacy-llm
🦙 Integrating LLMs into structured NLP pipelines
Provides serializable spaCy pipeline components that convert unstructured LLM responses into task-specific structured outputs (NER, text classification, relation extraction, etc.) through modular prompt and parsing functions. Supports multiple LLM backends including OpenAI, Cohere, Anthropic, and open-source models via Hugging Face and LangChain, with built-in task handlers and a map-reduce approach for handling context window limitations.
1,367 stars and 11,602 monthly downloads. No commits in the last 6 months. Available on PyPI.
Stars
1,367
Forks
105
Language
Python
License
MIT
Category
Last pushed
Jan 08, 2025
Monthly downloads
11,602
Commits (30d)
0
Dependencies
3
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/transformers/explosion/spacy-llm"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.