Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
eyurtsev authored Mar 14, 2024
1 parent 4d6a3fb commit c81117b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,22 @@ See [documentation](https://eyurtsev.github.io/kor/).

Integrated with the [LangChain framework 😽💗 🦜🔗](https://python.langchain.com/en/latest/index.html).

## Kor vs. LangChain

There are 3 different approaches for extracting information using LLMs:

1. [prompt based/parsing](https://python.langchain.com/docs/use_cases/extraction/how_to/parse)
2. [function/tool calling](https://python.langchain.com/docs/use_cases/extraction/quickstart)
3. JSON mode

Please see the LangChain [extraction use case docs](https://python.langchain.com/docs/use_cases/extraction/) for an overview.

Kor has a pretty good implementation of the **parsing** approach. The approach works with all good-enough LLMs regardless
of whether they support function/tool calling or JSON modes.

Extraction quality is principally driven by providing good reference examples and good schema documentation.

Please see guidelines [here](https://python.langchain.com/docs/use_cases/extraction/guidelines) and [here](https://eyurtsev.github.io/kor/guidelines.html).

## Version 1.0.0 Release

Expand Down

0 comments on commit c81117b

Please sign in to comment.