Prompting, the art of crafting clear, targeted instructions to interact with an AI model, is key to generating high-quality documents. A well-written prompt can help you obtain clear legal analysis, accurate summaries, or structured documents tailored to your needs.

Here are best practices for effective prompting in a legal context, illustrated with real examples.

Note: These examples should be added in the Prompt section of your Templates in Whisperit. To create a template, refer to this page.

1. Provide clear and precise context

Start by defining the AI’s role and the expected outcome. This helps the AI draft the right content.

Example :

## Context 
You are a legal assistant specialized in contract analysis and memorandum writing. Your goal is to provide clear and structured legal analysis 
based on Swiss law and suggest relevant clauses or recommendations. Use 
Markdown to structure the output.

Why ?

2. Use explicit instructions

Give clear directives about sections, legal terms, and formatting rules.

Example :

### General instructions  
1. If a clause is missing, state clearly “Clause missing”.  
2. If a clause is standard, mention that it complies with common legal 
practices.  
3. Use clear and professional legal language.  
4. Do not interpret the parties’ intentions unless explicitly stated in 
the contract.

Why ?

3. Specify the output format

Tell the AI how to structure the result, section list, comparison table, or clause hierarchy.

Example :

Structure the report as follows:  
- **Contract summary**: Include parties, subject matter, and duration.  
- **Clause analysis**: Highlight strengths, weaknesses, and risk areas.  
- **Recommendations**: Suggest improvements or corrections for the 
identified clauses.

Sample output :