> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neudocs.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Document correctness

> Check that an upload is the right document before a reviewer opens it.

The correctness engine evaluates whether an upload matches the request item's expectation. It combines always-available deterministic checks with an optional firm-configured AI judge.

## Deterministic checks

NeuDocs can detect conditions such as unsupported content, unreadable extraction, obvious type mismatches, missing expected text, or file-level problems without sending the document to an AI provider.

## Optional bring-your-own AI

Owners and admins can configure an OpenAI-compatible provider URL, model, and API key. The key is encrypted at rest and decrypted only on the server when an evaluation runs. Provider URLs are checked to reject private-network and other unsafe destinations.

Documents are sent only when the firm enables AI verification for the request/item. NeuDocs does not use a shared NeuDocs AI account for this feature.

## Modes

| Mode         | Effect                                                                     |
| ------------ | -------------------------------------------------------------------------- |
| **Off**      | No correctness gate for the item.                                          |
| **Advisory** | Findings are shown to staff and never change client state.                 |
| **Soft**     | A warning or failure shows the client a non-blocking nudge.                |
| **Hard**     | A failure blocks normal completion; warnings and evaluation errors do not. |

Hard mode retains an escape path: the client can request an override and authorized staff can force-accept after review.

## Verdict statuses

A verdict may pass, warn, fail, report an error, or mark the content unsupported. Each result includes its evaluation layer and reasons where available.

<Warning>
  AI output can be wrong. Use explicit expectations, test with representative redacted documents, and keep a human reviewer in any financial, legal, tax, or regulatory decision.
</Warning>


## Related topics

- [Quickstart](/quickstart.md)
- [Dashboard and insights](/workspace/dashboard-insights.md)
- [index](/index.md)
- [Structured capture](/verification/structured-capture.md)
- [Review and completion](/workflow/review.md)
