> For the complete documentation index, see [llms.txt](https://www.legalpromptguide.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.legalpromptguide.com/2.-fundamentals-of-legal-prompt-engineering/2.1.-prompt-templates.md).

# 2.1. Prompt Templates

We briefly introduced prompt templates in [chapter 1](/1.-introduction-the-power-of-precision-in-prompting.md) when describing how you can use the "Prompt Sandwich" template to get better results from ChatGPT. In this section we dive deeper into other prompt templates you can use in different scenarios to get better results.

## Templates by Common Task Types:

{% content-ref url="/pages/aVVsKJz47ploiaZQdbGv" %}
[2.1.1. Summarization](/2.-fundamentals-of-legal-prompt-engineering/2.1.-prompt-templates/2.1.1.-summarization.md)
{% endcontent-ref %}

{% content-ref url="/pages/oEL5vt0W9a1Unv890PwB" %}
[2.1.2. Classification](/2.-fundamentals-of-legal-prompt-engineering/2.1.-prompt-templates/2.1.2.-classification.md)
{% endcontent-ref %}

{% content-ref url="/pages/7WoIWr5IPqBwXDx0KePH" %}
[2.1.3. Extraction](/2.-fundamentals-of-legal-prompt-engineering/2.1.-prompt-templates/2.1.3.-extraction.md)
{% endcontent-ref %}
