Objective Coding
Other languages
Use Claira to extract and standardize factual document metadata like dates, titles, authors, and document types in Nuix Discover.
Objective Coding
Objective coding is the process of adding or correcting factual metadata on documents -- things like the document date, title, author, document type, and language. Unlike legal coding (which involves judgment calls about relevance or privilege), objective coding focuses on verifiable information that can be read directly from the document.
This matters because metadata drives everything downstream: search filters, sort orders, chronologies, and production sets all depend on accurate, consistent metadata. When that metadata is missing or wrong, your review suffers.
When to use objective coding
- Missing metadata. Documents were loaded without key fields like date or author.
- Incomplete imports. Metadata extraction during processing captured some fields but missed others.
- Large volumes needing standardization. Thousands of documents have metadata in inconsistent formats.
- Chronologies needed. You need reliable dates to build a timeline, but the existing date field is unreliable.
How it differs from legal coding
| Objective Coding | Legal Coding |
|---|---|
| Factual, verifiable | Requires judgment |
| Document Date, Title, Author, Doc Type, Language | Relevance, Privilege, Issue Tags |
| Can be automated with high confidence | Requires human review |
| Same answer regardless of reviewer | May vary by reviewer |
The workflow
Objective coding in Claira follows a seven-step process. Each step builds on the previous one.
Step 1: Open your Claira workspace
Navigate to your case in Claira and open the workspace where you will run the objective coding scan.
Step 2: Confirm text extraction
Before Claira can analyze a document, it needs extracted text to work with. Verify that your documents have been processed and that text extraction completed successfully.
Step 3: Create or connect destination fields
You need fields in Nuix Discover to store Claira's output. We recommend creating dedicated AI fields rather than writing directly to your primary metadata fields. This gives you a chance to QC the results before committing them.
Example fields:
Connect these fields in Claira's workspace settings so scan results are written to the right place.
Step 4: Build and test your prompt on a single document
Start with one document to make sure your prompt produces the output you expect. Open a document in the single review view, enter your prompt, and check the result.
This prompt is intentionally strict: it asks for a single date in a specific format, with a clear fallback value (--) when no date can be determined. That structure makes QC and downstream processing much easier.
Step 5: Run a bulk scan
Once you are satisfied with your prompt on individual documents, run it across your full document set (or a targeted subset) using Claira's bulk scan feature.
Monitor the scan progress in the workspace. Larger document sets will take longer, but you can continue working while the scan runs.
Step 6: Quality control
This is the most important step. Do not skip it.
- Filter for fallback values. Search your destination field for the fallback value (e.g.,
--) to find documents where Claira could not extract the metadata. Review these manually. - Spot-check results. Open 20-30 documents across different document types and compare Claira's output to the actual document content.
- Validate edge cases. Pay special attention to documents with unusual formats, multiple dates, or ambiguous authorship.
Step 7: Update primary metadata fields
Once you have QC'd the results and are confident in their accuracy, copy the values from your AI fields (e.g., OC Date) into your primary metadata fields (e.g., Document Date). This can be done through Nuix Discover's bulk field update tools.
Multi-Code mode (single pass, multiple fields)
Use Multi-Code when one scan must populate multiple outputs (for example: date, title, author, and document type).
- Configure up to 10 fields in the dedicated Multi-Code section. The card reads top to bottom: View history and Quickstart, the shared instruction, your field rows, Add field, then the scan buttons.
- Shared instruction (optional) is a section you can open and close. Its arrow turns when it opens, and while it is closed the first line of your instruction shows beside the title, so you can tell at a glance whether one is set. Claira remembers in this browser whether you left it open.
- Each row has a Destination field picker, the same one used for single and bulk scans. A check mark shows the fields you have already used in this case, fields still awaiting admin access are listed but cannot be picked, and Create new field at the bottom of the list creates a field in Nuix Discover and puts it straight into that row. A field already chosen in another row shows Used in another row and cannot be picked a second time, because two rows writing to one field would overwrite each other.
- Each row's arrows move it up or down, and its bin button removes it. Hover over any of them to see what it does; the first row cannot move up and the last row cannot move down.
- Add field, directly under the rows, shows how many of the 10 fields you have used. Once all 10 are in use it is disabled, and hovering over it explains why.
- Scan Document and Start bulk scan sit side by side under Scan as. Start bulk scan stays visible but is disabled until you select one or more documents in Nuix Discover; the number you have selected shows at the top of the Multi-Code card.
- Click Reset fields (top right of the Multi-Code card) to clear the shared instruction, field prompts, and destination field selections, and restore 2 empty rows. Claira asks you to confirm first; values already written to documents in Nuix Discover do not change.
- Your Multi-Code setup saves as you work: the shared instruction, every row and the template you chose. Beside View history and Quickstart, the card shows Unsaved changes, then Saving your changes about a second after you stop typing, then All changes saved. Switching modes, switching browser tabs or closing Nuix Discover sends a change that is still waiting straight away, and the setup is there as you left it after a reload or on another device. If a change cannot be saved, the card says Your changes were not saved, gives the reason and offers Try again; your text stays on screen.
- In Prompt Lab, when Claira detects a multi-output prompt, click Use Multi-Code to convert it automatically:
- only text that applies to every field (your reviewer role, the matter background, global handling rules) moves into the Multi-Code shared instruction,
- each output becomes its own field prompt (2 to 10 parts), carrying the criteria, allowed values and fallback that decide that answer. If your prompt ends with an output-format block such as
RELEVANCE: [YESREL/NOREL], Claira treats those labels as the names of the outputs and pulls the matching definitions out of the body of your prompt into each field prompt, rather than leaving them in the shared instruction. - rows are rebuilt from the converted parts, and each row is named after its output. A destination field you had already mapped is kept when the name still matches, and an unmapped row is pre-filled when a case field has exactly that name; otherwise the row is left for you to set.
- If any converted field prompt still looks too thin to decide an answer on its own, Claira names those fields in a banner at the top of the Multi-Code card. Review them before scanning.
- If the conversion cannot be completed (Claira is busy, or the prompt does not split into separate fields), nothing is changed: your prompt stays exactly as you wrote it in Prompt Lab, and the message offers Try again. Multi-Code is never opened on your behalf with a half-finished configuration.
- Open View history or Quickstart (templates or prompt generator) from the first row of the card: Claira asks where to put the content: the shared instruction, any existing field row (all rows are listed, including those still being configured), or New field (until you reach 10 rows). The choice starts on the destination you picked last time, so repeated inserts into the same place take one click. If that destination already has text, choose append or replace next. Opened from here, the history starts with the Multi-Code history filter on, and each Scan Document and Start bulk scan records the configuration it ran there. See Multi-Code history. The exceptions are the Multi-Code templates below and the configurations in the history, which load the whole card at once.
- In bulk scans, token usage is charged per document using the same rules as other bulk scans, with Multi-Code costs depending on the Scan as dropdown selection:
- Text + Multi-Code: 2 tokens per document (1 base + 1 for Multi-Code), no matter how many fields are configured (1 to 10 fields all cost the same).
- Image + Multi-Code: 6 tokens per document (5 base + 1), regardless of how many fields are configured.
- Audio + Multi-Code: 11 tokens per document (10 base + 1), regardless of how many fields are configured.
- Video + Multi-Code: 21 tokens per document (20 base + 1), regardless of how many fields are configured.
- Image, audio, and video modes are available on every plan. See Media scans for accepted file formats per mode.
Multi-Code templates
Quickstart opened from the Multi-Code card lists a Multi-Code folder first. Its templates fill the whole card in one step, shared instruction and field rows together, rather than one prompt at a time:
- Objective coding: Document Title, Author, Recipients, Document Type and Document Date, each with its own objective-coding template's prompt, word for word.
- Relevance and issues: Relevance, Issues, Issue summary and Confidence, with your case description and issue list in the shared instruction.
- Privilege and types: Privilege, Privilege types and Privilege basis, with the governing law and the counsel you know of in the shared instruction.
Expand a template to read its fields, then click Load into Multi-Code. The same button on a Multi-Code configuration in Prompt History reloads a setup a scan already ran, which is how you rerun an earlier pass.
- Loading replaces the shared instruction and every field row. If the card holds anything, Claira asks first, because what you replace is kept in Prompt History only if you have already scanned with it.
- Each row is given a destination field when your case has one with exactly the same name (for a template, in English, French or German). A configuration from Prompt History keeps the destination fields it ran with while they still exist.
- A row that has a prompt but no destination field shows Choose a destination field under its picker and is skipped by every scan until you pick one. Pick the field you use for it, or use Create new field in the picker.
- Loading never changes values already written to documents in Nuix Discover.
A stopped Multi-Code bulk task always resumes with the fields and prompts it started with, even if you have loaded something else into the card since.
Empty values (when a field has no answer)
Sometimes a document simply does not contain what a field asks for: an email has no contract date, a photo has no author. When that happens, Claira reports the field as Empty instead of inventing a value:
- In the single-document response card and the bulk-scan live feed, the field shows a muted Empty marker next to its name.
- Nothing is written to the destination field in Nuix Discover: any value already coded there is left unchanged. Claira never overwrites existing coding with a blank.
- A document where every field comes back empty still completes normally: it was scanned, and "nothing to extract" is a valid result. In bulk scans it appears in the live feed with its fields marked Empty and adds to the completed count, not the error count. It is billed like any other scanned document.
- Empty is not an error. Errors (an unreadable AI response, or a value that could not be written to Nuix Discover) are still reported as failed documents.
- When something in a single-document response needs your attention, such as a value for a field you have not configured or a row that has no destination field, the response card shows it as a notice in your language that names the field.
- If you prefer fields to stay untouched, rely on empty values rather than prompt-level fallback text: a fallback value like
N/Ais written into the field, while an empty answer leaves it unchanged.
Best practices
- Be specific in your prompts. "What is the date?" is too vague. "Identify the primary document date. Respond ONLY MM/DD/YYYY." is clear and testable.
- Group similar document types. If your collection includes contracts, emails, and memos, consider running separate prompts tuned to each type. Contracts have "Effective Date" while emails have "Sent Date" -- one prompt may not handle both well.
- Always QC before committing. The AI fields exist to give you a safety net. Use it.
- Use fallback values. A clear fallback like
--orN/Ais far better than a blank field. It tells you Claira tried and could not find the answer, which is different from Claira not having processed the document at all.
Limitations
- Text mode reads extracted text only. In Text mode, Claira cannot read images, handwritten notes, audio, video, or content embedded in non-text formats unless they have been OCR'd or transcribed. For those documents, switch the Scan as dropdown to Image, Audio, or Video so the source file is sent directly to a multimodal model.
- OCR quality matters in Text mode. If the OCR is poor (garbled text, missing characters), Claira's output will reflect that. Garbage in, garbage out. Switching to Image mode is often the right fix.
- Documents are analyzed individually. Claira does not cross-reference between documents. If the author is only named in a cover email but not in the attached report, the report will not inherit that author.
- Complex cases need human judgment. A document with five plausible dates requires a reviewer to decide which one is "primary." Claira will follow your prompt's instructions, but those instructions may not cover every edge case.
Need help? Contact support@claira.to
Was this page helpful?
Continue reading
Need more help?
Contact our support team at support@claira.to — we are here to help.