yao/openapi/kb
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
..
addfile.go Implement document and collection count updates in API 2025-08-29 17:34:09 +08:00
addtext.go Implement document and collection count updates in API 2025-08-29 17:34:09 +08:00
addurl.go Implement document and collection count updates in API 2025-08-29 17:34:09 +08:00
backup.go Add Knowledge Base API endpoints and integrate with OpenAPI router 2025-07-23 15:19:40 +08:00
collection.go Implement document and collection count updates in API 2025-08-29 17:34:09 +08:00
document.go Implement document and collection count updates in API 2025-08-29 17:34:09 +08:00
graph.go Update segment graph API to include entity-based relationship retrieval 2025-08-29 11:50:14 +08:00
hit.go Enhance hit and vote retrieval logic in API 2025-08-22 11:25:46 +08:00
kb.go Update segment graph API to include entity-based relationship retrieval 2025-08-29 11:50:14 +08:00
provider.go Enhance knowledge base provider management with multi-language support 2025-08-09 16:57:23 +08:00
score.go Implement hit and vote management enhancements in API 2025-08-22 11:18:04 +08:00
search.go Add Knowledge Base API endpoints and integrate with OpenAPI router 2025-07-23 15:19:40 +08:00
segment.go Implement document and collection count updates in API 2025-08-29 17:34:09 +08:00
types.go Implement hit and vote management enhancements in API 2025-08-22 11:18:04 +08:00
utils.go Enhance collection management and segment handling in the API 2025-08-20 18:25:28 +08:00
vote.go Enhance hit and vote retrieval logic in API 2025-08-22 11:25:46 +08:00
weight.go Implement hit and vote management enhancements in API 2025-08-22 11:18:04 +08:00