yao/openapi/tests
Max 91d67d3b54 Enhance collection management and segment handling in the API
- Added GetCollection endpoint to retrieve collections by ID, including error handling for missing IDs and uninitialized knowledge base.
- Updated CreateCollectionConfig to use more descriptive field names for embedding provider and option IDs.
- Refactored UpdateSegments function to improve validation and error handling, ensuring document IDs and segment texts are properly checked.
- Introduced new request structures for updating votes, scores, and weights for segments, enhancing the API's capabilities.
- Removed the outdated vote handling file to streamline the codebase.
2025-08-20 18:25:28 +08:00
..
dsl Remove deprecated test files and refactor OAuth response handling 2025-07-24 15:53:29 +08:00
file Add Signin API and update file management endpoints 2025-07-30 16:49:28 +08:00
hello Remove deprecated test files and refactor OAuth response handling 2025-07-24 15:53:29 +08:00
kb Enhance collection management and segment handling in the API 2025-08-20 18:25:28 +08:00
oauth Remove deprecated test files and refactor OAuth response handling 2025-07-24 15:53:29 +08:00
testutils Implement environment variable resolution in configuration parsing and enhance collection management API 2025-07-24 17:08:58 +08:00
config_test.go Remove deprecated test files and refactor OAuth response handling 2025-07-24 15:53:29 +08:00
openapi_test.go Remove deprecated test files and refactor OAuth response handling 2025-07-24 15:53:29 +08:00
signin_test.go Refactor user provider methods to return string IDs and update test data handling 2025-08-03 10:25:09 +08:00