Skip to content

Commit efc09cd

Browse files
authored
📝 minor update to workflow sample
1 parent 37265d9 commit efc09cd

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docs/code_samples/workflow_polling.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ $customEndpoint = $mindeeClient->createEndpoint(
1919
"my-version"
2020
);
2121

22+
// Set the workflow options
2223
$options = new PredictMethodOptions();
2324
$options->setRAG(true)->setWorkflowId($workflowId)->setEndpoint($customEndpoint);
2425

2526
// Enqueue the file to the workflow
26-
$response = $mindeeClient->enqueueAndParse(GeneratedV1::Class, $inputSource, $options);
27-
27+
$response = $mindeeClient->enqueueAndParse(
28+
GeneratedV1::Class, $inputSource, $options
29+
);
2830

2931
echo $response->document;

0 commit comments

Comments
 (0)