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);