Archiving and Metadata Classification - Feature Summary
Overviewโ
Complete feature documentation created for an Archiving and Metadata Classification system that builds on top of the chunk-based text extraction pipeline.
Status: ๐ Documentation Complete - NOT YET IMPLEMENTED
What is This Feature?โ
An intelligent classification and metadata extraction system for all content types (documents, objects, emails, chats) that:
-
Classifies content using two approaches:
- Constructive: User selects from curated taxonomy lists
- Suggestive: AI proposes new categories/themes
-
Extracts metadata automatically:
- Keywords and search terms
- Themes and topics
- Document properties
- Temporal information
Documentation Locationโ
๐ Archiving and Metadata Classification
Key Conceptsโ
Two Classification Approachesโ
1. Constructive Classification (Controlled Vocabulary)โ
User Action โ Select Taxonomy โ Select Category โ Apply
Characteristics:
- Predefined categories
- Controlled vocabulary
- Consistent organization
- Manual or AI-assisted
Example Taxonomies:
- Document Types (Contracts, Policies, Reports)
- Content Themes (Technology, Business, HR)
- Records Management (Retention schedules)
2. Suggestive Classification (AI-Powered)โ
AI Analysis โ Generate Suggestions โ User Review โ Approve/Reject
Characteristics:
- AI-discovered themes
- Dynamic categories
- Requires approval
- Can be promoted to taxonomy
Example Suggestions:
- "API Integration" (confidence: 89%)
- "Cloud Security" (confidence: 76%)
- "Performance Optimization" (confidence: 82%)
Metadata Extractionโ
Automatic extraction of:
- Keywords: Important terms (TF-IDF, NER, LLM)
- Themes: High-level topics (Topic modeling, clustering)
- Search Terms: How users might search for this content
- Properties: Structured metadata (dates, authors, versions)
Database Schemaโ
4 New Tablesโ
-
oc_openregister_classifications
- Links chunks to taxonomy categories
- Stores confidence and method
- Multi-tenant (owner, organisation)
-
oc_openregister_taxonomies
- Stores taxonomy definitions
- Hierarchical structures
- Global or organization-specific
-
oc_openregister_suggestions
- AI-generated classification suggestions
- Pending user review
- Confidence scores
-
oc_openregister_metadata
- Extracted metadata (keywords, themes, etc.)
- Linked to chunks and sources
- Method and confidence tracking
All tables include multi-tenancy fields (owner, organisation).
Integration with Existing Featuresโ
1. Text Extraction Pipelineโ
File/Object โ Chunks โ [NEW] Classification + Metadata Extraction
Applied after chunking, reuses existing chunk infrastructure.
2. GDPR Entity Trackingโ
Entities can become metadata:
- Person names โ Keywords
- Organizations โ Themes
- Locations โ Properties
3. Search Enhancementโ
Classifications and metadata improve search:
- Filter by category
- Boost by theme relevance
- Faceted navigation
- Related content suggestions
4. Vector Search (RAG)โ
Metadata enhances AI:
- Filter vectors by classification
- Include metadata in context
- Theme-based retrieval
User Interface Componentsโ
1. Classification Panelโ
- Display current classifications
- Add/remove classifications
- Bulk classification
- History tracking
2. Suggestion Review Panelโ
- View pending AI suggestions
- Approve/reject with one click
- Promote to taxonomy
- Bulk actions
3. Metadata Displayโ
- Show extracted keywords, themes
- Edit metadata manually
- View confidence scores
- Method transparency
4. Taxonomy Managerโ
- Create/edit taxonomies
- Hierarchical editor
- Import/export
- Global vs organization scope
API Endpointsโ
Classificationsโ
GET /api/classifications
POST /api/classifications
DELETE /api/classifications/{id}
POST /api/classifications/bulk
Suggestionsโ
GET /api/suggestions?status=pending
POST /api/suggestions/{id}/review
POST /api/suggestions/bulk-approve
Taxonomiesโ
GET /api/taxonomies
POST /api/taxonomies
PUT /api/taxonomies/{id}
DELETE /api/taxonomies/{id}
GET /api/taxonomies/{id}/export
Metadataโ
GET /api/metadata?source_id=123
PUT /api/metadata/{id}
POST /api/metadata/extract
Use Casesโ
1. Legal Document Managementโ
- Classify contracts by type
- Extract parties, dates, jurisdictions
- Apply retention schedules
- Compliance tracking
2. Knowledge Base Organizationโ
- AI discovers documentation themes
- Automatic categorization
- Improved search
- Dynamic taxonomy evolution
3. Email Archivingโ
- Classify emails (Business, HR, Legal, IT)
- Extract sender, recipient, subject
- Apply retention policies
- GDPR compliance
4. Multi-Language Contentโ
- Language-aware classification
- Localized taxonomies
- Cross-language themes
- Better UX per language
5. Research Document Analysisโ
- Discover research themes
- Extract concepts and keywords
- Cluster similar papers
- Knowledge graph generation