AltHub

google/langextract Alternatives

LLM-based structured extraction from unstructured text/documents

LangExtract is a Python library that extracts structured information from unstructured text using LLMs, with precise source grounding into the source text and interactive visualization.

38.5kPythonApache-2.0active ยท last push 2mo agoGitHub

Drop-in peers

Same problem, same approach. Swapping one for another is a config change, not a rewrite.

shcherbak-ai/contextgemGitHub

Direct Python peer for grounded LLM extraction from documents; choose when you want active maintenance and do not need Google-specific visualization.

ContextGem: Effortless LLM extraction from documents

2.0k
Python
Apache-2.0
active2mo ago

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

katanaml/sparrowGitHub

Choose for vision-based document AI when your inputs include scanned images or complex layouts requiring OCR.

Structured data extraction, instruction calling and agentic workflows with ML, LLM and Vision LLM

5.2k
Python
GPL-3.0
active2mo ago
yifanfeng97/Hyper-ExtractGitHub

Choose when you need graph/hypergraph output instead of flat JSON schemas from text.

Hypergraph is more powerful. Transform unstructured text into structured knowledge with LLMs. Graphs, hypergraphs, and spatio-temporal extractions โ€” with one command.

3.9k
Python
NOASSERTION
active1mo ago
NanoNets/docextGitHub

Choose for an OCR-free, model-based document extraction and benchmarking toolkit if you prefer deterministic ML over LLM calls.

An on-premises, OCR-free unstructured data extraction, markdown conversion and benchmarking toolkit. (https://idp-leaderboard.org/)

2.1k
Python
Apache-2.0
active7mo ago
NanoNets/docstrangeGitHub

Choose for OCR-backed document conversion and structured extraction when inputs are images, PDFs, or PowerPoints.

Extract and convert data from any document, images, pdfs, word doc, ppt or URL into multiple formats (Markdown, JSON, CSV, HTML) with intelligent structured data extraction and advanced OCR.

1.5k
Python
MIT
slowing1.0y ago
567-labs/instructorGitHub

Lower-level structured-output library for LLMs; choose when you want model-agnostic Pydantic schemas and will build sourcing/grounding yourself.

structured outputs for llms

13.8k
Python
MIT
active1mo ago

Older generation, or narrower

An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.

promptslab/PromptifyGitHub

Earlier prompt-template library for getting structured responses; choose only for simple legacy schemas and limited model support.

Prompt Engineering | Prompt Versioning | Use GPT or other prompt based models to get structured output. Join our discord for Prompt-Engineering, LLMs and other latest research

4.6k
Python
Apache-2.0
active7mo ago
mishushakov/llm-scraperGitHub

TypeScript library for structuring web pages with LLMs; choose when source is a webpage and your stack is JavaScript/Node.

Turn any webpage into structured data using LLMs

6.9k
TypeScript
MIT
active2mo ago
langchain-ai/langchain-extractGitHub

Archived LangChain extraction prototype; choose only if staying in LangChain and accepting unmaintained code.

๐Ÿฆœโ›๏ธ Did you say you like data?

1.2k
Rich Text Format
MIT
archived8mo ago

End-user tools

Does the same job, but ships as an app. Useful to a person, not swappable into a codebase.

CatchTheTornado/text-extract-apiGitHub

Runnable OCR/LLM document-extraction HTTP API with anonymization, not an embeddable library.

Document (PDF, Word, PPTX ...) extraction and parse API using state of the art modern OCRs + Ollama supported models. Anonymize documents. Remove PII. Convert any document or picture to structured JSON or Markdown

3.2k
Python
MIT
slowing10mo ago
Zipstack/unstractGitHub

LLM extraction platform with UI and ETL pipelines; choose it for no-code deployments rather than an importable library.

LLM-Driven Extraction of Unstructured Data โ€” Built for API Deployments & ETL Pipeline Workflows

7.2k
Python
AGPL-3.0
active2mo ago

Listed as an alternative to

These projects were analysed and named langextract among their alternatives. The relationship is not symmetric โ€” how langextract rates them is a separate judgement, made when langextract is analysed in its own right.

567-labs/instructorGitHub

calls langextract โ€œChoose it for extraction with precise source grounding and visualization, but it's more specialized than Instructor's general validation loop.โ€

structured outputs for llms

13.8kPythonactive
Zipstack/unstractGitHub

calls langextract โ€œchoose when you need grounded, attributable LLM extractions from raw text with source visualization rather than a full document-API platform.โ€

LLM-Driven Extraction of Unstructured Data โ€” Built for API Deployments & ETL Pipeline Workflows

7.2kPythonactive