# 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="/files/rDhiTx0znFj3nF4rJw7K" 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="/files/JNKTazwCiIv3O1ox9wEe" 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="/files/ZJyr9ZLdtrQODetT7a5D" 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="/files/gNT4AWs290uV2WclF0SL" 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="/files/fb4Mu149XVZBfR9WbMzE" 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aisera.com/agent-assist/testing-your-agent-assist-bot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
