mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-07-06 20:55:13 +08:00
Fix: Nan response for retrieval component. (#6265)
### What problem does this PR solve? #6247 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
c6e1a2ca8a
commit
8157285a79
@ -108,6 +108,6 @@ class Retrieval(ComponentBase, ABC):
|
|||||||
df["content"] = df["content_with_weight"]
|
df["content"] = df["content_with_weight"]
|
||||||
del df["content_with_weight"]
|
del df["content_with_weight"]
|
||||||
logging.debug("{} {}".format(query, df))
|
logging.debug("{} {}".format(query, df))
|
||||||
return df
|
return df.dropna()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user