yao/openapi/kb
Max ae965d0b32 Refactor document and collection update processes to include GraphRag synchronization
- Updated AddFileProcess, AddTextProcess, and AddURLProcess functions to use new UpdateDocumentCountWithSync method for document count updates, ensuring synchronization with GraphRag.
- Enhanced CreateCollection function to utilize UpdateCollectionWithSync for collection status updates, improving consistency in metadata management.
- Modified RemoveDocs function to sync document count updates to GraphRag, ensuring accurate tracking of affected collections.
- Introduced new utility functions for updating collections and document counts with GraphRag synchronization, enhancing overall API functionality.
2025-08-30 09:39:16 +08:00
..
addfile.go Refactor document and collection update processes to include GraphRag synchronization 2025-08-30 09:39:16 +08:00
addtext.go Refactor document and collection update processes to include GraphRag synchronization 2025-08-30 09:39:16 +08:00
addurl.go Refactor document and collection update processes to include GraphRag synchronization 2025-08-30 09:39:16 +08:00
backup.go Add Knowledge Base API endpoints and integrate with OpenAPI router 2025-07-23 15:19:40 +08:00
collection.go Refactor document and collection update processes to include GraphRag synchronization 2025-08-30 09:39:16 +08:00
document.go Refactor document and collection update processes to include GraphRag synchronization 2025-08-30 09:39:16 +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 Enhance collection and document management in API 2025-08-29 18:02:37 +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 Refactor document and collection update processes to include GraphRag synchronization 2025-08-30 09:39:16 +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