> For the complete documentation index, see [llms.txt](https://docs.aisera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aisera.com/aisera-platform/content-generation-from-tickets/generating-documents-from-the-aisera-admin-ui.md).

# Generating Documents from the Aisera Admin UI

The following use cases describe how you can generate documents from the Aisera Admin UI.

### Use Case 1: Document Generation from SOR → Tickets Page&#x20;

From the Knowledge Generation page, if a customer believes that there are other tickets (apart from the AI-suggested representative ticket) with better resolution steps for example, tickets resolved by a specific IT agent whose solutions are trusted they can open the relevant cluster, click the ticket icon on the right corner, and search for that specific agent. \
This will navigate them to the ticket details page, where they can review the ticket, add additional notes if the existing comments are insufficient, and then click the Generate Knowledge button to create a document from that ticket.&#x20;

### Use Case 2: Improve Low-Quality Tickets

As part of the Data Processing Funnel, we highlight tickets identified as low-quality. A human IT Service Agent can directly review this list from the **Data Processing Funnel** in the **Knowledge Generation** page, open any **low-quality** ticket, and add **Additional Comments** to improve the ticket quality. This eliminates the need to go back to the source system to update comments.&#x20;

Human IT Service Agents can enhance the ticket directly within the Aisera Admin UI and either generate the document immediately, or allow it to be picked up in the next scheduled job run.&#x20;

This streamlined approach reduces manual effort such as adding comments in the source system, adjusting data source queries to pull specific tickets, and waiting for ingestion to complete. Instead, you can directly enrich ticket data within the Aisera Admin UI to improve document quality.&#x20;

<figure><img src="/files/uNp4vrJZuEPOhiiODcMG" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/PfjFoLZLyfIqykbqfXbB" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/qWeeGeQa7rTqeYXuq15s" alt=""><figcaption></figcaption></figure>

When you select **Generate Knowledge**, the pop-up menu opens so you can select the **Application Name** and the **Template** to generate the document.&#x20;

**Application Names** are associated with the **Data Source (DS)** from which the selected ticket originates, along with the **Template** selected.&#x20;

**Example 1:**&#x20;

Application ABC is linked to DS1 and DS2.&#x20;

Application XYZ is linked to DS2.&#x20;

If you select a Ticket from DS1, only ABC will appear in the dropdown menu.&#x20;

If the Ticket is from DS2, both ABC and XYZ should be listed in the dropdown menu.&#x20;

After the document is generated and mapped to an application:&#x20;

* Remove that application from the dropdown to prevent duplicate generation.&#x20;
* You are still allowed to generate knowledge for the other applications (if any) that use the same DS.&#x20;

**Example 2:**&#x20;

DS1 is linked to both ABC and XYZ.&#x20;

You select a Ticket from DS1.&#x20;

You choose ABC and generate the knowledge document.&#x20;

On attempting to generate again for the same ticket, only XYZ is shown in the dropdown.&#x20;

After generating for XYZ as well, since no other applications use DS1, the **Generate Knowledge** button is disabled.&#x20;

After generation is complete, the acknowledgement message, **`Document has been successfully generated`** is displayed.

<figure><img src="/files/jr7g6I71b7JlyBKPTQW5" alt=""><figcaption></figcaption></figure>

### Use Case 3: Generated Document in the Side Panel:&#x20;

When a document is generated for a specific application, the user can view it under ‘Generated Document’ along with the title in the side panel. When the user selects the corresponding application from the dropdown in the top-left corner, the related generated documents will appear.&#x20;

The user can click on a document title to navigate to the Document Details page, where they can make updates and publish it as usual.&#x20;

#### Limitations:&#x20;

A browser refresh is required to view the ‘Generated Document’ in the side panel.&#x20;

Once document generation for all the applications listed in the window is complete, the Generate Knowledge button remains active. A browser refresh is needed to disable this button.&#x20;

This does not cause any functional issues or impact the user experience, but it can be slightly misleading since the button remains enabled even after all documents have been generated, users might assume that additional generation is still possible until they refresh the browser.&#x20;

### Additional Notes Field in the Tickets Page:&#x20;

You can enter **Additional Notes** (as free text) before generating a document. This is useful when you want to generate a document but the existing comments are insufficient.&#x20;

Instead of going back to the source system to add your comments and then re-crawl the ticket to ingest it into the Aisera GenAi platform, you can directly add the comments within the **Tickets** page and click **Generate Knowledge**.

#### **Important Details:**&#x20;

* **Additional Notes** are Aisera-specific and will not be synced back to the your source system.
* The **Additional Notes** field is visible only to users who have user premission access to generate documents.&#x20;
* If documents are generated for all applications/bots, the **Additional Notes** field becomes disabled.&#x20;

{% hint style="info" %}
**NOTE:** A Ticket is common across all applications. Therefore, even if a document has been generated for one application, the user can still update the Additional Notes and generate the document for another application.&#x20;
{% endhint %}

### Use Case 4: Refresh Button for Generate Knowledge Option:&#x20;

As tickets undergo multiple updates (for example, when human IT Service Agents update tickets in the source system), you may not immediately see the latest information in the Aisera Admin UI unless you re-crawl the ticket.&#x20;

If a you want to generate a document for a specific ticket, you must be able to view the most recent details, such as comments, to decide whether additional notes are needed before generating the document.&#x20;

The **Refresh** option beside the Generate Knowledge button allows users to load the latest information for that specific ticket before proceeding.&#x20;

{% hint style="info" %}
**NOTE:** Refreshing is not mandatory before generating the document. From the backend, the system always uses the latest available ticket data for document generation. The refresh feature is simply for the user’s convenience to view the most up-to-date details before they geneate the document from single ticket.&#x20;
{% endhint %}

This **Refesh** button will only be available if you have **Generate Knowledge** user permissions within your user role..&#x20;

&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.aisera.com/aisera-platform/content-generation-from-tickets/generating-documents-from-the-aisera-admin-ui.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
