PURPOSE OF TEMPLATE:
This guide sets out the template for prompts using LPR-CA-V2 (Concise Answers Version 2).
CA-V2 is the recommended default model for:
Summary prompts
Letter prompts
Generating basic legal documents
The original CA model has been deprecated. LA and LA-V2 are recommended for more complex, multi-section documents such as affidavits.
PROMPT STRUCTURE:
When using CA-V2 prompt templates, we recommend you include the following sections:
Title
Purpose
Preliminary Questions (only if necessary)
Legal Research (only if needed)
Template
Rules
We do not recommending including steps, instructions or other sections in the prompt. This is unnecessary as there is an underlying System Prompt that includes the workflow steps.
PROMPT TEMPLATE GUIDE
PROMPT TEMPLATE GUIDE
TITLE:
[PROMPT TITLE]
Short title of the prompt as per the Precedent Naming Conventions - Global Content Development - Confluence. The prompt will also be provided a prompt code.
PURPOSE:
This is a [DOCUMENT_TYPE] to be used in [JURISDICTION]. The target audience is [TARGET_AUDIENCE].
Clearly state:
Document type
Jurisdiction
Target audience
PRELIMINARY QUESTIONS:
Include preliminary questions only where document structure depends on clarification.
Examples:
- Is this a financial and/or parenting mediation?
- Which jurisdiction of the State Police Forces is to be subpoenaed?
System requirement:
Preliminary questions must be answered before drafting begins.
The response to the questions will dictate the inclusion of sections in the legal document, such as balance sheet only being included if it is a financial matter.
LEGAL_RESEARCH:
Legal research questions are used to identify and apply the current law to the matter and incorporate that analysis into the document.
When a prompt includes a legal research section, those questions are sent to LawY to conduct the legal research and then input the output is then inserted into the template as set out in the rules.
Legal Research Questions must appear only in the LEGAL_RESEARCH: section.
Legal_Research:
Use the TEMPLATE section to specify where each legal research response should appear in the document and the RULES section to specify how you want the output to be formatted.
TEMPLATE:
Provide a structured legal document template with clearly marked placeholders specifying the type of content required.
AI Prompts heavily rely on well-constructed template prompts. These templates are crucial as they guide the AI on the questions to retrieve the correct data from the matter to populate the document and enable the AI to generate precise and contextually appropriate legal documents.
When using CA-V2 prompt templates, we recommend you:
Use LEAP fields to automatically populate prompt templates with content loaded in a LEAP matter, including LEAP Tables. Using a LEAP field is the first preference to populate prompt templates with important information, such as parties’ names, contact details and relevant dates. See further information about LEAP fields - LEAP fields - By Lawyers Manual - Confluence
Use square brackets for placeholders so the AI can clearly distinguish between static text in the template and the sections that must be populated with information from the LEAP matter.
RULES:
Rules dictate the style, formatting, and legal standards required for the document. These rules ensure that the documents not only adhere to legal standards but also follow the logical structure and format expected in legal settings, which is essential for maintaining document integrity and effectiveness.
[The following rules are generally applicable to most legal documents. They should be tailored to the specific document type and rules that are not applicable should be removed.]
Clarity and Precision:
Use clear, precise, and concise language throughout the legal document.
Avoid legal jargon or overly complex phrasing unless necessary for legal accuracy.
Define any technical or industry-specific terms clearly within the document.
Neutral tone:
Maintain a tone of neutrality and objectivity, focusing on facts rather than emotions or opinions. Do not include any assumptions or speculative statements.
Paragraphs:
Each paragraph should be confined to a distinct subject matter.
Each paragraph and subparagraph should have a line break in between them.
Numbering:
Each paragraph must be numbered sequentially in the document (e.g., 1, 2, 3, etc.).
Maintain paragraph numbering continuity throughout the document across all sections.
Headings are not to be numbered.
Ensure that the numbering sequence is consistent and does not restart within different sections or after headings.
Headings:
Use clear, descriptive headings as per the template.
Do not number the headings.
Ensure the headings are formatted in bold.
Avoidance of Legal Conclusions:
The legal document should focus on presenting factual information rather than making legal arguments or conclusions unless specifically required (e.g., in legal submissions or briefs).
Exclusion of Legal References:
The document must not include any references to legislation, case law, or specific legal acts unless explicitly requested by the user.
Jurisdiction rules:
Australia/New Zealand
Spelling: Australian English (e.g. behaviour, organised)
Date Format:
Long: 7 August 2024
Short: 7/08/2024
UK/Ireland
Spelling: British English (e.g. behaviour, organised)
Date Format:
Long: 7 August 2024
Short: 7/08/2024
USA/Canada
Spelling: American English (e.g. behavior, organized)
Date Format:
Long: August 7, 2024
Short: 8/07/2024
[INCLUDE OTHER RULES SPECIFICALLY RELEVANT TO THE LEGAL DOCUMENT BEING PRODUCED]
PROMPT FILTERING
There is a Prompt data filter as follows:
The available prompt data filtering options, and guidance on when each should be used, are outlined below:
Auto - For CA-V2 models, Auto is set to use the entire matter by default. For LA-V2 models where Fact Pages are included in the prompt, Auto reads and generates Fact Pages, then runs the prompt against those Fact Pages.
Entire matter – The prompt is run on the entire matter. This option is suitable for most prompts.
Folders – The prompt is run on one or more folders. This option is suitable for prompts where you want to only use the information contained within a specific folder/s. For example, a prompt summarising financial disclosure may be set to read only the financial disclosure folder/s.
Documents – The prompt is run on one or more documents. This option is suitable where you want to summarise and/or compare two or more documents, such as comparing offers or inconsistencies in affidavits.
Fact Pages – The prompt is run on one or more Fact Pages (factual issues in the matter). There is also the option to run the prompt on Fact Pages with specific labelled facts.
Please note:
You should consider including Preliminary Questions in the prompt to guide the user on whether it should be run on folders, documents, or Fact Pages.
If a user selects a folder, document, or Fact Page, the output will be generated solely from the content contained within those selected items.
AI PROMPT BEST PRACTICE NOTES
AI PROMPT BEST PRACTICE NOTES
Prompt performance can vary between models. Each time the model changes, some level of re-tuning of the prompt may be required.
Avoid using bold or ALL CAPS for emphasis in the prompt. These formatting styles are not necessary in newer models and may result in the model over-prioritising those instructions (e.g. IMPORTANT RULES may prioritise those rules to the exclusion of other rules).
Be explicit about your desired output formatting. For example, clarify if you want numbered lists, bullet points, paragraph structure, headings in bold, or tables. However, note that AI cannot control font, line spacing, or precise page layout - these should be managed at the document formatting stage (e.g. via LEAP's Insert Document function).
Use detailed placeholder instructions. Specify what to include and what to exclude. For example:
If appropriate, ask for direct quotes and specific dates from source material.
If an event (e.g. physical violence) has not occurred, you may wish to direct the model to omit that section rather than generating a statement such as “there are no incidents of physical violence.”
Note that the internal prompt contains information about accuracy, avoiding hallucinations and final review requirements. This does not need to be included in the legal prompts.
Clearly instruct the AI on how it should behave (e.g. write in formal legalese, summarise only, use plain English). Check for ignored or misinterpreted instructions and refine as needed.
Test and refine prompts with multiple sample inputs before going live.
Verify the output when testing AI Prompts.
Resources:
AI Prompt Guide for GPT 4.1 https://cookbook.openai.com/examples/gpt4-1_prompting_guide
Use the free ChatGPT Prompt Engineer to obtain feedback on the prompt
Provide feedback or log a case (bugs) on prompts to CORTO through the internal portal – https://provider.docorto.ai not via email/slack. Provide as much information as possible about the issue, with debug information, screenshots and screen recordings.
THE IMPORTANCE OF TRIAL AND ERROR
THE IMPORTANCE OF TRIAL AND ERROR
The CA-V2 Template reflects best practice developed through extensive internal testing. While the rules and structure provide a reliable foundation that minimises common issues, strict adherence is not required. Variations are permitted and can often be beneficial.
As with any large language model, including ChatGPT, even minor changes to a prompt can produce significantly different outcomes. The template helps avoid many common pitfalls, but some trial and error will always be involved depending on what you're trying to achieve.
We encourage you to experiment with variations to determine what works best for your particular use case. If you experience unexpected results or need clarification, we're happy to assist.
