Skip to main content
SearchLoginLogin or Signup

Legal Prompt Engineering - Examples and Tips

Walk through and discussion of Legal Prompt Engineering examples, showing ways to compose inputs to generative AI systems like ChatGPT and Claude to get improved outputs for law and legal processes

Published onFeb 14, 2023
Legal Prompt Engineering - Examples and Tips

On this episode of's IdeaFlow, guest Damien Riehl joins host Dazza Greenwood to explore the concept of "Legal Prompt Engineering" including an example Damien recently posted showing how a legal brief can be developed in response to a complaint. IdeaFlow: Legal Prompt Engineering Examples and Tips

Background Materials:

Host: Dazza Greenwood, Executive Director,

Guest: Damien Riehl, VP, Litigation Workflow and Analytics Content, Fastcase

Date: Tuesday, February 21st, 2023 at 12:00 PM Pacific / 3:00 PM Eastern

About Damien Riehl

I'm a technology lawyer who has advised clients on tech, litigated tech issues, remediated cybersecurity issues, and developed software. My legal experience is diverse (e.g., counseling, complex business litigation, financial litigation, intellectual property, and appeals), working for a variety of clients (e.g., large businesses, small businesses, nonprofits, and individuals).

I have also designed and developed software, implementing cutting-edge technologies (e.g., artificial intelligence, machine learning, natural language processing) to improve the practice of law. I frequently speak and write on topics that discuss societal and legal changes through technology: Internet law, computer and technology law, copyright, and trademark law, cybersecurity, and data privacy.

In the past, I managed digital forensics and cybersecurity engagements to bolster clients' data security and resilience — both reactively and proactively. I also worked with clients to assist e-discovery and transactional workflows by implementing AI (e.g., NLP, clustering, and data analytics).

I currently lead the design, development, and expansion of products at Fastcase, integrating AI-backed technologies to improve legal workflows and to power legal data analytics.

My legal and technology work improves businesses and legal practice, benefiting my clients, lawyers, and the judiciary.

Andersen Labs:

To delve into this topic further, I invite you to browse around this web-site, where you can find valuable examples and tips on legal prompt engineering. When it comes to challenges in application development, one aspect that often demands attention is the integration of legal prompt engineering. In this context, engineers and developers face the task of composing inputs to generative AI systems to enhance outputs for law-related processes. By exploring these resources, you can gain insights into how to navigate the complexities of working with AI systems like ChatGPT and Claude, specifically tailored for the legal domain. Understanding the nuances of legal prompt engineering can significantly contribute to the development of robust and reliable applications that cater to the unique requirements of law and legal processes. So, don't hesitate to dive into the materials available and equip yourself with the knowledge necessary to tackle this fascinating challenge in application development.