ragflow/sdk/python/ragflow_sdk/modules
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 Update comments (#4569) 2025-01-21 20:52:28 +08:00
agent.py Feat: add 'delete' for agent's sessions api and unify apis of agent sdk (#5525) 2025-03-03 17:15:16 +08:00
base.py refactor: no need to inherit in python3 clean the code (#5659) 2025-03-05 18:03:53 +08:00
chat.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
chunk.py Improve API Documentation, Standardize Error Handling, and Enhance Comments (#5990) 2025-03-13 19:06:50 +08:00
dataset.py Refa: remove dataset language and validate dataset name length. (#5707) 2025-03-06 17:08:28 +08:00
document.py Feat: Add support for document meta fields update through api (#5120) 2025-02-19 13:39:31 +08:00
session.py Fix: stream post body (#5434) 2025-02-27 16:08:54 +08:00