ECA Augmentor result outputs array

Created on 10 June 2024, 8 months ago
Updated 12 September 2024, 4 months ago

Problem/Motivation

I am in the process of creating an Azure OpenAI Augmentor and have been noticing differences between the output of ECA Augmentor Minimal Content Item vs the Augmentor Default Widget when it comes to the result output. In my situation, when trying to use the ECA Action I receive an "Array" as the output of a field where I would expect a sentence of text.

It looks like by default, if you use the Augmentor Default Widget, it will automatically reset the array to index 0 (so it works as expected).

But this is not the case for the result from the ECA action, as shown below. You can see the value is actually an array, which results in the set field being displayed as "Array".

Steps to reproduce

  1. Install Augmentor / Azure OpenAI Augmentor β†’ / BPMN.io
  2. Create a new augmentor with a standard prompt to generate a site description and follow the below ECA diagram. This essentially uses the title and body field to generate a new value in the summary field.

Proposed resolution

If we reset the array like we do with the javascript it seems to solve the issue. I want to make sure I am not missing something silly here.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States j-barnes

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024