liu an
0fbca63e9d
Test: Configure test case priorities to reduce CI execution time (#7532)
### What problem does this PR solve?
Configure test case priorities to reduce CI execution time
### Type of change
- [x] Test cases update
преди 6 месеца
liu an
c98933499a
refa: Optimize create dataset validation (#7451)
### What problem does this PR solve?
Optimize dataset validation and add function docs
### Type of change
- [x] Refactoring
преди 6 месеца
liu an
fc379e90d1
Fix: change create dataset htto api delimiter default value to r'\n' (#7434)
### What problem does this PR solve?
change create dataset delimiter default value to r'\n'
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
преди 6 месеца
liu an
1f82889001
Fix: create dataset remove unnecessary parameter constraints (#7432)
### What problem does this PR solve?
Remove unnecessary parameter restrictions in dataset creation API
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
преди 6 месеца
liu an
e6c824e606
Test: Update tests to use new fixture instead of deprecated one (#7431)
### What problem does this PR solve?
Deprecate get_dataset_id_and_document_id fixture, use add_document
instead
### Type of change
- [x] Update test cases
преди 6 месеца
liu an
78380fa181
Refa: http API create dataset and test cases (#7393)
### What problem does this PR solve?
This PR introduces Pydantic-based validation for the create dataset HTTP
API, improving code clarity and robustness. Key changes include:
1. Pydantic Validation
2. Error Handling
3. Test Updates
4. Documentation
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] Documentation Update
- [x] Refactoring
преди 6 месеца
Kevin Hu
c7310f7fb2
Refa: similarity calculations. (#7381)
### What problem does this PR solve?
### Type of change
- [x] Refactoring
преди 6 месеца
Yongteng Lei
94181a990b
Refa: knowledge_graph chunk method is deprecated (#7220)
### What problem does this PR solve?
The knowledge_graph chunk method is deprecated and should no longer be
used. #7184 .
### Type of change
- [x] Refactoring
преди 6 месеца
Yongteng Lei
67dee2d74e
Fix: fix retrieval tesing wrong pagination (#7174)
### What problem does this PR solve?
Fix retrieval testing wrong pagination. #7171
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
---------
Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
преди 6 месеца
liu an
e5f9d148e7
Test: Added test cases for Delete Sessions With Chat Assistant HTTP API (#7025)
### What problem does this PR solve?
cover [Delete chat assistant's
sessions](https://ragflow.io/docs/dev/http_api_reference#delete-chat-assistants-sessions )
endpoints
### Type of change
- [x] Add test cases
преди 6 месеца
liu an
9b789c2ae9
Test: Added test cases for Update Session With Chat Assistant HTTP API (#6968)
### What problem does this PR solve?
cover [Update chat assistant's
sessions](https://ragflow.io/docs/dev/http_api_reference#update-chat-assistants-session )
endpoints
### Type of change
- [x] Update test cases
преди 6 месеца
liu an
ffb9f01bea
Test: Update test cases for PR 6906 ISSUE 6875 (#6971)
### What problem does this PR solve?
PR #6906 ISSUE #6875
### Type of change
- [ ] Update test cases
преди 6 месеца
liu an
dc59aba132
Test: Added test cases for List Sessions With Chat Assistant HTTP API (#6938)
### What problem does this PR solve?
cover [List chat assistant's
sessions](https://ragflow.io/docs/dev/http_api_reference#list-chat-assistants-sessions )
endpoints
### Type of change
- [x] Update test cases
преди 7 месеца
liu an
8fb5edd927
Test: Update test cases for PR 6906 (#6929)
### What problem does this PR solve?
PR #6906
### Type of change
- [x] Update test cases
преди 7 месеца
Kevin Hu
3bb1e012e6
Fix: assistant deleteion issue. (#6906)
### What problem does this PR solve?
#6875
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
преди 7 месеца
liu an
22758a2763
Test: Update test cases for PR 6888 ISSUE 6876 (#6907)
### What problem does this PR solve?
PR #6888 ISSUE #6876
### Type of change
- [x] Update test case
преди 7 месеца
liu an
ae107f31d9
Test: Added test cases for Create Session With Chat Assistant HTTP API (#6902)
### What problem does this PR solve?
cover [create session with chat
assistant](https://ragflow.io/docs/dev/http_api_reference#create-session-with-chat-assistant )
endpoints
### Type of change
- [x] add test cases
преди 7 месеца
liu an
c26c38ee12
Test: Added test cases for Delete Chat Assistants HTTP API (#6879)
### What problem does this PR solve?
cover [delete chat
assistants](https://ragflow.io/docs/dev/http_api_reference#delete-chat-assistants )
endpoints
### Type of change
- [x] add test cases
преди 7 месеца
liu an
a1fb32908d
Fix: Error message is incorrect when updating chat name #6850 (#6851)
### What problem does this PR solve?
#6850
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
преди 7 месеца
liu an
0b89458eb8
Test: Added test cases for Update Chat Assistant HTTP API (#6843)
### What problem does this PR solve?
cover [update chat
assistant](https://ragflow.io/docs/v0.17.2/http_api_reference#update-chat-assistant )
endpoints
### Type of change
- [x] add test cases
преди 7 месеца
liu an
2a5ad74ac6
Test: Update test cases for #6800 (#6804)
### What problem does this PR solve?
update test case for PR #6800 issue #6539
### Type of change
- [x] update test cases
преди 7 месеца
liu an
b213e88cca
Test: Added test cases for List Chat Assistants HTTP API (#6792)
### What problem does this PR solve?
cover [list chat
assistant](https://ragflow.io/docs/v0.17.2/http_api_reference#list-chat-assistants )
endpoints
### Type of change
- [x] add test cases
преди 7 месеца
liu an
58f8026632
Test: Update test cases for PR #6643 (#6766)
### What problem does this PR solve?
Update test cases for PR #6643 issue #6607
### Type of change
- [x] update test cases
преди 7 месеца
liwenju0
a73fbc61ff
Fix: Handle the case of deleting empty blocks. Update the relevant message (#6643)
…gic to return the correct deletion message. Add handling for empty
arrays to ensure no errors occur during the deletion operation. Update
the test cases to verify the new logic.
### What problem does this PR solve?
fix this bug:https://github.com/infiniflow/ragflow/issues/6607
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
---------
Co-authored-by: wenju.li <wenju.li@deepctr.cn>
преди 7 месеца
liu an
0d1c5fdd2f
Test: Added test cases for Create Chat Assistant HTTP API (#6763)
### What problem does this PR solve?
cover [create chat
assistant](https://ragflow.io/docs/v0.17.2/http_api_reference#create-chat-assistant )
endpoints
### Type of change
- [x] add test cases
преди 7 месеца
liu an
3ae1e9e3c4
Test: Skip test case for PR 6443 (#6724)
### What problem does this PR solve?
Skip test case for PR #6443
### Type of change
- [x] update test cases
преди 7 месеца
liu an
58e6e7b668
Test: Refactor test fixtures and test cases (#6709)
### What problem does this PR solve?
Refactor test fixtures and test cases
### Type of change
- [ ] Refactoring test cases
преди 7 месеца
Kevin Hu
7d9dd1e5d3
Refa: remove default build-in rerank model. (#6682)
### What problem does this PR solve?
### Type of change
- [x] Refactoring
- [x] Performance Improvement
преди 7 месеца
liu an
aca4cf4369
Test: Added test cases for Retrieval Chunks HTTP API (#6649)
### What problem does this PR solve?
cover [retrieval
chunk](https://ragflow.io/docs/v0.17.2/http_api_reference#retrieve-chunks )
endpoints
### Type of change
- [x] add test cases
преди 7 месеца
Kevin Hu
1fbc4870f0
Fix: HTTP API delete_chunks issue. (#6621)
### What problem does this PR solve?
#6611
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
преди 7 месеца
liu an
fd614a7aef
Test: Added test cases for Delete Chunks HTTP API (#6612)
### What problem does this PR solve?
_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._
### Type of change
- [x] add test cases
преди 7 месеца
liu an
6599db1e99
Test: Update test cases for PR #6405 #6504 #6538 (#6565)
### What problem does this PR solve?
PR #6405 #6504 #6538
### Type of change
- [x] update test cases
преди 7 месеца
liu an
93c26ae1ef
Test: Added test cases for Update Chunk HTTP API (#6556)
### What problem does this PR solve?
cover [update
chunk](https://ragflow.io/docs/v0.17.2/http_api_reference#update-chunk )
endpoints
### Type of change
- [x] add test cases
преди 7 месеца
liu an
0a79dfd5cf
Test: Added test cases for List Chunks HTTP API (#6514)
### What problem does this PR solve?
cover [list
chunks](https://ragflow.io/docs/v0.17.2/http_api_reference#list-chunks )
endpoints
### Type of change
- [x] update test cases
преди 7 месеца
liu an
27989eb9a5
Test: Add list chunk checkpoint for the add chunk API (#6482)
### What problem does this PR solve?
Add list chunk checkpoint for the add chunk API
### Type of change
- [x] update test cases
преди 7 месеца
liu an
b6f3242c6c
Test: Update test cases to reduce execution time (#6470)
### What problem does this PR solve?
_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._
### Type of change
- [x] update test cases
преди 7 месеца
liu an
0b63346a1a
Test: Update test case for #6081 (#6446)
### What problem does this PR solve?
Update test case for #6081
### Type of change
- [x] Update test case
преди 7 месеца
liu an
e4c8d703b5
Test: Update test cases for PR #6194 #6259 #6376 (#6444)
### What problem does this PR solve?
PR #6194 #6259 #6376
### Type of change
- [x] Update test cases
преди 7 месеца
liu an
8eefc8b5fe
Test: Added test cases for Add Chunk HTTP API (#6408)
### What problem does this PR solve?
cover [add
chunk](https://ragflow.io/docs/v0.17.2/http_api_reference#add-chunk )
endpoints
### Type of change
- [x] Add test cases
преди 7 месеца
hy89
1d9ca172e3
Fix(api): correct document parsing progress check logic (#6318)
- Fix incorrect progress check condition that prevented re-parsing of
completed documents
- Allow parsing for documents with progress 0.0 (not started) or 1.0
(completed)
- Only block parsing for documents currently in progress (0.0 < progress
< 1.0)
Close #6312
---------
Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
преди 7 месеца
liu an
4eb3a8e1cc
Test: Skip unstable 'stop parse documents' test cases (#6310)
### What problem does this PR solve?
Skip unstable 'stop parse documents' test cases
### Type of change
- [x] update test cases
преди 7 месеца
liu an
dbf2ee56c6
Test: Added test cases for Stop Parse Documents HTTP API (#6285)
### What problem does this PR solve?
cover [stop parse
documents](https://ragflow.io/docs/dev/http_api_reference#stop-parsing-documents )
endpoints
### Type of change
- [x] Add test cases
преди 7 месеца
Kevin Hu
c2302abaf1
Fix: remove dup ids for APIs. (#6263)
### What problem does this PR solve?
#6234
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
преди 7 месеца
Kevin Hu
41e112294b
Fix: let parsing continue. (#6259)
### What problem does this PR solve?
#6229
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
преди 7 месеца
liu an
d16033dd2c
Fix: #5719 Added type check for parser_config (#6243)
### What problem does this PR solve?
Fix #5719
Add data type validation for parser_config
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
преди 7 месеца
liu an
9515ed401f
Test: Added test cases for Parse Documents HTTP API (#6235)
### What problem does this PR solve?
cover [parse
documents](https://ragflow.io/docs/dev/http_api_reference#parse-documents )
endpoints
### Type of change
- [x] add test cases
преди 7 месеца
Kevin Hu
e9a6675c40
Fix: enable ollama api-key. (#6205)
### What problem does this PR solve?
#6189
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
преди 7 месеца
Kevin Hu
222a2c8fa5
Docs: rm max token (#6202)
### What problem does this PR solve?
#6178
### Type of change
- [x] Documentation Update
преди 7 месеца
liu an
503e5829bb
Test: Added test cases for Delete Documents HTTP API (#6175)
### What problem does this PR solve?
cover [delete
documents](https://ragflow.io/docs/dev/http_api_reference#delete-documents )
endpoints
### Type of change
- [x] add test cases
преди 7 месеца
liu an
45fe02c8b3
Test: update test cases per pr #6144 (#6166)
### What problem does this PR solve?
fix check point per pr #6144
### Type of change
- [x] update test case
преди 7 месеца