Extraction JSON
Extraction JSON
Here’s an example of the JSON file:
{"metadata":{"workflowMetadata":{"workflowDisplayName":"workflow_name"},"taskMetadata":{"taskDisplayName":"Invoice.pdf","taskUri":"https://staging-web- app.orby.ai/workflows/6633d1a42248b9fa50821629/tasks/6633d1d82248b9fa5082162b/automation-review","file":{"path":"https://drive.google.com/file/d/1Q- SqDNOk9orZhM7aoKfpnr89ajpTI1xp","name":"Invoice.pdf"}}},"predictions":[{"prediction":{"extraction":{"entities":[{"type":"entity","mentionText":"1","confidence":0.1120081,"normalizedValue":
{"structuredValue":null,"text":"1"}}]}},"reviews":[{"email":"user@email.com"}]}]}
Copy
JSON
Expand to view the order for JSON entities: from top to bottom and left to right
Fields are sorted based on their predicted position in the document from top to bottom and left to right. For tables (nested entities):
Nested entity children in a group are sorted left to right.
The first sorted child entity will be used to indicate its group's location when comparing with other entities or nested entity groups.
For empty fields or fields without locations, they are ordered by schema order in the workflow configuration.
Note fields are displayed after non-Note fields.
Empty fields are displayed after fields without locations
Classification JSON
Here’s an example of the generated JON file for classification workflows:
{"metadata":{"workflowMetadata":{"workflowDisplayName":"workflow_name"},"taskMetadata":{"taskDisplayName":"Receipt.pdf","taskUri":"https://staging-web- app.orby.ai/workflows/6633d6a9ca054ab9a8d42e8e/tasks/6633d87625aff99ccd87ac9a/automation-review", "file":{"path":"https://drive.google.com/file/d/1ux- THpXgZ4fSKqR3YD0mXs0gNihL0p0M","name":"Receipt.pdf"}}},"predictions":[{"prediction":{"classification":{"classificationLabel":"OrbyAI_Unknown"}},"reviews":[{"email":"user@email.com"}]}]}
Copy
JSON