LibreAI / 開発ツール / langextract
// devtools · google/langextract

langextract

langextractは、googleが公開しているオープンソースの開発ツールプロジェクトです(GitHub: google/langextract)。GitHubスターは38,930、フォークは2,720で、Apache-2.0ライセンスの下で公開されています。GitHubでの最終更新は2026年10月6日です。

Google's Python library for extracting structured data from unstructured text with LLMs, with grounding

★ 38.9k スター⑂ 2.7k フォークApache-2.0更新 2026年10月
▦ ビジュアル — このプロジェクトのREADMEには埋め込み可能なスクリーンショットがないため、
ここではプレースホルダーを表示しています。下のガイド自体は完全な内容です。
// プロジェクトの基本情報

プロジェクト基本情報

リポジトリ
google/langextract
GitHubスター
38,930
フォーク
2,720
ライセンス
Apache-2.0
GitHubでの最終更新
2026年10月6日
カテゴリ
開発ツール
掲載タイプ
完全なインストールガイド
公式サイト
Official site
// 仕組み

仕組み

  1. Clarify your goal

    Decide what you want from langextract and check the README and requirements to confirm it fits your setup and Python environment.

  2. Get the code

    Clone the repository from GitHub (github.com/google/langextract) or use the documented install channel if you do not need the source.

  3. Install and configure

    Follow the README quickstart to install dependencies and set any required configuration or credentials.

  4. Run your first task

    Work through the README's first example end to end, then adapt it to your own project or data.

// 機能

選ばれる理由

Structured extraction

Extracts structured information from unstructured text using LLMs.

Precise source grounding

Every extraction is grounded to its exact source span in the document.

Interactive visualization

Visualize extraction results interactively to verify quality.

Long documents

Scales to longer documents beyond a single context window.

Vertex AI batch

Supports Vertex AI batch processing for large jobs.

Model flexible

Works with Gemini models and other providers as documented.

Advertisement
// 自分で実行

自分で実行してみる

  1. Clone the repository

    Start by getting the source and entering the project directory.

    git clone https://github.com/google/langextract.git
    cd langextract
  2. Install from PyPI

    Install the langextract package.

    pip install langextract  # see README Installation section
  3. Define and run an extraction

    Define your extraction task with examples, run it on text, then visualize the grounded results.

    # see README Quick Start for the example code
// 活用例

作れるもの

Advertisement
// よくある質問

よくある質問

Who maintains langextract?

It is maintained by google and contributors on GitHub, where the repository github.com/google/langextract is the canonical home for code, issues and releases.

Is langextract free to use?

Yes — it is open source under the Apache-2.0 license. Read the license in the repository for what is permitted, including any conditions on redistribution or commercial use.

Does it need a paid API key?

Yes for cloud models — for example a Gemini API key; setup for cloud models is documented in the README.

How does langextract compare to alternatives?

Compared with hand-written regex or plain prompting: LangExtract adds few-shot task definition, exact source grounding and visualization on top of raw LLM prompting.

How do I get started?

Clone github.com/google/langextract, follow the README quickstart to install it, and run the documented first example before adapting it to your own work.

// さらに探索

似ているツール

開発ツール

mediapipe

Google's cross-platform framework for on-device ML perception: vision, text and audio pipelines

★ 37.2k スターApache-2.0
ガイドを見る →
開発ツール

trafilatura

Trafilatura — a Python and CLI tool to crawl the web and extract clean text and metadata for corpora and RAG.

★ 6.9k スターApache-2.0
ガイドを見る →
開発ツール

AnyCrawl

A Node.js crawler that turns websites into LLM-ready data and extracts structured SERP results.

★ 3.5k スターMIT
ガイドを見る →
開発ツール

ddgs

A Python metasearch library aggregating many web search services — plus CLI, API and MCP server

★ 3.0k スターMIT
ガイドを見る →
開発ツール

datasets

Hugging Face's library for loading and processing datasets for AI models in one line

★ 22.0k スターApache-2.0
ガイドを見る →
開発ツール

WrenAI

GenBI for AI agents - governed text-to-SQL and dashboards through an open context layer

★ 17.8k スターNOASSERTION
ガイドを見る →
// 代替候補

代替候補: 開発ツール

LibreAIカタログに掲載された開発ツールプロジェクトの中で最もスターの多いもの — langextractが合わなかった場合に検討したい、現実的な候補リストです。

// さらに見る devtools

さらに見る: 開発ツール

カタログの中でlangextractとスター数が近い開発ツールプロジェクト — 前後の棚もそのまま見て回れます。

langextractを入手する

無料でオープン — ソースコードを入手して、リポジトリにスターを付け、作り始めましょう。