yao/openapi/kb
Max 451569e8cb Implement pagination and filtering in ListSegments function
- Enhanced ListSegments function to support pagination with customizable limit and offset parameters.
- Added error handling for missing docID and uninitialized knowledge base instance.
- Introduced filtering options for score, weight, and vote, allowing for refined segment retrieval.
- Improved response structure to return success or error messages based on the operation outcome.
2025-08-15 15:47:21 +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 Implement knowledge base configuration retrieval and enhance collection/document handling 2025-08-12 18:35:30 +08:00
document.go Enhance document management by adding file ID support and updating related fields 2025-08-15 10:47:06 +08:00
kb.go Enhance document management by adding file ID support and updating related fields 2025-08-15 10:47:06 +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 pagination and filtering in ListSegments function 2025-08-15 15:47:21 +08:00
types.go Remove debug print statements from ToUpsertOptions method in BaseUpsertRequest to clean up code and improve readability. 2025-08-14 10:18:21 +08:00
utils.go Refactor file, text, and URL addition handlers for improved request processing and validation 2025-08-14 08:52:43 +08:00
vote.go Add Knowledge Base API endpoints and integrate with OpenAPI router 2025-07-23 15:19:40 +08:00