mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 18:45:56 +08:00
fix issue: user’s keywords do not affect when add segment (#3349)
This commit is contained in:
parent
18b855140d
commit
37024afe9c
@ -34,7 +34,7 @@ class VectorService:
|
|||||||
keyword = Keyword(dataset)
|
keyword = Keyword(dataset)
|
||||||
|
|
||||||
if keywords_list and len(keywords_list) > 0:
|
if keywords_list and len(keywords_list) > 0:
|
||||||
keyword.add_texts(documents, keyword_list=keywords_list)
|
keyword.add_texts(documents, keywords_list=keywords_list)
|
||||||
else:
|
else:
|
||||||
keyword.add_texts(documents)
|
keyword.add_texts(documents)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user