Langextract 文档编写
- 作者仓库星标 0
- 作者仓库 skills-registry
LangExtract LLM-Powered Structured Text Extraction
LangExtract by Google is a Python library for extracting structured information from unstructured text using LLMs with precise source grounding. With 35,000+ GitHub stars, it handles everything from clinical notes to literary analysis, producing verified extraction results with exact source text mappings and interactive visualizations.
Installation
Use the upstream install or setup path that matches your environment:
- pip install langextract
- git clone https://github.com/google/langextract.git
- pip install -e .
- pip install -e ".[dev]"
Requirements and caveats from upstream:
- LangExtract is a Python library that uses LLMs to extract structured information from unstructured text documents based on user-defined instructions. It processes materials such as clinical notes or reports, identifyi...
- Note: Using cloud-hosted models like Gemini requires an API key. See the API Key Setup section for instructions on how to get and configure your key.
- python
Basic usage or getting-started notes:
Extract structured information with just a few lines of code.
1. Define Your Extraction Task
Extracted from upstream docs: https://raw.githubusercontent.com/google/langextract/HEAD/README.md
Source
<!-- tomevault:4.0:skill_md:2026-05-22 -->Source: agentskillexchange/skills — distributed by TomeVault.
- 流狐分类
- 数据
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @tomevault-io · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 需要 · Vendor-specific
- 检测到的系统要求
- 未声明
- 底层运行要求
- Python
- 检测到的文件与系统行为
-
- 只读
- 检测到的网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Use the upstream install or setup path that matches your environment: pip install langextract git clone https://github.com/google/langextract.git
Agent Skill Exchange Source: agentskillexchange/skills — distributed by TomeVault. <!-- tomevault:4.0:skillmd:2026-05-22 -->
# LangExtract LLM-Powered Structured Text Extraction
LangExtract by Google is a Python library for extracting structured information from unstructured text using LLMs with precise source grounding. With 35,000+ GitHub stars, it handles everything from clinical notes to literary analysis, producing verified extraction results with exact source text mappings and interactive visualizations.
## Installation
Use the upstream install or setup path that matches your environment:
- pip install langextract
- git clone https://github.com/google/langextract.git
- pip install -e .
- pip install -e ".[dev]"
Requirements and caveats from upstream:
- LangExtract is a Python library that uses LLMs to extract structured information from unstructured text documents based on user-defined instructions. It processes materials such as clinical notes or reports, identifyi...
- **Note:** Using cloud-hosted models like Gemini requires an API key. See the [API Key Setup](#api-key-setup-for-cloud-models) section for instructions on how to get and configure your key.
- python
Basic usage or getting-started notes:
- [Quick Start](#quick-start)
- Extract structured information with just a few lines of code.
- ### 1. Define Your Extraction Task
- Source: https://github.com/google/langextract
- Extracted from upstream docs: https://raw.githubusercontent.com/google/langextract/HEAD/README.md
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/langextract-llm-structured-text-extraction/)
---
> Source: [agentskillexchange/skills](https://github.com/agentskillexchange/skills) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-22 --> 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Installation → Source
要点 -> Note · Basic usage or getting-started notes: - [Quick Start](quick-start) - Extract structured information with just a few lines of code. · --- > Source: [agentskillexchange/skills](https://github.com/agentskillexchange/skills) — distributed by [TomeVault](https://tomevault.io).
文件/命令 -> github.com/google/langextract.git · github.com/google/langextract · raw.githubusercontent.com/google/langextract/HEAD/README.md · agentskillexchange.com/skills/langextract-llm-structured-text-extraction · agentskillexchange/skills · github.com/agentskillexchange/skills
内容 SHA-256 -> 08f34147981e
原文结构
适用与边界
原文中的明确线索
github.com/google/langextract.git、github.com/google/langextract、raw.githubusercontent.com/google/langextract/HEAD/README.md、agentskillexchange.com/skills/langextract-llm-structured-text-extraction、agentskillexchange/skills、github.com/agentskillexchange/skills