Open OperationalFallacy opened 6 months ago
I found a few bugs, I assumed that I can simply do this and it should work
input: TaskInput.fromObject({
Token: JsonPath.taskToken,
ExecutionId: JsonPath.stringAt("$$.Execution.Id"),
Payload: JsonPath.entirePayload,
textract_features: ["TABLES", "FORMS"],
}),
I think decider_main.py ignores features field, so I tried to deployed my own patched function.
And then I found that TextractPOCDecider
construct has deciderFunction
property to setup a custom function, but it ignores it and always creates own.
Hi @OperationalFallacy
Thank you for filing this bug. I apologize for the long delay. Would you mind making a pull request?
Here's a construct:
Looking at the props:
But what "when called with a feature" means? I couldn't find how to configure it via construct props. Perhaps it should be something else, like "manifest", but that's not defined anywhere in the API. I've tried to look at the lambda functions, and gave up - the code there is not easy to understand