yao/openapi/kb
Max 82b11caa42 Implement hit and vote management enhancements in API
- Added error handling for uninitialized knowledge base in hit and vote endpoints.
- Implemented ScrollHits and ScrollVotes methods to retrieve paginated results with filtering options.
- Updated AddHits and AddVotes functions to handle request validation and response formatting.
- Enhanced response structures to include updated counts for added and removed hits and votes.
- Introduced new request types for updating hits and votes, allowing for default reactions in segments.
2025-08-22 11:18:04 +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 Enhance collection management and segment handling in the API 2025-08-20 18:25:28 +08:00
document.go Enhance document management by adding file ID support and updating related fields 2025-08-15 10:47:06 +08:00
graph.go Refactor document ID handling in API responses 2025-08-21 11:10:13 +08:00
hit.go Implement hit and vote management enhancements in API 2025-08-22 11:18:04 +08:00
kb.go Implement hit and vote management enhancements in API 2025-08-22 11:18:04 +08:00
provider.go Enhance knowledge base provider management with multi-language support 2025-08-09 16:57:23 +08:00
score.go Implement hit and vote management enhancements in API 2025-08-22 11:18:04 +08:00
search.go Add Knowledge Base API endpoints and integrate with OpenAPI router 2025-07-23 15:19:40 +08:00
segment.go Remove debug print statements from UpdateSegments function to clean up code and improve readability. 2025-08-21 16:43:17 +08:00
types.go Implement hit and vote management enhancements in API 2025-08-22 11:18:04 +08:00
utils.go Enhance collection management and segment handling in the API 2025-08-20 18:25:28 +08:00
vote.go Implement hit and vote management enhancements in API 2025-08-22 11:18:04 +08:00
weight.go Implement hit and vote management enhancements in API 2025-08-22 11:18:04 +08:00