Selaa lähdekoodia

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

tags/0.6.2
Jyong 1 vuosi sitten
vanhempi
commit
37024afe9c
No account linked to committer's email address
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      api/services/vector_service.py

+ 1
- 1
api/services/vector_service.py Näytä tiedosto

@@ -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…
Peruuta
Tallenna