yao/openapi/kb
Max c3abc84057 Refactor API routes for collections and segments management
- Rearranged and updated API endpoints for collections, including adding GetCollections and adjusting the order of operations for better clarity.
- Enhanced segment management by introducing new endpoints for segment scores, weights, and votes, along with async operations for adding and updating segments.
- Improved error handling for missing document IDs in segment-related functions, ensuring robust validation.
- Streamlined response structures to include document and segment IDs in relevant endpoints, enhancing the API's usability.
2025-08-21 08:48:17 +08:00
..
addfile.go Enhance document management by adding file ID support and updating related fields 2025-08-15 10:47:06 +08:00
addtext.go Refactor file, text, and URL addition processes to improve request handling and validation 2025-08-14 14:51:48 +08:00
addurl.go Refactor file, text, and URL addition processes to improve request handling and validation 2025-08-14 14:51:48 +08:00
backup.go Add Knowledge Base API endpoints and integrate with OpenAPI router 2025-07-23 15:19:40 +08:00
collection.go Enhance collection management and segment handling in the API 2025-08-20 18:25:28 +08:00
document.go Enhance document management by adding file ID support and updating related fields 2025-08-15 10:47:06 +08:00
graph.go Refactor API routes for collections and segments management 2025-08-21 08:48:17 +08:00
hit.go Refactor API routes for collections and segments management 2025-08-21 08:48:17 +08:00
kb.go Refactor API routes for collections and segments management 2025-08-21 08:48:17 +08:00
provider.go Enhance knowledge base provider management with multi-language support 2025-08-09 16:57:23 +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 API routes for collections and segments management 2025-08-21 08:48:17 +08:00
store.go Refactor API routes for collections and segments management 2025-08-21 08:48:17 +08:00
types.go Enhance collection management and segment handling in the API 2025-08-20 18:25:28 +08:00
utils.go Enhance collection management and segment handling in the API 2025-08-20 18:25:28 +08:00
vote.go Refactor API routes for collections and segments management 2025-08-21 08:48:17 +08:00