L
google/langextract★ 39,462 · Python
Python SDK for extracting structured data with traceable source spans
Apache-2.0 · Commercial Friendlyv1.7.2
Side-by-side 2026 comparison in RAG, Data & Memory: google/langextract leads in total GitHub adoption (★ 39.5k), while pgvector/pgvector shows stronger 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs Custom / Check Repo.
Python SDK for extracting structured data with traceable source spans
PostgreSQL extension for exact and approximate vector search alongside relational data
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | google/langextract | pgvector/pgvector |
|---|---|---|
| Total GitHub Stars | ★ 39,462 | ★ 23,928 |
| 24h / 7d Velocity | +6 / +85 | +13 / +96 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 95/100 | B+ · 71/100 |
| Deployment Signals | Docker · Local AI · API | Docker · Self-Hosted |
| Primary Language | Python | C |
| Commercial License | Apache-2.0 · Commercial Friendly | Custom / Check Repo |
| Activity | Updated 3d ago | Updated today |
| Latest Release | v1.7.2 | Rolling commits (main) |
| Best For | Python ingestion and RAG preprocessing pipelines that need structured fields from long or varied documents, traceable excerpts, and a human review path | RAG and semantic search teams already on PostgreSQL that need to retrieve embeddings with document metadata and apply relational filters in one query. Start with exact search and add ANN when measured latency calls for it |
char_interval links matched extraction text to source offsets; unmatched extractions carry None.output_schema; Ollama offers JSON mode but not this custom schema interface.max_char_buffer, max_workers, and extraction_passes tune chunk size, concurrency, and repeat extraction independently.@router.register(...), publish Python entry points, and optionally supply a schema class.pip install langextractvector extension per database and query embeddings over existing PostgreSQL connections using SQL.m, ef_construction, and hnsw.ef_search tune graph construction and search.ivfflat.probes controls how many lists a query searches.docker pull pgvector/pgvector:pg19-trixieSignal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy