Icon

GenAI for Summarization - Scanned Agreement

<p><strong>GenAI for Summarization: Scanned Agreement</strong></p><ul><li><p>This workflow accesses a scanned financial support agreement sourced from the UNT Digital Library: https://digital.library.unt.edu/ark:/67531/metadc947599/ and stored in a Box folder.</p><p></p></li><li><p>It performs OCR using the free service provided by OCR Space, and prompts a local LLM to obtain a summary of the agreement.</p><p></p></li><li><p>It formats the summary to be delivered as a PDF report and transfers the report back to Box.</p></li></ul>

URL: KNIME for Generative AI https://hub.knime.com/c/D4ckx2q_J5FPBQXu

2. Prompt LLM
3. Deploy Results

GenAI for Summarization: Scanned Agreement

  • This workflow accesses a scanned financial support agreement sourced from the UNT Digital Library: https://digital.library.unt.edu/ark:/67531/metadc947599/ and stored in a Box folder.

  • It performs OCR using the free service provided by OCR Space, and prompts a local LLM to obtain a summary of the agreement.

  • It formats the summary to be delivered as a PDF report and transfers the report back to Box.

1. Access Data

Link to folder with scanned agreement: https://knime.box.com/s/a5dv4i7salsqelj67wdqh6iiav374u5s

To folder:Scanned agreement
Box Connector
Add role
Constant Value Column
Keep only summary
Row Filter
Box Authenticator
To workflow data area
Transfer Files
Renamepath column
Column Renamer
Report PDF Writer
Transfer summaries toBox folder
Transfer Files
Agreement Summary
Read local model(LLama 3) ∼ 4.5 Gb
Local GPT4All Chat Model Connector
Report Template Creator
Get free API key here:https://ocr.space/ocrapi/freekey
OCR Text Extractor
Chat Model Prompter

Nodes

Extensions

Links