Skip to content

Ejudiciary Features — LLM Integration

Users signing into Template Helper with a Microsoft account ending in @ejudiciary.net receive Pro-equivalent access to two specialised features for AI-assisted document completion.


Who Qualifies

Ejudiciary access is automatically granted when:

  1. You click Login with Microsoft on the Profile tab
  2. You authenticate through Microsoft's SSO flow
  3. Your Microsoft account email ends in @ejudiciary.net

No manual application or approval is required. The features appear immediately after login.


Enhanced Export

What It Does

Enhanced Export generates a structured JSON file containing:

  • All detected field placeholders in your document
  • Field types (text, dropdown, checkbox, date)
  • Option lists for dropdown fields
  • Document context (field positions, surrounding text)
  • Instructions formatted for LLM processing

This is designed specifically for sending to AI assistants that can understand structured field data and generate appropriate values.

How to Use

  1. Scan your document with Find Fields
  2. Review the detected fields in the task pane
  3. Click Enhanced Export (bottom of the Scan tab, ejudiciary users only)
  4. A JSON file downloads to your computer
  5. Send this file to your LLM or AI assistant with appropriate instructions

Export File Structure

json
{
  "documentName": "Contract Template.docx",
  "exportDate": "2026-05-13T10:30:00Z",
  "fields": [
    {
      "label": "Client Name",
      "type": "text",
      "defaultValue": "",
      "context": "First paragraph of agreement"
    },
    {
      "label": "Jurisdiction",
      "type": "dropdown",
      "options": ["England", "Wales", "Scotland"],
      "defaultValue": "England"
    }
  ],
  "instructions": "Fill each field with appropriate legal values..."
}

Import LLM Results

What It Does

Import LLM Results takes a JSON file (in the same format as Enhanced Export) and pre-fills the field values into Template Helper. This lets you:

  1. Export your document structure
  2. Have an LLM analyse and fill the fields
  3. Import the AI-generated values back into your document
  4. Review and apply with Template Helper's normal workflow

How to Use

  1. Obtain a filled JSON file from your LLM (must match the Enhanced Export schema)
  2. Click Import LLM Results (bottom of the Scan tab, ejudiciary users only)
  3. Select the JSON file from your computer
  4. Template Helper pre-fills all field values from the import
  5. Review each value in the task pane
  6. Click Apply Changes when satisfied

Validation

Imported values are validated against the field schema:

  • Text values must fit the detected field length
  • Dropdown values must match one of the defined options
  • Date values must be in a recognised format
  • Invalid or mismatched fields are flagged for manual review

Security Considerations

Your Data Stays Local

  • The export file is generated entirely on your computer
  • No document content is sent to SimpleAddins servers
  • You control where the export file goes and which LLM receives it

LLM Provider Choice

You can use any LLM provider you prefer:

  • Internal/self-hosted models (for maximum confidentiality)
  • Commercial providers (OpenAI, Anthropic, etc.) subject to their terms
  • Judicial network-approved AI services

SimpleAddins does not integrate directly with any LLM API — the export/import workflow is file-based by design, keeping you in control.

Re-Import Safety

When importing LLM results:

  • The original document is never modified directly
  • Imported values populate the task pane for your review
  • You must click Apply Changes to write values to the document
  • Undo works normally if you need to reverse the application

Workflow Example

A typical ejudiciary LLM workflow:

  1. Prepare — Create your document template with bracketed placeholders
  2. Export — Scan and click Enhanced Export to get the structured JSON
  3. Process — Send to your LLM with case-specific context and instructions
  4. Receive — Get back a filled JSON file from the LLM
  5. Import — Click Import LLM Results and select the filled file
  6. Review — Check each value in the task pane before applying
  7. Apply — Write the final values into your document

Troubleshooting

"Enhanced Export button is not visible"

  • Ensure you're logged in with an @ejudiciary.net Microsoft account
  • Check the Profile tab shows "Ejudiciary access" or Pro status
  • Log out and back in if you recently changed accounts

"Import fails with 'Invalid format'"

  • The JSON file must match the Enhanced Export schema
  • Fields must have the same labels as when exported
  • If the document changed, rescan and re-export before importing

"Values imported but don't match expectations"

  • LLMs may generate creative interpretations — always review before applying
  • Use the Undo button immediately if the applied result is incorrect
  • Consider providing more specific instructions to the LLM on future exports

Comparison: Standard vs Ejudiciary

FeatureStandardProEjudiciary
Scan & Fill FieldsYesYesYes
Export Field ListYesYesYes
Import Field ListYesYesYes
Unlimited ClipsNoYesYes
Clip ImportNoYesYes
Combine Identical FieldsNoYesYes
Enhanced ExportNoNoYes
Import LLM ResultsNoNoYes

Next Steps

SimpleAddins — Professional add-ins for Microsoft Word