mirror of
https://github.com/langgenius/dify.git
synced 2026-04-13 14:48:11 +08:00
Correct value knowledge_index to align with NodeType.KNOWLEDGE_INDEX.value (#25180)
This commit is contained in:
parent
fae6d4f2dd
commit
1a81c79852
@ -424,7 +424,7 @@ class RagPipelineDslService:
|
||||
nodes = graph.get("nodes", [])
|
||||
dataset_id = None
|
||||
for node in nodes:
|
||||
if node.get("data", {}).get("type") == "knowledge_index":
|
||||
if node.get("data", {}).get("type") == "knowledge-index":
|
||||
knowledge_configuration = KnowledgeConfiguration(**node.get("data", {}))
|
||||
if not dataset:
|
||||
dataset = Dataset(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user