yao/openapi/kb
Max 82788e82a9 Refactor provider option resolution to require provider type
- Updated the resolveProviderOption function to include providerType as a required parameter, enhancing error handling for missing provider types.
- Simplified the provider retrieval logic to directly fetch providers based on the specified type, improving clarity and maintainability.
- Removed redundant comments and streamlined the code for better readability.
2025-08-13 16:06: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 knowledge base configuration retrieval and enhance collection/document handling 2025-08-12 18:35:30 +08:00
document.go Implement knowledge base configuration retrieval and enhance collection/document handling 2025-08-12 18:35:30 +08:00
kb.go Refactor document management handlers to improve request validation and async processing 2025-08-12 11:41:48 +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 Implement file and segment management API endpoints with error handling 2025-07-25 16:35:19 +08:00
utils.go Refactor provider option resolution to require provider type 2025-08-13 16:06:09 +08:00
vote.go Add Knowledge Base API endpoints and integrate with OpenAPI router 2025-07-23 15:19:40 +08:00