langchain-ai/langchain-extract
A reference implementation of an LLM-powered service that extracts structured information from text and files using LangChain and FastAPI.

This repository provides a starting point for building extraction applications that use large language models to pull structured data from unstructured text and files. It wraps LangChain’s extraction capabilities in a FastAPI REST API with PostgreSQL storage, following the official LangChain extraction use-case documentation. The project is maintained by the LangChain organization and serves as a reference architecture rather than a production library.
Frequently asked
- What is langchain-ai/langchain-extract?
- A reference implementation of an LLM-powered service that extracts structured information from text and files using LangChain and FastAPI.
- Is langchain-extract open source?
- Yes — langchain-ai/langchain-extract is open source, released under the MIT license.
- What language is langchain-extract written in?
- langchain-ai/langchain-extract is primarily written in Rich Text Format.
- How popular is langchain-extract?
- langchain-ai/langchain-extract has 1.2k stars on GitHub.
- Where can I find langchain-extract?
- langchain-ai/langchain-extract is on GitHub at https://github.com/langchain-ai/langchain-extract.