This package integrates Large Language Models (LLMs) into spaCy, featuring a modular system for fast prototyping and prompting, and turning unstructured responses into robust outputs for various NLP tasks, no training data required.
โจ New features
- Serializable `llm` component to integrate prompts into your pipeline
- Modular functions to define the `task` (prompting and parsing) and `backend`(model to use)
- Support for hosted APIs and self-hosted open-source models
- Integration with `MiniChain` and `LangChain`
- Access to OpenAI API, including GPT-4 and various GPT-3 models
- Built-in support for open-source Dolly models hosted on Hugging Face
- Usage examples for Named Entity Recognition and Text Classification
- Easy implementation of your own functions via spaCy's registry for custom prompting, parsing and model integrations
๐ Documentation and examples
- Succint example use-cases: [https://github.com/explosion/spacy-llm/blob/v0.1.0/README.md#-usage](https://github.com/explosion/spacy-llm/blob/v0.1.0/README.md#-usage)
- Full examples: [https://github.com/explosion/spacy-llm/tree/v0.1.0/usage_examples](https://github.com/explosion/spacy-llm/tree/v0.1.0/usage_examples)
- API documentation: [https://github.com/explosion/spacy-llm/tree/v0.1.0/#-api](https://github.com/explosion/spacy-llm/tree/v0.1.0#-api)
๐ฅ Contributors
adrianeboyd, bdura, honnibal, ines, kabirkhan, kadarakos, koaning, ljvmiranda921, rmitsch, shadeMe, svlandeg