Tencent / Tencent/WeSmartFlow

希望上传重复文档时不要重复解析

Open
#29 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.1k
Forks
8
PR merge metrics
No merged PRs in 30d

Description

同一份 PDF 有时会被重复上传,尤其是改了文件名之后。可以对文件内容做 hash,发现重复时提示“已上传过”,让用户复用之前的解析结果。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the PDF upload and parsing flow to find where uploaded content is stored and parsing begins. Add duplicate detection based on file content rather than filename, then show the “已上传过” prompt and reuse the earlier parsing result. Verify that uploading the same PDF under a different filename does not trigger parsing again.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.