Icon

GenAI for Summarization - EU Regulations

<p><strong>GenAI for Summarization: EU Regulations</strong></p><ul><li><p>This workflow accesses EU Regulations on roaming on public mobile communication networks.</p><p></p></li><li><p>It chunks the texts in shorter portions, generates chunk summaries using LLMs, and uses a chat model to obtain comprehensive regulation summaries using summarized chunks as conversation history.</p><p></p></li><li><p>It formats the summaries to be delivered as a report per email.</p></li></ul>

URL: KNIME for Generative AI https://hub.knime.com/knime/collections/KNIME%20for%20Generative%20AI~D4ckx2q_J5FPBQXu

2. Prompt LLM
3. Deploy Results

GenAI for Summarization: EU Regulations

  • This workflow accesses EU Regulations on roaming on public mobile communication networks.

  • It chunks the texts in shorter portions, generates chunk summaries using LLMs, and uses a chat model to obtain comprehensive regulation summaries using summarized chunks as conversation history.

  • It formats the summaries to be delivered as a report per email.

1. Access Data
OpenAI API key
Credentials Configuration
Create meaningful chunksfrom lengthy regulations
Text Chunker
Access EU Regulationsas .PDF files on roaming on public mobilecommunications networks
Tika Parser
Add role
Constant Value Column
Document Viewer
Extract Title
Send the report by emailto the chosen recipients.There is no need to attachthe report.
Email Sender (Labs)
Set up a complete email inbox with a few pre-existing emails
Fake Email Inbox Setup
Passing all the summariesas historical conversationto create a comprehensivesummary for each regulation
Chat Model Prompter
Passing all the chunks with overlappingto the assistant as single messages
Prepare Chunks
Visualize & downloadsummary preview
Regulation Summaries
gpt-3.5-turbo-16k,Summary length: 450 tokens
OpenAI Chat Model Connector
OpenAI Authenticator
Email Connector (Labs)
Set up ReportLayout
Report Template Creator
Prompt engineeringto summarize chunks
Expression
gpt-3.5-turbo-16k,Summary length: 100 tokens
OpenAI Chat Model Connector
Getsummaries ofchunks
LLM Prompter

Nodes

Extensions

Links