nutrient-document-decision-v2

Ask a document anything typed (yes/no, pick-one, where on the page, which words) and get every answer from one read, each with a calibrated confidence.

๐Ÿ† Scorecard ยท Leaderboards: grounding ยท document classification ยท open-vocabulary ยท document split

Pick an example, then change anything: add or remove pages, edit the texts, rewrite or add questions. One request can mix any question types.

Examples

A PDF adds one page per sheet. Pages are page_1, page_2, โ€ฆ in order.

State: the document

Questions

Send the same request to your deployment as a JSON body, with each page's bytes base64-encoded in its asset:

import base64, json, requests

request = json.load(open("request.json"))          # the JSON above
for key, path in {"page_1": "page1.png"}.items():   # put each page's real bytes in its asset
    request["assets"][key]["data_base64"] = base64.b64encode(open(path, "rb").read()).decode()
response = requests.post(YOUR_DEPLOYMENT_URL, json=request).json()

๐Ÿ“ฉ Get access

nutrient-document-decision-v2 is commercial and its weights are not downloadable here. To run it on-prem, contact Nutrient: nutrient.io/contact-sales.

About the author

This project is maintained and funded by Nutrient - The deterministic document infrastructure enterprises run their highest-stakes workflows on: replayable output, clear exceptions, and full audit trails on the messy, regulated documents where AI alone breaks.