langextract-usage
Installation
SKILL.md
LangExtract Usage
LangExtract extracts structured information from unstructured text using LLMs.
The main entry point is lx.extract(). Every extraction needs at least one
example and input text. prompt_description is optional but recommended.
Install
pip install langextract
# For OpenAI model support:
pip install langextract[openai]
API keys
# Gemini (checks GEMINI_API_KEY then LANGEXTRACT_API_KEY)