mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-05-31 10:35:24 +08:00
fix graph bug about second retrieval (#1688)
### What problem does this PR solve? #1651 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
d96348eb22
commit
fdfa5d0ad4
@ -470,7 +470,10 @@ class ComponentBase(ABC):
|
||||
break
|
||||
|
||||
if upstream_outs:
|
||||
return pd.concat(upstream_outs, ignore_index=False)
|
||||
df = pd.concat(upstream_outs, ignore_index=True)
|
||||
if "content" in df:
|
||||
df = df.drop_duplicates(subset=['content']).reset_index(drop=True)
|
||||
return df
|
||||
return pd.DataFrame()
|
||||
|
||||
def get_stream_input(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user