yao/openapi/kb
Max 58f830b7b6 Enhance job and category management with unique ID generation
- Introduced unique ID generation for jobs, categories, and executions using gonanoid, improving ID handling and reducing collisions.
- Updated SaveJob and SaveCategory functions to utilize new ID generation methods, ensuring consistent and unique identifiers.
- Enhanced job creation logic to allow for category name handling, enabling automatic category ID assignment based on provided names.
- Refactored ensureCategoryExists to check for existing categories by name, streamlining category management during job operations.
- Improved error handling and logging for ID generation and category retrieval processes, ensuring better traceability and reliability.
2025-09-02 16:57:23 +08:00
..
addfile.go Enhance job and category management with unique ID generation 2025-09-02 16:57:23 +08:00
addtext.go Enhance job and category management with unique ID generation 2025-09-02 16:57:23 +08:00
addurl.go Enhance job and category management with unique ID generation 2025-09-02 16:57:23 +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 job handling and enhance document processing features 2025-09-02 10:05:51 +08:00
graph.go Refactor job handling and enhance document processing features 2025-09-02 10:05:51 +08:00
hit.go Enhance hit and vote retrieval logic in API 2025-08-22 11:25:46 +08:00
kb.go Refactor document processing functions to improve job handling 2025-09-02 10:16:41 +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 Refactor job handling and enhance document processing features 2025-09-02 10:05:51 +08:00
types.go Enhance job and category management with unique ID generation 2025-09-02 16:57:23 +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