2.1.1. Summarization

LLMs like ChatGPT are really good at summarizing information for us. To get the most out of having LLMs summarize large volumes of text, you can provide a template that not only details your desired formatting, but also includes placeholders for the types of information you want included.

Let's take a look at a simple example regarding the Securities Act of 1933 starting with your basic prompt asking for a summary:

Basic Prompt W/O Template:
Summarize the Securities Act of 1933

When given this prompt, ChatGPT will do an okay job at producing at a summary that is legible and informational. Take a look at the response we received here. How can we get ChatGPT to generate a better summary? We can use a prompt template that better instructs the AI on the specific types of information you're interested in (dates, persons, etc.), formatting preferences, desired length, and more. Take a look at the following prompt:

Follow along with us as we prompt ChatGPT using this template here. There is a lot to digest in this prompt template, but for starters don't shy away from the weird syntax being used. This syntax is called Markdown and can be used to format raw text using headings, lists, and other elements you are used to seeing in Microsoft Word and Google Docs. It's great at helping guide the AI model towards producing a response in a prescribed format, but also allows you to embed instructions within as well, a good example being the list of important keywords, people, and facts we want generated for each section as illustrated:

- {first point}: {short explanation with important keywords, people, and facts}

Hover over the annotated sections of our improved prompt template above to learn more about the specific characteristics we included in this prompt and how they work together. We encourage you to tinker with this template to see if you can get even more precise summaries based on your particular use case. For example, if your law firm prefers to have case files, or legal analysis drafted in a desired format with specific criteria regarding the information that should be included, go ahead and modify the prompt template and see how ChatGPT responds. Remember, prompt engineering is an iterative process.

Last updated