From d21b0054b58ba55e94967d29b0bb5941628c1e34 Mon Sep 17 00:00:00 2001 From: davidmezzetti <561939+davidmezzetti@users.noreply.github.com> Date: Tue, 4 May 2021 14:27:57 -0400 Subject: [PATCH] Update pipeline example --- examples/node/src/pipelines.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/node/src/pipelines.js b/examples/node/src/pipelines.js index 40e2ffc..7d6bc30 100644 --- a/examples/node/src/pipelines.js +++ b/examples/node/src/pipelines.js @@ -35,7 +35,7 @@ const run = async () => { console.log(translation); let workflow = new Workflow(service); - let output = await workflow.workflow("sumspanish", [text]); + let output = await workflow.workflow("sumspanish", ["file:///tmp/txtai/article.pdf"]); console.log("\n---- Workflow [Extract Text->Summarize->Translate] ----"); console.log(output);