← all repositories

eyurtsev/kor

A Python library that uses LLMs to extract structured information from unstructured text based on user-defined schemas.

1.7k stars Python Language ModelsData Tooling
kor
Velocity · 7d
+1.4
★ / day
Trend
steady
star history

Kor provides a framework for extracting structured data from natural language using large language models. Users define the schema of the data they want extracted along with example pairs, and Kor generates appropriate prompts, sends them to an LLM, and parses the structured output. The library integrates with LangChain and is designed for situations where chat models do not have native tool-calling support.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.