parent
3acaa59885
commit
00f0b569cc
6 changed files with 80 additions and 85 deletions
|
|
@ -76,6 +76,7 @@ class ParagraphIndexProcessor(BaseIndexProcessor):
|
|||
if dataset.indexing_technique == "high_quality":
|
||||
vector = Vector(dataset)
|
||||
vector.create(documents)
|
||||
with_keywords = False
|
||||
if with_keywords:
|
||||
keywords_list = kwargs.get("keywords_list")
|
||||
keyword = Keyword(dataset)
|
||||
|
|
@ -91,6 +92,7 @@ class ParagraphIndexProcessor(BaseIndexProcessor):
|
|||
vector.delete_by_ids(node_ids)
|
||||
else:
|
||||
vector.delete()
|
||||
with_keywords = False
|
||||
if with_keywords:
|
||||
keyword = Keyword(dataset)
|
||||
if node_ids:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue