Show HN: Extrai โ€“ An open-source tool to fight LLM randomness in data extraction
github.comยท12hยท
Discuss: Hacker News
Flag this post

Extrai

๐Ÿ“– Description

With extrai, you can extract data from text documents with LLMs, which will be formatted into a given SQLModel and registered in your database.

The core of the library is its Consensus Mechanism. We make the same request multiple times, using the same or different providers, and then select the values that meet a certain threshold.

extrai also has other features, like generating SQLModels from a prompt and documents, and generating few-shot examples. For complex, nested data, the library offers [Hierarchical Extraction](https://docs.extrai.xyz/how_to/handle_complex_data_wiโ€ฆ

Similar Posts

Loading similar posts...