yao/kb/types
Max 96eef9e27d Implement document and collection count updates in API
- Added DocumentCount and UpdateDocumentCount methods to manage document counts in collections, enhancing metadata accuracy.
- Introduced RemoveDocumentsByCollectionID method for bulk document removal, improving collection management.
- Updated AddFileProcess, AddTextProcess, and AddURLProcess functions to include document and segment count updates after file operations.
- Enhanced RemoveCollection function to report the number of documents removed during collection deletion.
- Implemented segment count updates in RemoveSegments and RemoveSegmentsByDocID functions, ensuring accurate tracking of document segments.
2025-08-29 17:34:09 +08:00
..
collection.go Implement document and collection count updates in API 2025-08-29 17:34:09 +08:00
config.go Refactor extractor to extraction provider and update related configurations 2025-08-13 16:32:30 +08:00
config_test.go Refactor extractor to extraction provider and update related configurations 2025-08-13 16:32:30 +08:00
document.go Implement document and collection count updates in API 2025-08-29 17:34:09 +08:00
provider.go Refactor extractor to extraction provider and update related configurations 2025-08-13 16:32:30 +08:00
types.go Refactor extractor to extraction provider and update related configurations 2025-08-13 16:32:30 +08:00