Version 2.8.0 Release Notes
Released: January 27, 2025Overview
Version 2.8.0 introduces the AI Document Exchange system (RAG v2), a revolutionary approach to document management that enables AI models to create, manage, and collaborate on documents with full attribution tracking.Key Features
AI Document Creation
Direct document generation by AI models with attribution
Version Control
Complete version history with change tracking
Semantic Search
Advanced search with relevance scoring
Multi-Format Support
Support for Markdown, JSON, HTML, and more
AI Document Exchange System
Document Creation API
AI models can now create documents directly through the API:Model Attribution
Every AI-generated document tracks complete attribution:Document Management Features
Version Control
All documents now support complete version history with rollback capabilities.
Version Tracking
- Automatic version creation on updates
- Parent-child relationships between versions
- Change diff generation
- Rollback to any previous version
Version API
Advanced Search
PostgreSQL full-text search with relevance scoring:- Semantic relevance scoring
- Automatic snippet generation
- Keyword highlighting
- Filter by AI model, date, tags, source
- Pagination with total count
Document Preview System
Multi-Format Viewer
The new document preview modal supports:- Page navigation
- Zoom controls (10%-500%)
- Text selection
- Search within document
Preview Controls
MCP Tools Integration
New MCP tools for document operations:pluggedin_create_document
Create documents from MCP servers:pluggedin_search_documents
Search documents semantically:pluggedin_get_document
Retrieve specific documents:pluggedin_update_document
Update existing documents:Security Enhancements
Rate Limiting
- AI document creation: 10 requests per hour
- Document search: 60 requests per minute
- Document updates: 30 requests per minute
Content Security
All AI-generated content is sanitized before storage.
- HTML/Markdown sanitization
- Path traversal protection
- Content size limit: 10MB
- File type validation
- XSS prevention
Access Control
Database Schema Updates
New Tables
document_versions
document_model_attributions
Updated docs Table
New fields added:source
: ‘upload’ | ‘ai_generated’ | ‘api’ai_metadata
: JSONB for AI-specific datacontent_hash
: SHA-256 hash for deduplicationvisibility
: Document visibility levelversion
: Current version numberparent_document_id
: For version relationships
UI Enhancements
Library Interface
1
Source Filter
Filter documents by source (Uploaded, AI Generated, API)
2
Model Attribution Badges
Visual indicators for AI-generated content
3
Progress Tracking
Real-time upload and processing progress
4
Preview on Click
Instant document preview in modal
Upload Progress
Enhanced progress tracking shows:- Text extraction progress
- Chunking progress
- Embedding generation
- Database insertion
- Estimated time remaining
Migration Guide
Database Migration
Run the migration script:API Updates
Update your API calls to include model metadata:Performance Improvements
- Optimized search queries with new indexes
- Lazy loading for document previews
- Content deduplication reduces storage by 30%
- Streaming support for large documents
Known Issues
- PDF preview may be slow for documents >100 pages
- Search relevance scoring needs tuning for short queries
- Version diff generation slow for very large documents
Future Enhancements
Planned for future releases:- Real-time collaborative editing
- Document templates
- Advanced version merging
- AI-powered document summarization
- Export to multiple formats
Support
For help with RAG v2 features:- Documentation: docs.plugged.in
- API Reference: API Documentation
- GitHub Issues: Report issues