@docupace/pipeline 1.0.0-alpha.66 → 1.0.0-alpha.67

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.66",
3
+ "version": "1.0.0-alpha.67",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -149,7 +149,7 @@ program
149
149
  apiKey: process.env['OPENAI_API_KEY'],
150
150
  });
151
151
 
152
- const openAiResponse = await openaiClient.createChatCompletion({
152
+ const openAiResponse = await openaiClient.chat.completions.create({
153
153
  model: "gpt-4",
154
154
  messages: [
155
155
  {