ragflow/api/db/services
Xinghan Pan 47926f7d21
Improve API Documentation, Standardize Error Handling, and Enhance Comments (#5990)
### What problem does this PR solve?  
- The API documentation lacks detailed error code explanations. Added
error code tables to `python_api_reference.md` and
`http_api_reference.md` to clarify possible error codes and their
meanings.
- Error handling in the codebase is inconsistent. Standardized error
handling logic in `sdk/python/ragflow_sdk/modules/chunk.py`.
- Improved API comments by adding standardized docstrings to enhance
code readability and maintainability.

### Type of change  
- [x] Documentation Update  
- [x] Refactoring
2025-03-13 19:06:50 +08:00
..
__init__.py Fix errors detected by Ruff (#3918) 2024-12-08 14:21:12 +08:00
api_service.py Feat(api): Add dsl parameters to control whether dsl fields are included (#5769) 2025-03-07 16:58:00 +08:00
canvas_service.py For an Agent with an Input Begin value, on the first call the return … (#5957) 2025-03-12 17:01:44 +08:00
common_service.py Improve API Documentation, Standardize Error Handling, and Enhance Comments (#5990) 2025-03-13 19:06:50 +08:00
conversation_service.py Fix issue of ask API. (#5400) 2025-02-26 19:45:22 +08:00
dialog_service.py Feat: apply LLM to optimize citations. (#5935) 2025-03-11 19:56:21 +08:00
document_service.py Fix: too long context during KG issue. (#5723) 2025-03-06 19:21:07 +08:00
file2document_service.py Tagging (#4426) 2025-01-09 17:07:21 +08:00
file_service.py Improve API Documentation, Standardize Error Handling, and Enhance Comments (#5990) 2025-03-13 19:06:50 +08:00
knowledgebase_service.py Improve API Documentation, Standardize Error Handling, and Enhance Comments (#5990) 2025-03-13 19:06:50 +08:00
llm_service.py refactor: no need to inherit in python3 clean the code (#5659) 2025-03-05 18:03:53 +08:00
task_service.py Improve API Documentation, Standardize Error Handling, and Enhance Comments (#5990) 2025-03-13 19:06:50 +08:00
user_service.py Improve API Documentation, Standardize Error Handling, and Enhance Comments (#5990) 2025-03-13 19:06:50 +08:00