@docupace/pipeline 1.0.0-alpha.70 → 1.0.0-alpha.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docupace/pipeline",
3
- "version": "1.0.0-alpha.70",
3
+ "version": "1.0.0-alpha.71",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -198,7 +198,7 @@ program
198
198
  ],
199
199
  });
200
200
 
201
- const assistantResponse = openAiResponse.data.choices[0].message.content;
201
+ const assistantResponse = openAiResponse.choices[0].message.content;
202
202
  const parsedResponse = JSON.parse(assistantResponse);
203
203
 
204
204
  const { change_type } = parsedResponse;