yao/openapi/kb
Max 9587cbf981 Enhance hit and vote retrieval logic in API
- Implemented error handling for uninitialized knowledge base in GetHit and GetVote functions.
- Added detailed error responses for cases where hits or votes are not found.
- Updated response structures to return the retrieved hit and vote data along with associated identifiers.
2025-08-22 11:25:46 +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 Enhance hit and vote retrieval logic in API 2025-08-22 11:25:46 +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 Enhance hit and vote retrieval logic in API 2025-08-22 11:25:46 +08:00
weight.go Implement hit and vote management enhancements in API 2025-08-22 11:18:04 +08:00