Contents
Most of the documents a practice receives carry the same handful of facts in different places on the page: a reference, an address, a date, an amount. Someone reads each one and types those facts into the case. Document capture, which reached SwiftCase in October, reads those documents and fills in the case, and you can see how well it reads before you let it write anything.
Setting up a kind of document
An admin names the kind of document, such as a business rates bill or a repair estimate, describes it in a line and uploads two to six examples. The set-up screen asks for typical ones, messy ones included, because those are what will arrive.
SwiftCase reads the examples and suggests the fields it found, showing how many of the samples each one appeared in and what it read from each. For each field the admin picks an existing question on the form, creates a new one, or leaves it out. Then they check the values it read and correct any that are wrong.
How accuracy is measured
About a third of the examples are held back from the set-up. Each time the reading is set up or changed, it's tested on those held-back documents, comparing what it read with the values the admin confirmed, and the result is shown as a percentage for that kind of document. If a document doesn't state a value and SwiftCase reports that, it counts as correct. With only a handful of examples the percentage can move by a few points between runs, so treat it as a guide.
Shadow, Assist and Live
A new kind of document starts in Shadow. SwiftCase reads documents and records what it would have written, but it writes nothing and shows nothing to the people working the cases. Admins can see what it read.
In Assist, it proposes the values it reads and writes none of them. Each one waits in an Extracted data panel on the case for someone to accept, edit or reject.
In Live, values above the confidence threshold you set are written straight onto the case, and the rest are proposed. A field can be marked "Never write it without asking", and its value then always waits for a person. It never overwrites an answer someone has typed.
Only an admin moves a kind of document between the three.
We start new set-ups in Shadow, and keep the threshold and "Never write it without asking" as separate settings, because a model's confidence score comes from the model itself, and a model can be confidently wrong.
Where documents come from
A document is read when it's added to a case, and can be read again on request. It can also be read by an automation step, as part of a bulk upload, or when an integration fetches it.
SwiftCase looks at the first two pages to decide what kind of document it is. If no kind is a clear match, the document goes to an Unrecognised queue for someone to deal with. Files it can't read, and documents over 100 pages, stay on the case unread.
Matching to the right record
A document can also be matched to a record, such as the property a rates bill is for. A reference that finds exactly one record attaches it automatically. An address match is only a suggestion, and where there's more than one candidate, a person picks the right one. Document capture never creates a record.
What's kept
For each value SwiftCase keeps what was read, what was finally saved, the model's confidence, the threshold at the time, what happened to the value and who decided. The review screen shows the document beside the figures read from it.
The reading is done by a language model: Anthropic's Claude by default, with OpenAI as a fallback. The pages are sent to the model provider to be read.
Further reading:
- Document extraction: what the platform reads, and how it fits into the case
- Record pages you lay out yourself: what records are, and how their pages are laid out
- Prompt injection arrives by email: what happens when something a model reads contains instructions
