A multi-agent NLP system that analyzes, summarizes, and compares insurance policy documents. It enables intelligent document understanding, semantic search, and comparative analysis between Tunisian and international insurance standards
# Research Assistant for Insurance Policy Design & Analysis
A multi-agent AI system designed to analyze, summarize, and compare insurance documents, with a focus on comparing Tunisian insurance policies with international standards.
## 📋 Overview
This application leverages advanced Natural Language Processing (NLP) and Large Language Models (LLMs) to process insurance policy documents. It provides intelligent document analysis, semantic search capabilities, and comparative insights between Tunisian and international insurance policies.
### Key Features
- **📄 Document Processing**: Extract and process text from PDF insurance documents
- **🤖 Multi-Agent System**: Specialized agents for document analysis and enrichment
- **📝 Global Summarization**: Generate comprehensive summaries synthesized from chunk-level analysis
- **🔍 Semantic Search**: Vector-based similarity search for finding relevant information
- **💡 Intelligent Q&A**: Answer questions about insurance policies using context-aware AI
- **📊 Document Enrichment**: Automatic generation of summaries, keywords, and relevant questions
- **🌐 Policy Comparison**: Compare Tunisian insurance policies with international standards
- **⚡ Parallel Processing**: Efficient multi-threaded document enrichment
## Analyzer interface
The Analyzer is an agentic Retrieval-Augmented Generation (RAG) pipeline that converts heterogeneous documents into structured, queryable knowledge. It emphasizes fidelity to original structure (tables, headers, formatting), rich metadata, and fast semantic retrieval so the LLM can answer questions with accurate, provenance-backed context.
## Summarizer Agent
The **SummarizerAgent** is a specialized component that generates comprehensive global summaries from document chunks. Unlike simple concatenation, it intelligently synthesizes chunk-level summaries into a coherent, executive-level overview of the entire document.
## Analyzer interface
### How it Works
1. **Context-Aware Processi …