System Architecture
The integration of the RelOne and PII platform utilises a Multi-Layered Architecture to achieve modularity, maintainability, and separation of concerns. This architecture is designed to handle the transfer of information between Relativity One and the PII platform efficiently. Here is a breakdown of the key layers within this architecture and their roles:
Multi-Layered Architecture
Presentation Layer
Responsibilities: Handles user interaction and presentation logic.
Technologies: Utilises Nuxt.js with Tailwind CSS to build the user interface.
Functionality: Manages tasks such as uploading documents, specifying redaction criteria, and downloading processed outputs.
Communication: Interacts with the backend API (FastAPI) through well-defined endpoints to initiate document processing tasks and retrieve results.
Business Logic Layer
Responsibilities: Houses the core application logic for document processing within the FastAPI backend application.
Functions: Includes receiving document uploads from the presentation layer, processing documents, and managing business rules.
Processing: Handles PII detection and redaction, leveraging Azure Text Analytics for PII recognition.
Data Access Layer
Responsibilities: Abstracts the interaction with the underlying data storage solution (PostgreSQL database).
Functions: Manages storing document metadata (upload timestamps, processing status), and optionally storing extracted entity information.
Technologies: Uses an ORM or database access library to interact with PostgreSQL securely.