Skip to content

Commit ab7bf5c

Browse files
update test sample
1 parent c7c4047 commit ab7bf5c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/code_samples/workflow_execution.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,16 @@ public class SimpleMindeeClient {
1818
// Load a file from disk
1919
LocalInputSource inputSource = new LocalInputSource(filePath);
2020

21-
// Parse the file
21+
// Send the file to a workflow
2222
WorkflowResponse.Default response = mindeeClient.executeWorkflow(
2323
workflowId,
2424
inputSource
25-
System.out.println(response.toString());
25+
26+
// Print the workflow ID.
27+
System.out.println(response.getExecution().getId());
28+
29+
// Print the inference result.
30+
// System.out.println(response.getExecution().getInference());
2631

2732
}
2833

0 commit comments

Comments
 (0)