You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should be a recursive GUI configuration for composite type tasks. The following story would show a basic interface...
importReactfrom"react"import{storiesOf}from"@storybook/react"import{action}from"@storybook/addon-actions"importCompositeConfigurationfrom"./"storiesOf("CompositeConfiguration",module).add("Basic",()=>(<CompositeConfigurationonSaveTaskOutputItem={action("CompositeConfiguration")}interface={{type: "composite",fields: [{"fieldName": "Field 1","interface": {"type": "image_segmentation"}},{"fieldName": "Field 2","interface": {"type": "audio_transcription"}},]description: "This is an **audio transcription** description."}}/>))
I'm not sure what taskData or taskOutput is supposed to look like, other than the keys of each taskOutput should be the field name e.g. taskOutput[0]["Field 1"] is the output from Field 1.
The text was updated successfully, but these errors were encountered:
There should be a recursive GUI configuration for composite type tasks. The following story would show a basic interface...
taskData
ortaskOutput
is supposed to look like, other than the keys of eachtaskOutput
should be the field name e.g.taskOutput[0]["Field 1"]
is the output from Field 1.The text was updated successfully, but these errors were encountered: