promptslab/Promptify
A Python library for structured NLP tasks using LLMs, offering Pydantic outputs, multi-provider support, and built-in evaluation.
Core Features
Quick Start
pip install promptifyDetailed Introduction
Promptify is a powerful Python library that streamlines the development of LLM-powered Natural Language Processing (NLP) applications. Positioned as the "scikit-learn for LLM-powered NLP," it offers a high-level API for common tasks like Named Entity Recognition, text classification, and question answering, requiring minimal code. A core strength is its integration with Pydantic, ensuring all LLM outputs are type-safe and structured, eliminating the need for manual parsing of raw strings. Through LiteLLM, Promptify provides a universal backend, supporting over 100 LLM providers including OpenAI, Anthropic, and local models. It also includes a robust evaluation framework, batch processing, and async capabilities, making it an efficient and reliable tool for building production-ready LLM solutions.