Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

Jyong37024afe9c89
diff --git a/api/services/vector_service.py b/api/services/vector_service.py
index d336162baee..232d2943256 100644
--- a/api/services/vector_service.py
+++ b/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)