# Testing Your Agent Assist Bot

AI Lens allows users to input a ticket ID or a ticket title and description to test Agent Assist’s recommendations (Summary, Answer, NBA or Fields). You are able to test individually or upload a csv to test in batch mode.

## Testing Procedure

1. Navigate to **AI Lens > Agent Assist Tab**.

<figure><img src="https://2363686080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGx3TYftP94ZFjKvFVqM%2Fuploads%2FCwFX5c054o6XQ6YkWEB1%2Faa_lens1.png?alt=media&#x26;token=7799124e-c5eb-4d36-b104-bb0643f9b2c0" alt=""><figcaption><p>Agent Assist Tab within AI Lens</p></figcaption></figure>

2. Enter the **Ticket ID** and **View Case Summary and Answer.**

<figure><img src="https://2363686080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGx3TYftP94ZFjKvFVqM%2Fuploads%2Flp5Usw3IOKJfYMyVMHZL%2Faa_lens2.png?alt=media&#x26;token=0de5453c-4c1a-4493-ad38-a3dd40c0f9e6" alt=""><figcaption><p>Enter Ticket IS</p></figcaption></figure>

3. To upload a batch of tickets, create a CSV with 1 column with the `title = ‘ticketId’.` Add the ticket ids (they can be either the display id or the external id). The file can have a maximum of 1000 rows.
4. You can select the tickets you want to include and download the IDs from the **SOR > Tickets** tab using the filters.
5. Select **File**, then Select the CSV file you created.
6. Click **OK**.

<figure><img src="https://2363686080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGx3TYftP94ZFjKvFVqM%2Fuploads%2FIevdWZQnOzWz0tkvr4BL%2Faa_lens3.png?alt=media&#x26;token=5f36c624-cfd9-498b-bbf5-c15368344e7e" alt=""><figcaption><p>Select the CSV File You Created</p></figcaption></figure>

7. Monitor the status of your job by clicking **View Jobs** in the pop-up message. or by navigating to **Settings > Jobs.**

<figure><img src="https://2363686080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGx3TYftP94ZFjKvFVqM%2Fuploads%2FCzY5hIuAi6RBfXddP5eN%2Faa_lens4.png?alt=media&#x26;token=6ee9f656-8c1a-4e0f-8a77-d8d7b4751733" alt=""><figcaption><p>Successful Job Completion</p></figcaption></figure>

8. View the **Ticket AI Batch Predictions** job. After the **Ticket AI Batch Predictions** job is Successfully completed, press **Download Predictions**.&#x20;

<figure><img src="https://2363686080-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGx3TYftP94ZFjKvFVqM%2Fuploads%2F2T0wkSo3Wl9v7z9NrJ7Z%2Faa_lens5.png?alt=media&#x26;token=c21b4590-836f-4a8e-bc98-0aea3013ec71" alt=""><figcaption></figcaption></figure>

9. View the Case Summary, Aisera Answer, NBA and Field Prediction results for each Ticket ID.\
   **NOTE:** If the job fails within 35-45 seconds, this means the format of the file is incorrect.&#x20;
   1. Try creating a google sheet and adding the info here then exporting as CSV and uploading.
   2. Verify that the number of rows is not greater than 1000.
   3. Verify that the column header is ‘ticketId’
   4. Verify that the ticket ids have the right format (make sure that if there is a 0 in front of the id, it did not get deleted when using Google Sheets or Excel.
