paperless-ngx/src
copilot-swe-agent[bot] 9542c32fb8 feat(ai): Add AI Suggestions API endpoints with tracking and statistics
- Created serializers for AI suggestions (AISuggestionsSerializer, ApplySuggestionSerializer, etc.)
- Added AISuggestionFeedback model for tracking applied/rejected suggestions
- Implemented 4 new API endpoints:
  - GET /api/documents/{id}/ai-suggestions/ - Get AI suggestions for a document
  - POST /api/documents/{id}/apply-suggestion/ - Apply a suggestion and record feedback
  - POST /api/documents/{id}/reject-suggestion/ - Reject a suggestion and record feedback
  - GET /api/documents/ai-suggestion-stats/ - Get accuracy statistics
- Created database migration for AISuggestionFeedback model
- Added comprehensive test suite (28 test cases) covering all endpoints
- Supports tracking for tags, correspondents, document types, storage paths, titles
- Calculates accuracy rates and confidence scores for AI improvement

Co-authored-by: dawnsystem <42047891+dawnsystem@users.noreply.github.com>
2025-11-13 06:07:11 +00:00
..
documents feat(ai): Add AI Suggestions API endpoints with tracking and statistics 2025-11-13 06:07:11 +00:00
locale New Crowdin translations by GitHub Action (#11288) 2025-11-06 19:36:26 +00:00
paperless feat(ai): Add comprehensive AI document scanner for automatic metadata management 2025-11-11 13:58:32 +00:00
paperless_mail Chore: add headers for wikipedia CI tests (#11253) 2025-11-01 09:37:49 -07:00
paperless_tesseract Chore(deps): Bump the small-changes group across 1 directory with 3 updates (#10880) 2025-09-17 13:16:34 -07:00
paperless_text Fixhancement: improve text thumbnail generation for large files (#10483) 2025-08-01 10:26:35 -07:00
paperless_tika Chore: switch from os.path to pathlib.Path (#9060) 2025-03-05 21:06:01 +00:00
manage.py Upgrades black to v23, upgrades ruff 2023-04-26 09:35:27 -07:00