qmetrics.net

Promptify

Python NLP tasks with structured LLM outputs

A task-oriented Python engine that calls LLMs through LiteLLM and returns Pydantic-typed results for common NLP jobs without training data.

Overview

Promptify is a Python package positioned as a concise way to run NLP-style tasks with large language models. You pick a task class, pass text and a model identifier, and receive structured output validated by Pydantic schemas instead of raw strings.

Built-in tasks cover named entity recognition, several classification modes, question answering, summarization, relation and table extraction, question generation, SQL generation, text normalization, and topic extraction. Custom tasks can use any Pydantic model as the output shape.

LiteLLM serves as the backend so the same code can target OpenAI, Anthropic, Google, Ollama, Azure, and many other providers by changing the model string. The library supports few-shot examples, optional domain hints such as medical context, batch processing with async concurrency, and awaitable calls.

An evaluation framework reports precision, recall, F1, accuracy, exact match, and ROUGE-style metrics. A safe JSON parser helps when providers lack native structured output. Token usage and cost summaries are available through a dedicated helper. Installation is via pip and requires Python 3.9 or newer.

Key features

  • Pydantic structured outputs
  • LiteLLM multi-provider backend
  • Built-in NER, QA, and classification tasks
  • Custom tasks with any schema
  • Few-shot example support
  • Async and batch processing
  • Evaluation metrics built in
  • Token and cost tracking

Use cases

  • Quick NER without labeled data
  • LLM classification pipelines
  • Swapping providers via model strings
  • Measuring prompt task quality

Tags

Similar software

PageIndex

Reasoning-based document retrieval without vector indexes

PageIndex builds a hierarchical tree index from PDFs and answers questions by having a language model reason over that structure instead of embedding chunks in a vector database.

  • Tree index built from PDF layout
  • LLM reasoning over the index for retrieval
  • Local SDK with pluggable chat models
PythonDetails →
★ 40.9k⟳ yesterdayMIT

Composio

SDK and CLI for connecting AI agents to many apps

Composio equips AI agents with large sets of pre-authenticated toolkits, per-user sessions, authentication, triggers, and a sandbox. SDKs ship for TypeScript and Python with adapters for common agent frameworks.

  • Pre-authenticated app toolkits
  • Per-user agent sessions
  • Runtime tool discovery and execution
TypeScriptCLIDetails →
★ 31.4k⟳ todayMIT

PageAgent

In-page JavaScript GUI agent for web applications

Embeddable script adds a natural-language agent to any webpage for DOM-based actions without screenshots or a Python backend.

  • Single-script or npm integration
  • DOM-based page manipulation
  • Bring-your-own LLM configuration
TypeScriptWeb, Browser extensionDetails →
★ 29.8k⟳ 16 days agoMIT
Open Source Alternative to:Claude in Chrome

AI SDK

TypeScript toolkit for AI applications and agents

The AI SDK is a provider-agnostic TypeScript library for building AI-powered applications and agents with popular UI frameworks and Node.js runtimes.

  • Unified provider API
  • Vercel AI Gateway support
  • Text and structured output
TypeScriptDetails →
★ 28.4k⟳ todayApache-2.0

Stagehand

SDK for AI-driven browser automation

Stagehand gives agents Playwright-style browser control with natural-language act, observe, and extract helpers. It ships for TypeScript, Python, and Go with local Chrome or hosted cloud browsers.

  • Playwright-style page methods
  • Natural-language act and extract
  • Self-healing action adaptation
TypeScriptCLIDetails →
★ 26.2k⟳ todayMIT

turbovec

In-process TurboQuant vector index for Python and Rust

An in-process vector index for Python and Rust that compresses embeddings to 2 or 4 bits per dimension and searches the compressed form with SIMD kernels.

  • 2-bit and 4-bit TurboQuant compression
  • SIMD search on compressed vectors
  • Incremental add and remove without rebuild
RustDetails →
★ 17.5k⟳ 1 month agoMIT