langextract-llm-structured-text-extraction
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "langextract-llm-structured-text-extraction" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b72dd725ffa7906c36034d1230f4f6765adba77affacca4189075adf3814bebf. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/langextract-llm-structured-text-extraction before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Google's LangExtract is a Python library that uses LLMs to extract structured information from unstructured text and provides precise source localization. The project has 35,000+ GitHub stars and covers tasks ranging from clinical notes to literary analysis, producing validated extractions with exact source-text mappings and interactive visualizations.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "LangExtract 基于大语言模型的结构化文本提取"
slug: "langextract-llm-structured-text-extraction"
version: "1.0.0"
displayName: "LangExtract 基于大语言模型的结构化文本提取"
summary: "Google的LangExtract是一个Python库,使用LLM从非结构化文本中提取结构化信息,并具有精确的来源定位功能。该库拥有35,000+个GitHub星标,可处理从临床笔记到文学分析等各种任务,生成带有确切源文本映射和交互式可视化的验证提取结果。"
license: "MIT"
description: "Google的LangExtract是一个Python库,使用LLM从非结构化文本中提取结构化信息,并具有精确的来源定位功能。该库拥有35,000+个GitHub星标,可处理从临床笔记到文学分析等各种任务,生成带有确切源文本映射和交互式可视化的验证提取结果。"
github_stars: 35042
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Data Extraction & Transformation"
framework: "Custom Agents"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 35042LangExtract 基于大语言模型的结构化文本提取
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/1991513ccie-png/skills
- 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
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供从非结构化文本中提取结构化信息的实用功能
- 适用于多种场景如临床笔记、文学分析等
Areas to improve
-
触发词不全 Reported severity: Minor
description 和 summary 提供了功能描述,但缺少具体的触发词或关键词,可能导致触发不够精准。
Recommendation: 建议补充具体的触发关键词,如 '文本提取'、'结构化信息'、'LLM 提取' 等,以提高触发精准度。
Highlights
- 功能描述清晰,说明了库的核心用途
Areas to improve
-
缺少详细步骤和示例 Reported severity: Minor
文档包含基本结构,但缺少详细的步骤划分、端到端示例和明确的出口条件。
Recommendation: 建议补充详细的操作步骤、完整的端到端使用示例和明确的出口条件,以提升用户体验。
Highlights
- frontmatter 完整,包含必要的元数据
Areas to improve
-
异常处理不足 Reported severity: Minor
提供了安装命令和基本要求,但未覆盖主要异常情况,如网络问题、依赖冲突等。
Recommendation: 建议补充常见异常的处理方法,如网络错误、依赖安装失败等,以提高执行可靠性。
Highlights
- 工具来源明确,提供了 GitHub 仓库链接
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 26, 28, 29 -
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 33
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.