A prompt is the set of instructions you use to direct a generative AI tool.
Think of it like the search terms you enter into Google—the words you use affect the webpages you see on your results list. The same is true for an interaction with genAI. The quality of the response will vary depending on the quality of the instructions you provide.
The process of developing instructions for a genAI system to interpret and respond to is called prompt engineering. For legal research tasks, thoughtful prompts can help you avoid mistakes such as generating information about the incorrect jurisdiction or generic and unfocused responses.
This page provides information on some considerations for effective prompt engineering with legal research systems.
►See Critically Assessing AI-generated Content for more information.
Before you start writing prompts, consider the following:
The 5Ps is a method for developing prompts using five categories. The following explanation of the 5Ps includes examples applicable to legal research.
This method is recommended by Lexis in use of Lexis+ AI. See Lexis' Prompting Best Practices tip sheet.
Like any research, iteration is key to developing useful prompts. Don't forget to document your approach so you can easily retrieve or reuse your prompts at a later date.
►See Tips (Before You Start) for help organizing your research.
Once you have generated text that you think will be useful in your research, you can proceed to evaluating and verifying it.
These Canadian tools are available either freely online or via the Law Library:
There are numerous other frameworks used for prompting, generally outside of the law-specific context. For example:
Leo Lo, "The CLEAR path" (2023) 49:4 J Academic Librarianship 102720.
With CLEAR, the user should be: