Anthropic

Anthropic will give you high-quality extractionns and i If you run the process in your terminal the code will look for the usual ANTRHOPIC_API_KEY. You can assign it explicitly via a terminal export

export ANTRHOPIC_API_KEY=...

or in the code (look for os.environ.get("ANTRHOPIC_API_KEY", "")).

There are two Anthropic model parameters you can set:

These are used only if you enable the Anthropic flag, like so:

knwler extract --file <file path> --anthropic