> ## Documentation Index
> Fetch the complete documentation index at: https://labs.laer.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create models for a Review Run

Review Runs use models to classify documents and generate strategic summaries. Configure model instructions, tags, and outputs to align with the approved matter strategy.

<Info>
  **Note:** Every Review Run is strategy-specific. The tags, models, instructions, and output fields shown in this documentation are examples only. Configure your Review Run to reflect the claims, defenses, themes, risks, and evaluation criteria defined in your approved strategy.
</Info>

A Review Run typically uses the following model types:

* **Text Classification** models assign strategic tags to documents.
* **Text Generation** models generate narrative summaries and analysis based on the matter strategy.

Before creating Review Run models, ensure that the required tags, instructions, and strategic framework have been defined.

## Text Classification model

### Create a Text Classification model

Create a Text Classification model to assign tags to documents during a Review Run.&#x20;

<Info>
  **Before you begin**

  * You have identified the classifications and analysis needed for the Review Run.
  * Required Review Run tags are created.
  * Your review strategy and evaluation criteria is defined.
</Info>

To create a text classification model for a Review Run, complete the following steps.

1. In the **Project space** menu, select **Collections**.
2. Select a collection.
3. Select **Models**.
4. Select **Create Model** > **Create new model**.
5. Enter a **Name** and **Description**.
6. Select **Text Classification** as the model type.
7. In the **Positive labels** field, add the Review Run tags you want to classify as positive.
8. In the **Negative labels** field, add the Review Run tags you classify as negative.
9. Leave the other fields at their default setting.&#x20;
10. Select **Create**.

### Add Text Classification model instructions

Add instructions for your text classification model that tells it the criteria for your Review Run tags. The model instructions should define how documents are evaluated and which tags should be applied when specific criteria are identified.

<Info>
  **Before you begin**

  * You have created the text classification model for a Review Run.
</Info>

1. Navigate to your **Project** > **Collection**.
2. In the Main Menu, select **Models**.
3. Select the **Text Classification** model you created for your Review Run.
4. Select the **Instructions** tab.
5. On the **Model Instructions** page, select **Add instruction** > **Create new instruction**.
6. Enter your instruction text and select the corresponding Review Run tags.

   <Frame caption="Text Classification Model Instruction Example">
     <img src="https://mintcdn.com/epiqai/5-Xpsc0dxL4Alr7A/images/image-39.png?fit=max&auto=format&n=5-Xpsc0dxL4Alr7A&q=85&s=10047f19131f3d7383f6a32f7d849f4d" alt="Text Classification Model Instruction Example" width="1604" height="464" data-path="images/image-39.png" />
   </Frame>
7. Select **Save**.
8. Repeat steps 5-7 for each instruction you want to add to your model.&#x20;

## Text Generation model

### Create a Text Generation model

Create a Text Generation model to generate document narratives and strategic analysis during a Review Run.&#x20;

<Snippet file="before-you-beginyou-have-id.mdx" />

To create a text generation model for a Review Run, complete the following steps.

1. In the **Project space** menu, select **Collections**.
2. Select a collection.
3. Select **Models**.
4. Select **Create Model** > **Create new model**.
5. Enter a **Name** and **Description**.
6. Select **Text Generation** as the model type.
7. Leave the other fields at their default setting.&#x20;
8. Select **Create**.

### Add Text Generation model instructions

Add instructions for your text generation model that tells it the criteria for your output fields. The model instructions should define what output fields you want and any parameters for those fields.

<Info>
  **Before you begin**

  * You have created the text generation model for a Review Run.
</Info>

1. Navigate to your **Project** > **Collection**.
2. In the Main Menu, select **Models**.
3. Select the **Text Classification** model you created for your Review Run.
4. Select the **Instructions** tab.
5. On the **Model Instructions** page, select **Add instruction** > **Create new instruction**.
6. Enter your instruction text.

   <Frame caption="Text Generation Model Instruction Text Example">
     <img src="https://mintcdn.com/epiqai/5-Xpsc0dxL4Alr7A/images/image-40.png?fit=max&auto=format&n=5-Xpsc0dxL4Alr7A&q=85&s=0b523765b3b3217ef939d1e9573abca3" alt="Text Generation Model Instruction Text Example" width="1570" height="344" data-path="images/image-40.png" />
   </Frame>
7. Under **Output Fields**, select **Add Field**.
8. &#x20;Enter the field name.
9. Add a description for the field.

   <Frame caption="Text Generation Model Instruction Output Field Example">
     <img src="https://mintcdn.com/epiqai/5-Xpsc0dxL4Alr7A/images/image-41.png?fit=max&auto=format&n=5-Xpsc0dxL4Alr7A&q=85&s=96f407e454e191f976e7c3003ddce54b" alt="Text Generation Model Instruction Output Field Example" width="1537" height="377" data-path="images/image-41.png" />
   </Frame>
10. Optional. Select **Add Field** to add other output fields, as needed.
11. Click **Save**.

## Next steps

After creating the required models, create a Review Run and configure it to use those models. The Review Run can then evaluate the document collection using the criteria and analysis defined for the matter.
