Tech Specs
Core Components
Data Models
Training Data Structure
A training data manager to handle our training data
A model trainer service
A way to save and load our trained model
NLP Processing
CoreML for text embeddings
Natural Language framework for tokenization
Local clustering using k-means algorithm
Threshold detection using cosine similarity
Storage Layer
UNPARTY Wrapper
REST API endpoints for processing
JWT authentication
Webhook support for cluster updates
Response handling for inference requests
SwiftUI Views
Processing Flow
Entry Creation → Local NLP → Embedding Generation
Cluster Detection → Threshold Check → Storage Update
Wrapper Processing → Documentation Site API → Response Handling
UI Update → Visualization → State Management
API Integration
Demo Requirements
iOS 16.0+
CoreML 3.0+
Natural Language framework
Async/await support
Network connectivity
Last updated