openai 4.53.0 → 4.53.2
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/CHANGELOG.md +21 -0
- package/README.md +17 -17
- package/_shims/node-runtime.d.ts.map +1 -1
- package/_shims/node-runtime.js +2 -3
- package/_shims/node-runtime.js.map +1 -1
- package/_shims/node-runtime.mjs +1 -1
- package/_shims/node-runtime.mjs.map +1 -1
- package/package.json +2 -3
- package/src/_shims/node-runtime.ts +1 -3
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 4.53.2 (2024-07-26)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v4.53.1...v4.53.2](https://github.com/openai/openai-node/compare/v4.53.1...v4.53.2)
|
|
6
|
+
|
|
7
|
+
### Chores
|
|
8
|
+
|
|
9
|
+
* **docs:** fix incorrect client var names ([#955](https://github.com/openai/openai-node/issues/955)) ([cc91be8](https://github.com/openai/openai-node/commit/cc91be867bf7042abb2ee6c6d5ef69082ac64280))
|
|
10
|
+
|
|
11
|
+
## 4.53.1 (2024-07-25)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v4.53.0...v4.53.1](https://github.com/openai/openai-node/compare/v4.53.0...v4.53.1)
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **compat:** remove ReadableStream polyfill redundant since node v16 ([#954](https://github.com/openai/openai-node/issues/954)) ([78b2a83](https://github.com/openai/openai-node/commit/78b2a83f085bb7ddf6a5f429636de1e3eef20f9d))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Chores
|
|
21
|
+
|
|
22
|
+
* **tests:** update prism version ([#948](https://github.com/openai/openai-node/issues/948)) ([9202c91](https://github.com/openai/openai-node/commit/9202c91d697a116eb1b834e01f4073d254438149))
|
|
23
|
+
|
|
3
24
|
## 4.53.0 (2024-07-22)
|
|
4
25
|
|
|
5
26
|
Full Changelog: [v4.52.7...v4.53.0](https://github.com/openai/openai-node/compare/v4.52.7...v4.53.0)
|
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ You can import in Deno via:
|
|
|
19
19
|
<!-- x-release-please-start-version -->
|
|
20
20
|
|
|
21
21
|
```ts
|
|
22
|
-
import OpenAI from 'https://deno.land/x/openai@v4.53.
|
|
22
|
+
import OpenAI from 'https://deno.land/x/openai@v4.53.2/mod.ts';
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
<!-- x-release-please-end -->
|
|
@@ -37,7 +37,7 @@ const client = new OpenAI({
|
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
async function main() {
|
|
40
|
-
const chatCompletion = await
|
|
40
|
+
const chatCompletion = await client.chat.completions.create({
|
|
41
41
|
messages: [{ role: 'user', content: 'Say this is a test' }],
|
|
42
42
|
model: 'gpt-3.5-turbo',
|
|
43
43
|
});
|
|
@@ -56,7 +56,7 @@ import OpenAI from 'openai';
|
|
|
56
56
|
const client = new OpenAI();
|
|
57
57
|
|
|
58
58
|
async function main() {
|
|
59
|
-
const stream = await
|
|
59
|
+
const stream = await client.chat.completions.create({
|
|
60
60
|
model: 'gpt-4',
|
|
61
61
|
messages: [{ role: 'user', content: 'Say this is a test' }],
|
|
62
62
|
stream: true,
|
|
@@ -89,7 +89,7 @@ async function main() {
|
|
|
89
89
|
messages: [{ role: 'user', content: 'Say this is a test' }],
|
|
90
90
|
model: 'gpt-3.5-turbo',
|
|
91
91
|
};
|
|
92
|
-
const chatCompletion: OpenAI.Chat.ChatCompletion = await
|
|
92
|
+
const chatCompletion: OpenAI.Chat.ChatCompletion = await client.chat.completions.create(params);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
main();
|
|
@@ -304,20 +304,20 @@ import OpenAI, { toFile } from 'openai';
|
|
|
304
304
|
const client = new OpenAI();
|
|
305
305
|
|
|
306
306
|
// If you have access to Node `fs` we recommend using `fs.createReadStream()`:
|
|
307
|
-
await
|
|
307
|
+
await client.files.create({ file: fs.createReadStream('input.jsonl'), purpose: 'fine-tune' });
|
|
308
308
|
|
|
309
309
|
// Or if you have the web `File` API you can pass a `File` instance:
|
|
310
|
-
await
|
|
310
|
+
await client.files.create({ file: new File(['my bytes'], 'input.jsonl'), purpose: 'fine-tune' });
|
|
311
311
|
|
|
312
312
|
// You can also pass a `fetch` `Response`:
|
|
313
|
-
await
|
|
313
|
+
await client.files.create({ file: await fetch('https://somesite/input.jsonl'), purpose: 'fine-tune' });
|
|
314
314
|
|
|
315
315
|
// Finally, if none of the above are convenient, you can use our `toFile` helper:
|
|
316
|
-
await
|
|
316
|
+
await client.files.create({
|
|
317
317
|
file: await toFile(Buffer.from('my bytes'), 'input.jsonl'),
|
|
318
318
|
purpose: 'fine-tune',
|
|
319
319
|
});
|
|
320
|
-
await
|
|
320
|
+
await client.files.create({
|
|
321
321
|
file: await toFile(new Uint8Array([0, 1, 2]), 'input.jsonl'),
|
|
322
322
|
purpose: 'fine-tune',
|
|
323
323
|
});
|
|
@@ -332,7 +332,7 @@ a subclass of `APIError` will be thrown:
|
|
|
332
332
|
<!-- prettier-ignore -->
|
|
333
333
|
```ts
|
|
334
334
|
async function main() {
|
|
335
|
-
const job = await
|
|
335
|
+
const job = await client.fineTuning.jobs
|
|
336
336
|
.create({ model: 'gpt-3.5-turbo', training_file: 'file-abc123' })
|
|
337
337
|
.catch(async (err) => {
|
|
338
338
|
if (err instanceof OpenAI.APIError) {
|
|
@@ -404,7 +404,7 @@ const client = new OpenAI({
|
|
|
404
404
|
});
|
|
405
405
|
|
|
406
406
|
// Or, configure per-request:
|
|
407
|
-
await
|
|
407
|
+
await client.chat.completions.create({ messages: [{ role: 'user', content: 'How can I get the name of the current day in Node.js?' }], model: 'gpt-3.5-turbo' }, {
|
|
408
408
|
maxRetries: 5,
|
|
409
409
|
});
|
|
410
410
|
```
|
|
@@ -421,7 +421,7 @@ const client = new OpenAI({
|
|
|
421
421
|
});
|
|
422
422
|
|
|
423
423
|
// Override per-request:
|
|
424
|
-
await
|
|
424
|
+
await client.chat.completions.create({ messages: [{ role: 'user', content: 'How can I list all files in a directory using Python?' }], model: 'gpt-3.5-turbo' }, {
|
|
425
425
|
timeout: 5 * 1000,
|
|
426
426
|
});
|
|
427
427
|
```
|
|
@@ -439,7 +439,7 @@ You can use `for await … of` syntax to iterate through items across all pages:
|
|
|
439
439
|
async function fetchAllFineTuningJobs(params) {
|
|
440
440
|
const allFineTuningJobs = [];
|
|
441
441
|
// Automatically fetches more pages as needed.
|
|
442
|
-
for await (const fineTuningJob of
|
|
442
|
+
for await (const fineTuningJob of client.fineTuning.jobs.list({ limit: 20 })) {
|
|
443
443
|
allFineTuningJobs.push(fineTuningJob);
|
|
444
444
|
}
|
|
445
445
|
return allFineTuningJobs;
|
|
@@ -449,7 +449,7 @@ async function fetchAllFineTuningJobs(params) {
|
|
|
449
449
|
Alternatively, you can make request a single page at a time:
|
|
450
450
|
|
|
451
451
|
```ts
|
|
452
|
-
let page = await
|
|
452
|
+
let page = await client.fineTuning.jobs.list({ limit: 20 });
|
|
453
453
|
for (const fineTuningJob of page.data) {
|
|
454
454
|
console.log(fineTuningJob);
|
|
455
455
|
}
|
|
@@ -473,13 +473,13 @@ You can also use the `.withResponse()` method to get the raw `Response` along wi
|
|
|
473
473
|
```ts
|
|
474
474
|
const client = new OpenAI();
|
|
475
475
|
|
|
476
|
-
const response = await
|
|
476
|
+
const response = await client.chat.completions
|
|
477
477
|
.create({ messages: [{ role: 'user', content: 'Say this is a test' }], model: 'gpt-3.5-turbo' })
|
|
478
478
|
.asResponse();
|
|
479
479
|
console.log(response.headers.get('X-My-Header'));
|
|
480
480
|
console.log(response.statusText); // access the underlying Response object
|
|
481
481
|
|
|
482
|
-
const { data: chatCompletion, response: raw } = await
|
|
482
|
+
const { data: chatCompletion, response: raw } = await client.chat.completions
|
|
483
483
|
.create({ messages: [{ role: 'user', content: 'Say this is a test' }], model: 'gpt-3.5-turbo' })
|
|
484
484
|
.withResponse();
|
|
485
485
|
console.log(raw.headers.get('X-My-Header'));
|
|
@@ -587,7 +587,7 @@ const client = new OpenAI({
|
|
|
587
587
|
});
|
|
588
588
|
|
|
589
589
|
// Override per-request:
|
|
590
|
-
await
|
|
590
|
+
await client.models.list({
|
|
591
591
|
httpAgent: new http.Agent({ keepAlive: false }),
|
|
592
592
|
});
|
|
593
593
|
```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-runtime.d.ts","sourceRoot":"","sources":["../src/_shims/node-runtime.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"node-runtime.d.ts","sourceRoot":"","sources":["../src/_shims/node-runtime.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AA6CxC,wBAAgB,UAAU,IAAI,KAAK,CAqBlC"}
|
package/_shims/node-runtime.js
CHANGED
|
@@ -38,8 +38,7 @@ const node_fs_1 = require("node:fs");
|
|
|
38
38
|
const form_data_encoder_1 = require("form-data-encoder");
|
|
39
39
|
const node_stream_1 = require("node:stream");
|
|
40
40
|
const MultipartBody_1 = require("./MultipartBody.js");
|
|
41
|
-
|
|
42
|
-
const ponyfill_es2018_js_1 = require("web-streams-polyfill/dist/ponyfill.es2018.js");
|
|
41
|
+
const web_1 = require("node:stream/web");
|
|
43
42
|
let fileFromPathWarned = false;
|
|
44
43
|
async function fileFromPath(path, ...args) {
|
|
45
44
|
// this import fails in environments that don't handle export maps correctly, like old versions of Jest
|
|
@@ -79,7 +78,7 @@ function getRuntime() {
|
|
|
79
78
|
FormData: fd.FormData,
|
|
80
79
|
Blob: fd.Blob,
|
|
81
80
|
File: fd.File,
|
|
82
|
-
ReadableStream:
|
|
81
|
+
ReadableStream: web_1.ReadableStream,
|
|
83
82
|
getMultipartRequestOptions,
|
|
84
83
|
getDefaultAgent: (url) => (url.startsWith('https') ? defaultHttpsAgent : defaultHttpAgent),
|
|
85
84
|
fileFromPath,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-runtime.js","sourceRoot":"","sources":["../src/_shims/node-runtime.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,+CAAiC;AACjC,kDAAoC;AAEpC,oEAA4C;AAC5C,uDAA8E;AAC9E,qCAAqD;AAErD,yDAAoD;AACpD,6CAAuC;AAEvC,sDAAgD;
|
|
1
|
+
{"version":3,"file":"node-runtime.js","sourceRoot":"","sources":["../src/_shims/node-runtime.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,+CAAiC;AACjC,kDAAoC;AAEpC,oEAA4C;AAC5C,uDAA8E;AAC9E,qCAAqD;AAErD,yDAAoD;AACpD,6CAAuC;AAEvC,sDAAgD;AAEhD,yCAAiD;AAIjD,IAAI,kBAAkB,GAAG,KAAK,CAAC;AAS/B,KAAK,UAAU,YAAY,CAAC,IAAY,EAAE,GAAG,IAAW;IACtD,uGAAuG;IACvG,MAAM,EAAE,YAAY,EAAE,aAAa,EAAE,GAAG,wDAAa,8BAA8B,GAAC,CAAC;IAErF,IAAI,CAAC,kBAAkB,EAAE;QACvB,OAAO,CAAC,IAAI,CAAC,uDAAuD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACrG,kBAAkB,GAAG,IAAI,CAAC;KAC3B;IACD,aAAa;IACb,OAAO,MAAM,aAAa,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,CAAC;AAC5C,CAAC;AAED,MAAM,gBAAgB,GAAU,IAAI,wBAAc,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,IAAI,EAAE,CAAC,CAAC;AAChG,MA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ACzG,YAAY;QACZ,cAAc,EAAE,CAAC,KAAU,EAAyB,EAAE,CAAC,KAAK,YAAY,oBAAY;KACrF,CAAC;AACJ,CAAC;AArBD,gCAqBC"}
|
package/_shims/node-runtime.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { ReadStream as FsReadStream } from 'node:fs';
|
|
|
6
6
|
import { FormDataEncoder } from 'form-data-encoder';
|
|
7
7
|
import { Readable } from 'node:stream';
|
|
8
8
|
import { MultipartBody } from "./MultipartBody.mjs";
|
|
9
|
-
import { ReadableStream } from 'web
|
|
9
|
+
import { ReadableStream } from 'node:stream/web';
|
|
10
10
|
let fileFromPathWarned = false;
|
|
11
11
|
async function fileFromPath(path, ...args) {
|
|
12
12
|
// this import fails in environments that don't handle export maps correctly, like old versions of Jest
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-runtime.mjs","sourceRoot":"","sources":["../src/_shims/node-runtime.ts"],"names":[],"mappings":"OAGO,KAAK,EAAE,MAAM,YAAY;OACzB,KAAK,EAAE,MAAM,eAAe;OAE5B,cAAc,MAAM,gBAAgB;OACpC,EAAE,eAAe,IAAI,uBAAuB,EAAE,MAAM,kBAAkB;OACtE,EAAE,UAAU,IAAI,YAAY,EAAE,MAAM,SAAS;OAE7C,EAAE,eAAe,EAAE,MAAM,mBAAmB;OAC5C,EAAE,QAAQ,EAAE,MAAM,aAAa;OAE/B,EAAE,aAAa,EAAE;
|
|
1
|
+
{"version":3,"file":"node-runtime.mjs","sourceRoot":"","sources":["../src/_shims/node-runtime.ts"],"names":[],"mappings":"OAGO,KAAK,EAAE,MAAM,YAAY;OACzB,KAAK,EAAE,MAAM,eAAe;OAE5B,cAAc,MAAM,gBAAgB;OACpC,EAAE,eAAe,IAAI,uBAAuB,EAAE,MAAM,kBAAkB;OACtE,EAAE,UAAU,IAAI,YAAY,EAAE,MAAM,SAAS;OAE7C,EAAE,eAAe,EAAE,MAAM,mBAAmB;OAC5C,EAAE,QAAQ,EAAE,MAAM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AW,EAAE,OAAO,EAAE,CAAC;AACjD,CAAC;AAED,MAAM,UAAU,UAAU;IACxB,oCAAoC;IACpC,IAAI,OAAO,eAAe,KAAK,WAAW,EAAE;QAC1C,gFAAgF;QAChF,UAAU,CAAC,eAAe,GAAG,uBAAuB,CAAC;KACtD;IACD,OAAO;QACL,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,EAAE,CAAC,OAAO;QACjB,OAAO,EAAE,EAAE,CAAC,OAAO;QACnB,QAAQ,EAAE,EAAE,CAAC,QAAQ;QACrB,OAAO,EAAE,EAAE,CAAC,OAAO;QACnB,QAAQ,EAAE,EAAE,CAAC,QAAQ;QACrB,IAAI,EAAE,EAAE,CAAC,IAAI;QACb,IAAI,EAAE,EAAE,CAAC,IAAI;QACb,cAAc;QACd,0BAA0B;QAC1B,eAAe,EAAE,CAAC,GAAW,EAAS,EAAE,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,gBAAgB,CAAC;QACzG,YAAY;QACZ,cAAc,EAAE,CAAC,KAAU,EAAyB,EAAE,CAAC,KAAK,YAAY,YAAY;KACrF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openai",
|
|
3
|
-
"version": "4.53.
|
|
3
|
+
"version": "4.53.2",
|
|
4
4
|
"description": "The official TypeScript library for the OpenAI API",
|
|
5
5
|
"author": "OpenAI <support@openai.com>",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -28,8 +28,7 @@
|
|
|
28
28
|
"agentkeepalive": "^4.2.1",
|
|
29
29
|
"form-data-encoder": "1.7.2",
|
|
30
30
|
"formdata-node": "^4.3.2",
|
|
31
|
-
"node-fetch": "^2.6.7"
|
|
32
|
-
"web-streams-polyfill": "^3.2.1"
|
|
31
|
+
"node-fetch": "^2.6.7"
|
|
33
32
|
},
|
|
34
33
|
"sideEffects": [
|
|
35
34
|
"./_shims/index.js",
|
|
@@ -13,9 +13,7 @@ import { Readable } from 'node:stream';
|
|
|
13
13
|
import { type RequestOptions } from '../core';
|
|
14
14
|
import { MultipartBody } from './MultipartBody';
|
|
15
15
|
import { type Shims } from './registry';
|
|
16
|
-
|
|
17
|
-
// @ts-ignore (this package does not have proper export maps for this export)
|
|
18
|
-
import { ReadableStream } from 'web-streams-polyfill/dist/ponyfill.es2018.js';
|
|
16
|
+
import { ReadableStream } from 'node:stream/web';
|
|
19
17
|
|
|
20
18
|
type FileFromPathOptions = Omit<FilePropertyBag, 'lastModified'>;
|
|
21
19
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '4.53.
|
|
1
|
+
export const VERSION = '4.53.2'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.53.
|
|
1
|
+
export declare const VERSION = "4.53.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '4.53.
|
|
1
|
+
export const VERSION = '4.53.2'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|