Document Summarization

  • With the below endpoint and the chain name one can generate a summary for a document.

**Endpoint:** http://{API_URL}/external/api/chains/message

**Method:** “POST”

**Description:** This URL generates a Summary of provided documents in the body.

**Request Body:** {

"chain": "documentsummarizer",

"message": "2023-07-06 09:05:05 - GBP Integration (Work notes)\nAIops comment by :: [snow_graze] --> 2023-07-06 09:05:03 - iAutomate ITIL (Work notes)\nServer Execution In-Progress || iAutomate has resolved the Ticket INC0866279 successfully with all the action required\n The Alert with description Please restoree an excel spreadsheet due to system corruption test. porua110_217576_2021-09-27_06.50.57.chk on server x.x.x.x has been resolved and closed \n\n\n\n2023-07-06 09:05:03 - iautomate ITIL (Work notes)\nServer Execution In-Progress || iAutomate has resolved the Ticket INC1 successfully with all the action required\n The Alert with description Please restoree an excel spreadsheet due to system corruption test. ",

"user": {

"username": "username",

"displayName": "DisplayName",

"email": user@hcl.com

},

"source": "web"

}

Response:

{

"response": "<pre>Overview: The issue involving a corrupted Excel spreadsheet on server x.x.x.x has been addressed. The alert, related to a system corruption identified by \"PORUA110 OEM13c.BAUcabprd.217576,\" has been resolved, and the associated ticket, INC1, was successfully closed by iAutomate.

</pre>"

}