Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Update workflow example application

davidmezzettia5f1f9af471d
diff --git a/examples/workflows.py b/examples/workflows.py
index 6e9e843b..e0dc64ec 100644
--- a/examples/workflows.py
+++ b/examples/workflows.py
@@ -386,11 +386,11 @@ class Application:
tasks.append(Task(lambda x: self.pipelines["summary"](x, **self.components["summary"])))
elif wtype == "tabular":
- self.pipelines[wtype] = Tabular(**self.components["tabular"])
+ self.pipelines[wtype] = Tabular(**self.components[wtype])
tasks.append(Task(self.pipelines[wtype]))
elif wtype == "textractor":
- self.pipelines[wtype] = Textractor(**self.components["textract"])
+ self.pipelines[wtype] = Textractor(**self.components[wtype])
tasks.append(UrlTask(self.pipelines[wtype]))
elif wtype == "transcription":