Skip to content
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

Updated FAQ #3536

Closed
wants to merge 5 commits into from
Closed

Updated FAQ #3536

wants to merge 5 commits into from

Commits on Nov 19, 2024

  1. Add test for document (infiniflow#3497)

    ### 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]>
    3 people authored Nov 19, 2024
    Configuration menu
    Copy the full SHA
    b071797 View commit details
    Browse the repository at this point in the history
  2. fix: laws.py added missing import logging (infiniflow#3501)

    ### 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]>
    michalmasrna1 and Michal Masrna authored Nov 19, 2024
    Configuration menu
    Copy the full SHA
    b1001bf View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2024

  1. Fix bugs (infiniflow#3502)

    ### 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]>
    JinHai-CN authored Nov 20, 2024
    Configuration menu
    Copy the full SHA
    f424f19 View commit details
    Browse the repository at this point in the history
  2. fix synonym bug (infiniflow#3506)

    ### What problem does this PR solve?
    
    ### Type of change
    
    - [x] Bug Fix (non-breaking change which fixes an issue)
    KevinHuSh authored Nov 20, 2024
    Configuration menu
    Copy the full SHA
    36e75b3 View commit details
    Browse the repository at this point in the history
  3. Updated FAQ

    writinwaters committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    8815e64 View commit details
    Browse the repository at this point in the history