February 4, 2025
2 min
Opinion – AI will disappoint you if you don’t use the right prompts
Caroline Korteweg, co-founder of Uncover, shares practical insights in her column on what works—and what doesn’t—when using AI in legal practice.At the end of August, I spoke with a client about our Ask Uncover feature, which allows lawyers to query documents within their case files. The solicitor was dissatisfied with the AI-generated response and asked for advice: “How do I phrase an effective question?” A fair point—because crafting the right prompt is not as straightforward as it seems.In the world of legal tech, effective communication with AI tools is crucial. Prompt engineering—the art of crafting precise instructions for AI—can significantly enhance the efficiency and quality of your work. In this column, I will briefly explore how to apply prompt engineering effectively, with examples of what works and what doesn’t.

What Works: Crafting Effective Prompts

Let’s start with examples of how to frame prompts that yield high-quality results.

Drafting a Contract Clause

Example 1: Vague Prompt
"Draft a non-compete clause."

Why It Doesn’t Work: This prompt is too broad. It fails to specify the type of contract, jurisdiction, industry, duration, and other crucial factors necessary for drafting a legally sound clause. As a result, the AI is likely to generate something overly generic and impractical.

Example 2: Specific Prompt
"Draft a non-compete clause for an employment contract under UK law, restricting the employee for 12 months within the software industry."

Why It Works: This prompt includes key details—contract type, jurisdiction, duration, and industry—allowing the AI to generate a clause that is far more relevant and useful.

Conducting Legal Research

Example 1: Vague Prompt
"Find cases on breach of contract."

Why It Doesn’t Work: Again, this prompt is too general. It does not specify the type of breach, the relevant jurisdiction, or the specific legal issue, which can lead to an overwhelming amount of irrelevant results.

Example 2: Specific Prompt
"Find UK Supreme Court judgments from the past 10 years concerning material breaches of contract in commercial property transactions."

Why It Works: This prompt narrows the scope by specifying the jurisdiction, time frame, type of breach, and legal context. This dramatically increases the likelihood of obtaining relevant and actionable case law.

What Doesn’t Work: Common Pitfalls

Now, let’s examine some common mistakes that can lead to poor AI results—and how to avoid them.

Overloading the Prompt with Too Much Information

While detail is important, an excessively complex prompt can confuse the AI.

Example of an Overloaded Prompt
"Draft a non-compete clause under UK law preventing an employee in the software industry from working for a competitor, using trade secrets or confidential information, within Europe, for 18 months, ensuring compliance with all relevant legal guidelines and regulations."

Why It Doesn’t Work: This prompt tries to accomplish too much at once, which may lead to confusion or an incoherent result. Instead, breaking the task into manageable steps improves clarity and accuracy.

Better Approach:

  • Step 1: "Draft a non-compete clause for an employment contract under UK law, limited to 18 months within the software industry."
  • Step 2: "Incorporate language to protect trade secrets and confidential information."
  • Step 3: "Ensure the clause aligns with relevant UK employment law and case law."

This structured approach helps AI generate legally sound and coherent outputs.

Relying on AI Without Verification

AI is a tool, not a substitute for legal judgment. Always review and verify AI-generated content to ensure accuracy and compliance.

Conclusion

Prompt engineering is becoming an essential skill for modern legal practice. By crafting precise and well-structured prompts, you can significantly enhance your efficiency and the quality of your legal work. However, AI should be seen as an aid—not a replacement for legal expertise. For example, when researching relevant UK Supreme Court cases, treat the AI-generated results as a starting point and verify them using official databases such as BAILII or Westlaw. Once you have identified relevant judgments, AI can then assist in further analysing and extracting insights from them.

Final Thought

Think of prompt engineering as instructing a junior lawyer or trainee: the clearer your instructions, the better the outcome. Just as you would review a trainee’s work, you must also scrutinise AI-generated content. Refine your prompts with the same care as a legal document. The better your prompts, the better the AI output—adding real value to your legal practice.

continue Exploring:
no. 1 platform on the market
Find out how Uncover benefits your legal practice now.
Subscribe
newsletter
Join our mailing list
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Book a demo
After learning as much about your practice as we can, your Uncover representative will recommend how Uncover can best help you boost your practice. We will walk you through our features and give you the relevant information and explanations so you can determine which features benefit your practice the most. Together we will enable you to do just what lawyers are supposed to do.
"I'm immensely impressed by this system. I think you have a world-beater on your hands. It's very intelligently designed; it is the best system I have seen yet which can absorb and process a reasonably large amount of data and provide structured, accurate and usable analysis and reports."
Mike Lennard
|
Stout Street Chambers