Hetavi Shah
3870f50ea5
[OND211-2329]: Added API to update team settings.
2025-11-13 17:01:57 +05:30
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
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
Hetavi Shah
b21f39fe8d
Merge remote-tracking branch 'origin/main' into feature/OND211-2329-Check-existing-REST-endponts-and-extend-with-new-requested-endpoints
2025-11-13 10:32:00 +05:30
Hetavi Shah
00b476783c
[OND211-2329]: Added create department API and tests.
2025-11-12 19:01:27 +05:30
Hetavi Shah
043b06a24d
[OND211-2329]: Updated list users and delete user API's & tests to handle auth.
2025-11-12 18:11:29 +05:30
Hetavi Shah
de8dcf49b7
[OND211-2329]: Updated create user and update user API's to handle auth.
2025-11-12 17:28:28 +05:30
Jin Hai
296476ab89
Refactor function name ( #11210 )
...
### What problem does this PR solve?
As title
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-12 19:00:15 +08:00
Hetavi Shah
d50c085196
[OND211-2329]: Removed unnecessary encryption and decryption for passswords in create user.
2025-11-11 18:50:04 +05:30
Kevin Hu
c30ffb5716
Fix: ollama model list issue. ( #11175 )
...
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-11 19:46:41 +08:00
Hetavi Shah
1d23b46ce4
[OND211-2329]: Added delete user api and tests.
2025-11-11 15:19:29 +05:30
Yongteng Lei
9213568692
Feat: add mechanism to check cancellation in Agent ( #10766 )
...
### What problem does this PR solve?
Add mechanism to check cancellation in Agent.
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-11-11 17:36:48 +08:00
Yongteng Lei
d81e4095de
Feat: Google drive supports web-based credentials ( #11173 )
...
### What problem does this PR solve?
Google drive supports web-based credentials.
<img width="1204" height="612" alt="image"
src="https://github.com/user-attachments/assets/70291c63-a2dd-4a80-ae20-807fe034cdbc "
/>
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-11-11 17:21:08 +08:00
Kevin Hu
f441f8ffc2
Fix: waitForResponse component. ( #11172 )
...
### What problem does this PR solve?
#10056
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] New Feature (non-breaking change which adds functionality)
2025-11-11 16:58:47 +08:00
Hetavi Shah
7890c3111f
[OND211-2329]: Added list_users api.
2025-11-11 13:05:27 +05:30
Kevin Hu
26cf5131c9
Fix: filter builtin llm factories. ( #11163 )
...
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-11 14:52:59 +08:00
Hetavi Shah
61b84b0302
[OND211-2329]: Updated create_user and update_user APIs and corresponding test cases to be compliant with PEP 8, Ruff, and MyPy standards.
2025-11-11 12:21:25 +05:30
Hetavi Shah
d442bf0504
[OND211-2329] : Create user api and tests, update user api and tests.
2025-11-10 19:00:24 +05:30
Yongteng Lei
df16a80f25
Feat: add initial Google Drive connector support ( #11147 )
...
### What problem does this PR solve?
This feature is primarily ported from the
[Onyx](https://github.com/onyx-dot-app/onyx ) project with necessary
modifications. Thanks for such a brilliant project.
Minor: consistently use `google_drive` rather than `google_driver`.
<img width="566" height="731" alt="image"
src="https://github.com/user-attachments/assets/6f64e70e-881e-42c7-b45f-809d3e0024a4 "
/>
<img width="904" height="830" alt="image"
src="https://github.com/user-attachments/assets/dfa7d1ef-819a-4a82-8c52-0999f48ed4a6 "
/>
<img width="911" height="869" alt="image"
src="https://github.com/user-attachments/assets/39e792fb-9fbe-4f3d-9b3c-b2265186bc22 "
/>
<img width="947" height="323" alt="image"
src="https://github.com/user-attachments/assets/27d70e96-d9c0-42d9-8c89-276919b6d61d "
/>
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-11-10 19:15:02 +08:00
Zhichang Yu
68b952abb1
Don't select vector on infinity ( #11151 )
...
### What problem does this PR solve?
Don't select vector on infinity
### Type of change
- [x] Performance Improvement
2025-11-10 18:01:40 +08:00
Kevin Hu
d207291217
Fix: add download stats to kb logs. ( #11112 )
...
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-10 13:28:07 +08:00
Kevin Hu
dd1c8c5779
Feat: add auto parse to connector. ( #11099 )
...
### What problem does this PR solve?
#10953
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-11-07 16:49:29 +08:00
Jin Hai
307f53dae8
Minor tweaks ( #11106 )
...
### What problem does this PR solve?
Refactor
### Type of change
- [x] Refactoring
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-07 15:44:57 +08:00
Kevin Hu
34283d4db4
Feat: add data source to pipleline logs . ( #11075 )
...
### What problem does this PR solve?
#10953
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-07 11:43:59 +08:00
Jin Hai
af98763e27
Admin: add 'show version' ( #11079 )
...
### What problem does this PR solve?
```
admin> show version;
show_version
+-----------------------+
| version |
+-----------------------+
| v0.21.0-241-gc6cf58d5 |
+-----------------------+
admin> \q
Goodbye!
```
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-06 19:24:46 +08:00
Billy Bao
5a8fbc5a81
Fix: Can't add more models ( #11076 )
...
### What problem does this PR solve?
Currently we cannot add any models, since factory is a string, and the
return type of get_allowed_llm_factories() is List[object]
https://github.com/infiniflow/ragflow/pull/11003
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-06 18:54:13 +08:00
Kevin Hu
3bd1fefe1f
Feat: debug sync data. ( #11073 )
...
### What problem does this PR solve?
#10953
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-06 16:48:04 +08:00
Yongteng Lei
23b81eae77
Feat: GraphRAG handle cancel gracefully ( #11061 )
...
### What problem does this PR solve?
GraghRAG handle cancel gracefully. #10997 .
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-11-06 16:12:20 +08:00
Jin Hai
f98b24c9bf
Move api.settings to common.settings ( #11036 )
...
### What problem does this PR solve?
As title
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-06 09:36:38 +08:00
Kevin Hu
cd6ed4b380
Feat: add webhook component. ( #11033 )
...
### What problem does this PR solve?
#10427
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-11-05 19:59:23 +08:00
Jin Hai
1a9215bc6f
Move some vars to globals ( #11017 )
...
### What problem does this PR solve?
As title.
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-05 14:14:38 +08:00
Wanderson Pinto dos Santos
3654ae61c1
feat: add allowed factories variable to allow admins to restrict llms users can add ( #11003 )
...
### What problem does this PR solve?
Currently, if we want to restrict the allowed factories users can use we
need to delete from the database table manually. The proposal of this PR
is to include a variable to that, if set, will restrict the LLM
factories the users can see and add. This allow us to not touch the
llm_factories.json or the database if the LLM factory is already
inserted.
Obs.: All the lint changes were from the pre-commit hook which I did not
change.
### Type of change
- [X] New Feature (non-breaking change which adds functionality)
2025-11-05 10:47:50 +08:00
Jin Hai
bab3fce136
Move some constants to common ( #11004 )
...
### What problem does this PR solve?
As title.
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-05 08:01:39 +08:00
Kevin Hu
4bbbf92331
Refa: link connector to KB. ( #10991 )
...
### What problem does this PR solve?
#10953
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-11-04 20:13:52 +08:00
Jin Hai
880a6a0428
Move some enumerate type to constants.py ( #10998 )
...
### What problem does this PR solve?
As title.
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-04 19:25:25 +08:00
Jin Hai
03038c7d3d
Update RetCode to common.constants ( #10984 )
...
### What problem does this PR solve?
1. Update RetCode to common.constants
2. Decouple the admin and API modules
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-04 15:12:53 +08:00
Jin Hai
16d2be623c
Minor tweaks ( #10987 )
...
### What problem does this PR solve?
1. Rename identifier name
2. Fix some return statement
3. Fix some typos
### Type of change
- [x] Refactoring
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-04 14:15:31 +08:00
Billy Bao
19f71a961a
Fix: Create dataset performance unmatched between HTTP api and web ui ( #10960 )
...
### What problem does this PR solve?
Fix: Create dataset performance unmatched between HTTP api and web ui
#10925
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-04 13:45:14 +08:00
Kevin Hu
3e5a39482e
Feat: Support multiple data sources synchronizations ( #10954 )
...
### What problem does this PR solve?
#10953
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-11-03 19:59:18 +08:00
Jin Hai
d008a4df9f
Move base64_image related functions to common directory ( #10957 )
...
### What problem does this PR solve?
As title
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-03 15:20:46 +08:00
Stephen Hu
b47361432a
Fix: API: chunk.update does not update positions ( #10945 )
...
### What problem does this PR solve?
https://github.com/infiniflow/ragflow/issues/10944
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2025-11-03 11:01:44 +08:00
Jin Hai
44f2d6f5da
Move 'get_project_base_directory' to common directory ( #10940 )
...
### What problem does this PR solve?
As title
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-11-02 21:05:28 +08:00
Jin Hai
f52e56c2d6
Remove 'get_lan_ip' and add common misc_utils.py ( #10880 )
...
### What problem does this PR solve?
Add get_uuid, download_img and hash_str2int into misc_utils.py
### Type of change
- [x] Refactoring
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2025-10-31 16:42:01 +08:00
buua436
5674d762f7
Feat:check embedding model api ( #10854 )
...
### What problem does this PR solve?
change:
Randomly sample `check_num` chunks from knowledge base `kb_id`, re-embed
them using `embd_id`, and compare with stored vectors via cosine
similarity. If `avg_cos_sim > 0.99`, return success (`code=0`);
otherwise return business failure (`code=10`).
url:
`/v1/kb/check_embedding`
Request Body:
```
{
"kb_id": "<dataset_id>",
"embd_id": "BAAI/bge-m3@SILICONFLOW",
"check_num": 5
}
```
Success Response:
```
{
"code": 0,
"message": "success",
"data": {
"summary": { "avg_cos_sim": 0.999999, "sampled": 5, "valid": 5, "max_cos_sim":0.999999,"min_cos_sim":0.999999,"model":"BAAI/bge-m3@SILICONFLOW" },
"results": [ ... ]
}
}
```
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2025-10-30 19:06:16 +08:00
Billy Bao
fa38aed01b
Fix: the input length exceeds the context length ( #10895 )
...
### What problem does this PR solve?
Fix: the input length exceeds the context length #10750
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2025-10-30 19:00:53 +08:00
Yongteng Lei
a3bb4aadcc
Fix: predictable token generation ( #10868 )
...
### What problem does this PR solve?
Fix predictable token generation.
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2025-10-30 09:31:36 +08:00
Liu An
40b2c48957
Chore(config): remove Youdao and BAAI embedding model providers ( #10873 )
...
### What problem does this PR solve?
This commit removes the Youdao and BAAI entries from the LLM factories
configuration as they are no longer needed or supported.
### Type of change
- [x] Config update
2025-10-29 19:38:57 +08:00
Billy Bao
55eb525fdc
Feat: rename file to avoid package name conflict ( #10863 )
...
### What problem does this PR solve?
Feat: rename file to avoid package name conflict
### Type of change
- [x] Refactoring
2025-10-29 12:19:57 +08:00