Step-by-step Setup for Knowledge Generation
The steps that are required before running the Knowledge Generation are:
Application/Bot Creation
Tickets Ingestion
Workflow Creation
Event Setup
Loading the JSON file to show knowledge fields and values on the Knowledge Mapping page.
KB Gen Configuration Setup
Job Run
Application/Bot Creation
Make sure you have created an Aisera application or bot and added a Data Source to it.
Review the Knowledge Base Article Generation Policy for your bot, and choose an AI model for your generation job (you might need your Aisera team to do this for you
depending on permissions).
Click View Policy under the Knowledge Generation Policy section. A configuration window opens, displaying the prompt settings used for KB Article generation.

From the dropdown, select the supported AI model based on your agreement during onboarding or sales discussions.
Supported Models Include:
GPT-4o
LLaMA 3.3
LLaMA 3.1
Ticket Ingestion
When you choose a Data Source for your application from the Aisera Admin UI, the fields to transfer data from the Aisera Gen AI platform to your data source have already been mapped.
Review and customize the field mapping for your application, as needed. For KB Generation, while ingesting the tickets below conditions are mandatory.
You need a minimum of 40K tickets to form a homogeneous cluster. Less than 40K tickets create more chances to we get heterogenous clusters where you see slight different topics merge into one.
Ensure that all relevant comment fields are ingested from the source system to you Aisera Gen AI platform. KB Generation considers comments to be of utmost importance, so it's crucial to include all types of comments present in the source system. Keep in mind that each customer may maintain different fields to store their comments, so it's essential to understand these fields and ingest them accordingly.
During the ingestion of comments, it is crucial to map various comments fields to the ‘CaseComment text’ field in the Data source from where we ingested the tickets (Contact connectors team for custom script).
You can also map the ticket fields that store issue-related information. These fields can be mapped to the comments section to enrich the knowledge details.
You can use the comments attached to CaseComment text and Resolution Notes.
The following columns must be properly mapped and are mandatory for KB Generation.

Tickets should be filtered for KB Generation in the Generate Knowledge module, or you can ingest the tickets into DS and use DS without any additional filters
Choose the right Type of tickets - Incidents, Service Requests etc.
Select the tickets that are marked as closed or resolved. This selection in the conditions (configuration) is based on the assumption that closed and resolved tickets tend to have valuable comments that provide meaningful resolutions. However, it's important to note that our system has the capability to scan and extract meaningful resolution notes from all tickets, not just limited to closed or resolved ones. Note: The quality of the resulting Knowledge Document is determined by the quality of the Tickets you provide.
Workflow Creation
The Knowledge Generation workflow is used to upload AI-generated documents to the external knowledge management system.
Please contact the Aisera team to configure this workflow. The workflow configuration is customized based on the target integration system (for example, Salesforce, ServiceNow, or Confluence).
Event Setup
Use events to trigger the workflow when you want the application/bot user to have the ability to upload an AI generated document to the external source system.
Navigate to AI Automation -> Event Studio (if you dont see Event Studio, go to Settings -> Configuration -> Feature Flags -> and select Enable Event Studio (Beta)).
Select New Event.
Enter the Event Name.
Set the Trigger Type to internal.
Set the Status option to Active.
Select Next.

Set Data Type to Knowledge Base Article.
Set Event Type as PublishToSOR.
For Triggering condition, use Template = <Template of the document that was configured while generating the document.

In the Event Handler, select the workflow that was configured in the above step and select all input parameters shown below. Than add corresponding mapping values (same as in the screenshot below).

Select the OK button.
With this step we successfully created the event
Last updated
Was this helpful?
