fix issue: user’s keywords do not affect when add segment (#3349)

pull/3356/head
Jyong 2 years ago committed by GitHub
parent 18b855140d
commit 37024afe9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -34,7 +34,7 @@ class VectorService:
keyword = Keyword(dataset)
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:
keyword.add_texts(documents)

Loading…
Cancel
Save