Large Language Models (LLMs) feature powerful natural language understanding capabilities. With only a few (and sometimes no) examples, an LLM can be prompted to perform custom NLP tasks such as text categorization, named entity recognition, coreference resolution, information extraction and more. 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.

Features

  • Serializable llm component to integrate prompts into your spaCy pipeline
  • Modular functions to define the task (prompting and parsing) and model
  • Supports open-source LLMs hosted on Hugging Face
  • Easy implementation of your own functions via spaCy's registry for custom prompting, parsing and model integrations
  • Integration with LangChain
  • Interfaces with the APIs of OpenAI, Cohere, and Anthropic

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow spacy-llm

spacy-llm Web Site

Other Useful Business Software
LinkSquares: All-in-One Contract Management Platform Icon
LinkSquares: All-in-One Contract Management Platform

#1 Customer Rated CLM Any Contract. Every Department. One Platform.

LinkSquares is the leading Contract Lifecycle Management (CLM) software designed to help legal, procurement, and business operations teams master the entire contract lifecycle, from creation to execution and renewal. The platform transforms how companies manage agreements by centralizing data, automating routine work, and providing actionable insights powered by AI. This single, connected source of truth helps teams eliminate manual processes, streamline workflows, boost visibility, and ensure compliance across thousands of contracts, ultimately reducing risk and administrative burden.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of spacy-llm!

Additional Project Details

Programming Language

Python

Related Categories

Python Large Language Models (LLM)

Registered

2023-08-25