Commit Graph

7 Commits

Author SHA1 Message Date
boladeE 1b7fb0c64b Using tika to support multiple file formats 2025-04-28 22:00:47 +01:00
boladeE 4a10c67c93 feat: Implement background document processing and namespace support
- Added background task processing for document uploads to improve responsiveness.
- Updated the DocumentProcessor to use synchronous processing.
- Introduced namespace configuration in VectorStore for better organization of stored embeddings.
- Enhanced logging to reflect changes in document processing and embedding storage.
2025-04-23 21:45:45 +01:00
boladeE 932f76b603 refactor: Transition to SQLAlchemy for database management
- Replaced SQLite direct connections with SQLAlchemy ORM for better abstraction and maintainability.
- Introduced new database models for 'Analysis' and 'Metadata' with appropriate fields.
- Enhanced database initialization and session management.
- Updated methods for saving, retrieving, and deleting analysis and metadata records to use SQLAlchemy sessions.
2025-04-23 14:27:15 +01:00
boladeE f4cb9dfa92 Modified Document_processor to avoid tight coupling 2025-04-22 15:19:00 +01:00
boladeE 9259d61e96 refactor: Improve analysis display and enhance issue reranking
- Removed debug print statements from analysis retrieval.
- Implemented a reranking method for issues and recommendations based on relevance to compliance.
- Updated the analysis HTML template to display issues with improved formatting and markdown support.
2025-04-22 12:57:09 +01:00
boladeE c4145977dd feat: Enhance document processing and analysis features
- Added support for processing DOCX files and extracting content.
- Updated database schema to include a combined 'issues_and_recommendations' field.
- Improved error handling during document uploads and analysis.
- Modified the analysis display to show issues and recommendations in a structured format.
- Adjusted API call parameters for better performance and error management.
2025-04-22 12:07:11 +01:00
boladeE b0ec64b883 feat: Initial SCP project setup with AI-powered document compliance tools 2025-04-21 22:49:29 +01:00