Skip to content

Commit

Permalink
fix(openai): add sample result expression to element template
Browse files Browse the repository at this point in the history
  • Loading branch information
chillleader committed Mar 29, 2023
1 parent a6166d6 commit 28390c9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions connectors/openai/element-templates/openai-connector.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
"id": "connectors",
"name": "Connectors"
},
"appliesTo": [
"bpmn:Task"
],
"appliesTo": ["bpmn:Task"],
"elementType": {
"value": "bpmn:ServiceTask"
},
Expand Down Expand Up @@ -318,6 +316,7 @@
"group": "output",
"type": "Text",
"feel": "required",
"value": "={openAiResponse: response.body}",
"binding": {
"type": "zeebe:taskHeader",
"key": "resultExpression"
Expand Down Expand Up @@ -354,4 +353,4 @@
}
}
]
}
}

0 comments on commit 28390c9

Please sign in to comment.