yao/kb/types
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
..
collection.go Implement knowledge base configuration retrieval and enhance collection/document handling 2025-08-12 18:35:30 +08:00
config.go Add default collection and document model settings in Config struct 2025-08-12 17:31:38 +08:00
config_test.go Update test for Config struct to clarify feature computation timing 2025-08-09 17:28:57 +08:00
document.go Implement knowledge base configuration retrieval and enhance collection/document handling 2025-08-12 18:35:30 +08:00
provider.go Refactor provider option resolution to require provider type 2025-08-13 16:06:09 +08:00
types.go Add default collection and document model settings in Config struct 2025-08-12 17:31:38 +08:00