Autopilot Your Docs: Streamline Processing with Pega DocAI

Streamline document processing with DocAI, Pega’s intelligent automation that requires no training or complex prompts. Powered by Pega GenAI, it effortlessly classifies and extracts data from diverse document types, extending the capabilities of the Pega Platform

DocAI can be used to classify documents and then extract information according to the classification. It supports data extraction from tables as well as checkboxes and works with printed multi-page documents as well as handwritten documents. The solution supports English and most Western European languages and ensures that the Large Language Model (LLM) providers do not store or use any data uploaded to DocAI.

Demo**:**

https://players.brightcove.net/1519050010001/default_default/index.html?videoId=6385979140112

Steps:

  1. Add an attachment field for “ClaimsAttachment” in your data model, and configure the attachment field in the workflow for users to upload their Claim document.
  2. In App Studio → AI Designer → GenAIConnect and create new.
  3. Provide the Class, Name and description of the Gen AI connect.
  4. AutoPilot generates the necessary artifacts based on the description provided for GenAIConnect rule.
  5. Set up GenAI Connect in your workflow, specifying request and response parameters to ensure extracted data maps to your business rules.
  6. On the Advanced tab of the GenAI rule, enable attachments for analysis.
  7. Go to Case type → Add an Automated step (Gen AI connect)
  8. Design the UI to display Claim Information as part of the case workflow.
  9. In this example, I’ve mapped the response to Unstructured, so creating a data transform to parse the json response to Clipboard structure using the below activity.

@pxConvertStringToPage(tools,.PlanMemberInformation,.ExtractClaimData,“json”)

Reference:

Pega GenAI Series

Enjoyed this article? See more similair articles in Pega Cookbook Recipes :fire::fire::fire: series.

@RameshSangili I believe you would be calling this parse DT in Claim Information preprocessing, right?

ExtractClaimData only one Embedded page to extract data from Pdf from connect rule right ? once data is in ExtractClaimData will be mapping to “PlanMemberInformation” page.

Can you please attach screenshot of this PlanMemberInformation page structure and its associated UI properties.

@RameshSangiliThanks for another amazing article. Question : Does Pega perform/have forensic AI on the documents analyzed through Doc AI? This would be helpful in assessing documents for fakeness or created by AI.

@VenkateswararaoK

Sorry for the delayed response.

Claim Information preprocessing, right?

[Ramesh] YES

ExtractClaimData only one Embedded page to extract data from Pdf from connect rule right ?

[Ramesh] YES

Can you please attach screenshot of this PlanMemberInformation page structure and its associated UI properties.

[Ramesh] Attached

@NikhilA17

Thanks a lot! I have uploaded multiple documents during the DOC AI POC to check the authenticy of the document and it provides the correct results so far. Note: I never tested a fake document generated by AI.