Overview of Generic Document Management
mainThe svc_infra.documents module provides a domain-agnostic system for storing and managing document metadata. It is designed to work with any storage backend supported by svc-infra (S3, local, or memory) and includes built-in user scoping for multi-tenant applications.
Key Features:
- Generic Document Model: Flexible metadata schema.
- Storage Integration: Seamlessly uses S3, local, or memory backends.
- FastAPI Endpoints: Ready-to-use protected routes for CRUD operations.
- Async-First: Full
async/awaitsupport. - User Isolation: Built-in scoping to ensure users only access their own documents.
Note: This module does not include OCR, AI analysis, file format conversion, or virus scanning. These should be implemented as extensions.