Commit graph

1210 commits

Author SHA1 Message Date
Hetavi Shah
55e0ace936 [OND211-2329]: Updated add users API and tests to add users with a role(invite/normal/admin). 2025-11-27 15:30:43 +05:30
Hetavi Shah
ce8862e68c [OND211-2329]: Updated import statements order. 2025-11-25 19:08:10 +05:30
Hetavi Shah
e462d5f23a [OND211-2329]: Updated permissions API and added tests. 2025-11-24 19:12:14 +05:30
Hetavi Shah
13b8f0cf41 [OND211-2329]: Allowed users to demote themselves from admin. 2025-11-24 16:44:56 +05:30
Hetavi Shah
b20737c4ad Merge remote-tracking branch 'origin/main' into feature/OND211-2329-Check-existing-REST-endponts-and-extend-with-new-requested-endpoints 2025-11-24 12:28:29 +05:30
Billy Bao
1009819801
Fix: coroutine object has no attribute get (#11472)
### What problem does this PR solve?

Fix: coroutine object has no attribute get

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-24 12:21:33 +08:00
Hetavi Shah
ed886ffe32 [OND211-2329]: Allow only team owners to promote/demote admins. 2025-11-21 19:12:00 +05:30
Hetavi Shah
89d27c75b6 [OND211-2329]: Added permissions for team users to CRUD on datasets and agents. 2025-11-21 19:11:11 +05:30
Hetavi Shah
60a6265b86 [OND211-2329]: Updated permission on dataset and canvas to share to a specific team. 2025-11-21 16:58:00 +05:30
Kevin Hu
249296e417
Feat: API supports toc_enhance. (#11437)
### What problem does this PR solve?

Close #11433

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2025-11-21 14:51:58 +08:00
Hetavi Shah
4c3db69e91 Merge remote-tracking branch 'origin/main' into feature/OND211-2329-Check-existing-REST-endponts-and-extend-with-new-requested-endpoints 2025-11-21 11:15:23 +05:30
Hetavi Shah
cd0dc1344e [OND211-2329]: Removed Department and group modules. 2025-11-21 11:08:17 +05:30
Kevin Hu
820934fc77
Fix: no result if metadata returns none. (#11412)
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-20 19:51:25 +08:00
Kevin Hu
06cef71ba6
Feat: add or logic operations for meta data filters. (#11404)
### What problem does this PR solve?

#11376 #11387

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2025-11-20 14:31:12 +08:00
Hetavi Shah
d5dcb4408e [OND211-2329]: Updated remove member from team API and tests. 2025-11-20 11:31:51 +05:30
buua436
7c6d30f4c8
Fix:RagFlow not starting with Postgres DB (#11398)
### What problem does this PR solve?
issue:
#11293 
change:
RagFlow not starting with Postgres DB
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-20 12:49:13 +08:00
天海蒼灆
9f715d6bc2
Feature (canvas): Add mind tagging support (#11359)
### What problem does this PR solve?
Resolve the issue of missing thinking labels when viewing pre-existing
conversations
### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2025-11-20 10:11:28 +08:00
Kevin Hu
c43bf1dcf5
Fix: refine error msg. (#11380)
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-19 19:10:45 +08:00
Hetavi Shah
1ce52f07ff [OND211-2329]: Updated create user API to handle encrypted passwords, as register/login(aleady existing ones) API does. 2025-11-19 16:13:28 +05:30
Kevin Hu
1c201c4d54
Fix: circle imports issue. (#11374)
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-19 16:13:21 +08:00
Hetavi Shah
23915dd537 [OND211-2329]: Added group model and API endpoint's 2025-11-19 12:50:56 +05:30
Hetavi Shah
3d02d93227 [OND211-2329]: Updated import statements alignment. 2025-11-19 11:05:30 +05:30
Jin Hai
d1dcf3b43c
Refactor /stats API (#11363)
### What problem does this PR solve?

One loop to get better performance

### Type of change

- [x] Refactoring

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-19 12:27:45 +08:00
Hetavi Shah
c38ec24b08 [OND211-2329]: Added few tests for department API and updated typings. 2025-11-18 18:47:36 +05:30
Kevin Hu
d1716d865a
Feat: Alter flask to Quart for async API serving. (#11275)
### What problem does this PR solve?

#11277

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2025-11-18 17:05:16 +08:00
Yongteng Lei
341e5904c8
Fix: No results can be found through the API /api/v1/dify/retrieval (#11338)
### What problem does this PR solve?

No results can be found through the API /api/v1/dify/retrieval. #11307 

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-18 15:42:31 +08:00
buua436
ded9bf80c5
Fix:limit random sampling range in check_embedding (#11337)
### What problem does this PR solve?
issue:
[#11319](https://github.com/infiniflow/ragflow/issues/11319)
change:
limit random sampling range in check_embedding

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-18 15:24:27 +08:00
Hetavi Shah
f3dd4bd8ed [OND211-2329]: updated the create and update user API's to handle security. 2025-11-18 12:27:13 +05:30
Hetavi Shah
feb6a3a0df [OND211-2329]: updated the create and update user API's to handle edge cases. 2025-11-18 12:16:55 +05:30
buua436
912b6b023e
fix: update check_embedding failed info (#11321)
### What problem does this PR solve?
change:
update check_embedding failed info

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-18 09:39:45 +08:00
Hetavi Shah
7a8bba853b [OND211-2329]: Added API to list users in a department. 2025-11-17 17:37:01 +05:30
Hetavi Shah
a0204b0bc5 [OND211-2329]: Added API to delete department. 2025-11-17 17:10:04 +05:30
Hetavi Shah
ab88159186 [OND211-2329]: Added API to update department. 2025-11-17 16:52:14 +05:30
Hetavi Shah
83bf319ea8 [OND211-2329]: Added API to promote/demote team admins. 2025-11-17 16:51:28 +05:30
Jin Hai
bd4bc57009
Refactor: move mcp connection utilities to common (#11304)
### What problem does this PR solve?

As title

### Type of change

- [x] Refactoring

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-17 15:34:17 +08:00
Billy Bao
0569b50fed
Fix: create dataset return type inconsistent (#11272)
### What problem does this PR solve?

Fix: create dataset return type inconsistent #11167 
 
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-17 15:27:19 +08:00
Scott Davidson
6b64641042
Fix: default model base url extraction logic (#11263)
### What problem does this PR solve?

Fixes an issue where default models which used the same factory but
different base URLs would all be initialised with the default chat
model's base URL and would ignore e.g. the embedding model's base URL
config.

For example, with the following service config, the embedding and
reranker models would end up using the base URL for the default chat
model (i.e. `llm1.example.com`):

```yaml
ragflow:
  service_conf:
    user_default_llm:
      factory: OpenAI-API-Compatible
      api_key: not-used
      default_models:
        chat_model:
          name: llm1
          base_url: https://llm1.example.com/v1
        embedding_model:
          name: llm2
          base_url: https://llm2.example.com/v1
        rerank_model:
          name: llm3
          base_url: https://llm3.example.com/v1/rerank

  llm_factories:
    factory_llm_infos:
    - name: OpenAI-API-Compatible
      logo: ""
      tags: "LLM,TEXT EMBEDDING,SPEECH2TEXT,MODERATION"
      status: "1"
      llm:
        - llm_name: llm1
          base_url: 'https://llm1.example.com/v1'
          api_key: not-used
          tags: "LLM,CHAT,IMAGE2TEXT"
          max_tokens: 100000
          model_type: chat
          is_tools: false

        - llm_name: llm2
          base_url: https://llm2.example.com/v1
          api_key: not-used
          tags: "TEXT EMBEDDING"
          max_tokens: 10000
          model_type: embedding

        - llm_name: llm3
          base_url: https://llm3.example.com/v1/rerank
          api_key: not-used
          tags: "RERANK,1k"
          max_tokens: 10000
          model_type: rerank
```

### Type of change

- [X] Bug Fix (non-breaking change which fixes an issue)
2025-11-17 14:21:27 +08:00
Hetavi Shah
f3966d22df [OND211-2329]: Updated the create team API to handle -ve credit score. 2025-11-17 10:57:02 +05:30
Jin Hai
61cf430dbb
Minor tweats (#11271)
### What problem does this PR solve?

As title.

### Type of change

- [x] Refactoring

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-16 19:29:20 +08:00
Hetavi Shah
7253068b0f [OND211-2329]: Added department model and API to create department, add members to a department and remove members from a department. 2025-11-14 19:13:17 +05:30
Billy Bao
68e3b33ae4
Feat: extract message output to file (#11251)
### What problem does this PR solve?

Feat: extract message output to file

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2025-11-14 19:52:11 +08:00
Lynn
b5f2cf16bc
Fix: check task executor alive and display status (#11270)
### What problem does this PR solve?

Correctly check task executor alive and display status.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-14 15:52:28 +08:00
Hetavi Shah
3870f50ea5 [OND211-2329]: Added API to update team settings. 2025-11-13 17:01:57 +05:30
buua436
e8f1a245a6
Feat:update check_embedding api (#11254)
### What problem does this PR solve?
pr: 
#10854
change:
update check_embedding api

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2025-11-13 18:48:25 +08:00
Hetavi Shah
060ec782fc [OND211-2329]: Updatd API's to add users to a team, remove users from a team and accept/reject team joining invitation. 2025-11-13 16:03:22 +05:30
Hetavi Shah
ed7b44f2b8 [OND211-2329]: Updatd API's to add users to a team, remove users from a team and accept/reject team joining invitation. 2025-11-13 16:02:58 +05:30
Jin Hai
70a0f081f6
Minor tweaks (#11249)
### What problem does this PR solve?

Fix some IDE warnings

### Type of change

- [x] Refactoring

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-13 16:11:07 +08:00
buua436
871055b0fc
Feat:support API for generating knowledge graph and raptor (#11229)
### What problem does this PR solve?
issue:
[#11195](https://github.com/infiniflow/ragflow/issues/11195)
change:
support API for generating knowledge graph and raptor

### Type of change
- [x] New Feature (non-breaking change which adds functionality)
- [x] Documentation Update
2025-11-13 15:17:52 +08:00
Hetavi Shah
b388a3dca0 [OND211-2329]: Added API and tests to add/remove users in a team. 2025-11-13 12:42:27 +05:30
Hetavi Shah
d7b9925b8c [OND211-2329]: Updated team creation API to allow only added models as defaults for a team. 2025-11-13 11:28:14 +05:30