yao/kb
Max 1c4fd3d20c Implement file and segment management API endpoints with error handling
- Added AddFile, AddText, AddURL, and AddSegments functions to handle file and segment uploads, including JSON request parsing and validation.
- Integrated error handling for invalid requests and uninitialized Knowledge Base instances, ensuring robust API responses.
- Enhanced response structures for success and error cases, improving consistency across the API.
- Updated AutoDetectConverter function to use a single content type parameter instead of multiple content types.
2025-07-25 16:35:19 +08:00
..
providers Implement file and segment management API endpoints with error handling 2025-07-25 16:35:19 +08:00
types Remove obsolete configuration and test files for Knowledge Base 2025-07-25 11:36:15 +08:00
kb.go Remove obsolete configuration and test files for Knowledge Base 2025-07-25 11:36:15 +08:00
kb_test.go Enhance CI workflows and Knowledge Base integration 2025-07-23 17:42:10 +08:00
provider.go Remove obsolete configuration and test files for Knowledge Base 2025-07-25 11:36:15 +08:00
README.md Update dependencies in go.mod and go.sum to latest versions for improved stability and performance 2025-07-13 09:15:54 +08:00

Knowledge Base