支持的结构化文本提取

数据 社区

技能解读

当前原文的自动摘译,尚未人工审校。

安装

使用与您的环境匹配的上游安装或设置路径: pip install langextract git clone https://github.com/google/langextract.git pip install -e 。 pip install -e ".[dev]"

来源

代理技能交换来源:agentskillexchange/skills — 由 TomeVault 分发。

流狐档案 运行与权限由流狐静态检查推断,不代表作者声明或实际测试结果。
领域
数据
作者声明的智能体
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
运行环境证据
未执行;当前没有隔离运行测试证据
作者 / 版本 / 许可证
@tomevault-io · 未声明许可证
上下文用量评级
低消耗
接入复杂程度
需简单配置
是否需要外部接口密钥
需要 · Vendor-specific
兼容的系统
未声明(默认跨平台)
运行环境要求
Python
检测到的文件与系统行为
  • 只读
网络行为
允许外网请求
安装命令数
无(仅作为资料)

需要注意: 未声明工具权限范围;实际权限由运行环境决定。

作者说明文件(原文) SKILL.md

# 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 -->

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。