Просмотр исходного кода

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)
tags/v0.18.0
Kevin Hu 7 месяцев назад
Родитель
Сommit
8157285a79
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      agent/component/retrieval.py

+ 1
- 1
agent/component/retrieval.py Просмотреть файл

@@ -108,6 +108,6 @@ class Retrieval(ComponentBase, ABC):
df["content"] = df["content_with_weight"]
del df["content_with_weight"]
logging.debug("{} {}".format(query, df))
return df
return df.dropna()



Загрузка…
Отмена
Сохранить