ragflow/api/apps
Song Fuchang 992398bca3
Feat: Add http api to create, update, or delete agents. (#7515)
### What problem does this PR solve?

Hello, we are using ragflow as a backend service, so we need to manage
agents from our own frontend. So adding these http APIs to manage
agents.

The code logic is copied and modified from the `rm` and `save` methods
in `api/apps/canvas_app.py`.

btw, I found that the `save` method in `canvas_app.py` actually allows
to modify an agent to an existing title, so I kept the behavior in the
http api. I'm not sure if this is intentional.

### Type of change

- [ ] Bug Fix (non-breaking change which fixes an issue)
- [x] New Feature (non-breaking change which adds functionality)
- [x] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
2025-05-12 17:59:53 +08:00
..
auth Feat: Add /login/channels route and improve auth logic for frontend third-party login integration (#7521) 2025-05-08 10:23:19 +08:00
sdk Feat: Add http api to create, update, or delete agents. (#7515) 2025-05-12 17:59:53 +08:00
__init__.py Refa: enlarge default max request body size. (#6088) 2025-03-14 15:21:08 +08:00
api_app.py Feat: Add API to support get chunk by id (#7522) 2025-05-08 12:24:38 +08:00
canvas_app.py add show debug (#7390) 2025-05-12 17:15:19 +08:00
chunk_app.py Feat: support cross-lang search. (#7557) 2025-05-09 15:32:02 +08:00
conversation_app.py Refa: enhancement: enhance the prompt of related_question API (#6463) 2025-03-25 10:00:10 +08:00
dialog_app.py Support chat solo. (#5218) 2025-02-21 12:24:02 +08:00
document_app.py Fix: filed_map was incorrectly persisted (#7443) 2025-05-06 09:44:38 +08:00
file2document_app.py Fix: link to KB from filemanager. (#6530) 2025-03-26 09:41:14 +08:00
file_app.py fix: After the file is deleted, it still remains in the bucket. (#7482) 2025-05-06 19:30:42 +08:00
kb_app.py Feat: KB detail supports document total size (#7546) 2025-05-09 11:48:54 +08:00
langfuse_app.py Feat: add project_id and project_name to Langfuse API (#6481) 2025-03-25 10:36:34 +08:00
llm_app.py Fix: Hunyuan model adding error. (#6531) 2025-03-26 10:33:33 +08:00
system_app.py Feat: Add user registration toggle feature (#6327) 2025-03-21 09:38:15 +08:00
tenant_app.py Update team invite message (#4085) 2024-12-18 14:20:09 +08:00
user_app.py Feat: Add /login/channels route and improve auth logic for frontend third-party login integration (#7521) 2025-05-08 10:23:19 +08:00