-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RAGFlow streaming output suggestions #3738 #3881
Open
lizheng419
wants to merge
95
commits into
infiniflow:main
Choose a base branch
from
lizheng419:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### What problem does this PR solve? Add test for document ### Type of change - [x] New Feature (non-breaking change which adds functionality) --------- Co-authored-by: liuhua <[email protected]> Co-authored-by: Kevin Hu <[email protected]>
### What problem does this PR solve? _Choosing Laws Chunk Method results in an error when parsing a document. The error is caused by a missing import in the `laws.py` file._ ``` Traceback (most recent call last): File "/ragflow/rag/svr/task_executor.py", line 445, in handle_task do_handle_task(task) File "/ragflow/rag/svr/task_executor.py", line 384, in do_handle_task cks = build(r) ^^^^^^^^ File "/ragflow/rag/svr/task_executor.py", line 196, in build cks = chunker.chunk(row["name"], binary=binary, from_page=row["from_page"], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/ragflow/rag/app/laws.py", line 161, in chunk for txt, poss in pdf_parser(filename if not binary else binary, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/ragflow/rag/app/laws.py", line 124, in __call__ logging.debug("layouts:".format( ^^^^^^^ NameError: name 'logging' is not defined. Did you forget to import 'logging' ``` ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) - [ ] New Feature (non-breaking change which adds functionality) - [ ] Documentation Update - [ ] Refactoring - [ ] Performance Improvement - [ ] Other (please describe): Co-authored-by: Michal Masrna <[email protected]>
### What problem does this PR solve? 1. Remove unused code 2. Fix type mismatch, in nlp search and infinity search interface 3. Fix chunk list, get all chunks of this user. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --------- Signed-off-by: jinhai <[email protected]>
### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
### What problem does this PR solve? infiniflow#3499 ### Type of change - [x] Performance Improvement
…#3508) ### What problem does this PR solve? feat: Add Datasets component to home page infiniflow#3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
### What problem does this PR solve? infiniflow#3511 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
### What problem does this PR solve? Added kb_id filter to knn. Fix infiniflow#3458 - [x] Bug Fix (non-breaking change which fixes an issue)
### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
### What problem does this PR solve? ### Type of change - [x] Refactoring
### What problem does this PR solve? Fix set_output type hint ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
# Conflicts: # api/apps/tenant_app.py
# Conflicts: # sdk/python/test/test_data/test.docx # sdk/python/test/test_data/test.jpg # sdk/python/test/test_data/test.pdf # sdk/python/test/test_data/test.ppt # sdk/python/test/test_data/test.xlsx
…ote_lz # Conflicts: # rag/llm/chat_model.py
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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