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

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.