-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
False
-
False
-
Undefined
-
-
The UI is not showing the inputs for a decision. See https://kie.zulipchat.com/#narrow/stream/232681-trusty-ai/topic/general/near/239605755
The trusty service returns structured Inputs
Jacopo Rota: The structuredInputs response from the trusty service is
{{
,{"kind":"STRUCTURE","name":"Borrower","typeRef":"tBorrower","components":[
{"kind":"UNIT","name":"Monthly Other Debt","typeRef":"number","components":[],"value":1000.0},{"kind":"UNIT","name":"Monthly Income","typeRef":"number","components":[],"value":10000.0}],"value":null},{"kind":"UNIT","name":"Loan Amount","typeRef":"number","components":[],"value":300000.0},{"kind":"UNIT","name":"Credit Score","typeRef":"tCreditScore","components":[],"value":600.0},{"kind":"UNIT","name":"Best Rate","typeRef":"number","components":[],"value":0.03}]}}}
But if the kind is UNIT, components should be null.