Prechádzať zdrojové kódy

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

Jyong 1 rok pred
rodič
commit
37024afe9c
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      api/services/vector_service.py

+ 1 - 1
api/services/vector_service.py

@@ -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)