@docupace/pipeline 1.0.0-alpha.66 → 1.0.0-alpha.68
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 +1 -1
- package/src/changeset/cli.js +2 -2
package/package.json
CHANGED
package/src/changeset/cli.js
CHANGED
|
@@ -149,7 +149,7 @@ program
|
|
|
149
149
|
apiKey: process.env['OPENAI_API_KEY'],
|
|
150
150
|
});
|
|
151
151
|
|
|
152
|
-
const openAiResponse = await openaiClient.
|
|
152
|
+
const openAiResponse = await openaiClient.chat.completions.create({
|
|
153
153
|
model: "gpt-4",
|
|
154
154
|
messages: [
|
|
155
155
|
{
|
|
@@ -193,7 +193,7 @@ program
|
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
195
|
role: "user",
|
|
196
|
-
content: jiraTicketData,
|
|
196
|
+
content: JSON.stringify(jiraTicketData),
|
|
197
197
|
},
|
|
198
198
|
],
|
|
199
199
|
});
|