modelmix 2.2.8 → 2.3.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/README.md +2 -2
- package/demo/demo.mjs +9 -12
- package/demo/lmstudio.mjs +1 -1
- package/demo/package-lock.json +1 -50
- package/demo/package.json +1 -3
- package/demo/stream.mjs +3 -3
- package/demo/watson.jpg +0 -0
- package/index.js +5 -1
- package/package.json +3 -2
- package/demo/node_modules/.package-lock.json +0 -301
- package/demo/node_modules/@anthropic-ai/sdk/CHANGELOG.md +0 -859
- package/demo/node_modules/@anthropic-ai/sdk/LICENSE +0 -8
- package/demo/node_modules/@anthropic-ai/sdk/README.md +0 -424
- package/demo/node_modules/@anthropic-ai/sdk/_shims/MultipartBody.d.ts +0 -9
- package/demo/node_modules/@anthropic-ai/sdk/_shims/MultipartBody.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/MultipartBody.js +0 -16
- package/demo/node_modules/@anthropic-ai/sdk/_shims/MultipartBody.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/MultipartBody.mjs +0 -12
- package/demo/node_modules/@anthropic-ai/sdk/_shims/MultipartBody.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/README.md +0 -46
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-bun.d.ts +0 -5
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-bun.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-bun.js +0 -21
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-bun.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-bun.mjs +0 -2
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-bun.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-node.d.ts +0 -5
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-node.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-node.js +0 -21
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-node.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-node.mjs +0 -2
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime-node.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime.d.ts +0 -5
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime.js +0 -21
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime.mjs +0 -2
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/runtime.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types-node.d.ts +0 -5
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types-node.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types-node.js +0 -21
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types-node.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types-node.mjs +0 -2
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types-node.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types.d.ts +0 -101
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types.js +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/_shims/auto/types.mjs +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/_shims/bun-runtime.d.ts +0 -6
- package/demo/node_modules/@anthropic-ai/sdk/_shims/bun-runtime.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/bun-runtime.js +0 -14
- package/demo/node_modules/@anthropic-ai/sdk/_shims/bun-runtime.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/bun-runtime.mjs +0 -10
- package/demo/node_modules/@anthropic-ai/sdk/_shims/bun-runtime.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/index.d.ts +0 -81
- package/demo/node_modules/@anthropic-ai/sdk/_shims/index.js +0 -13
- package/demo/node_modules/@anthropic-ai/sdk/_shims/index.mjs +0 -7
- package/demo/node_modules/@anthropic-ai/sdk/_shims/manual-types.d.ts +0 -12
- package/demo/node_modules/@anthropic-ai/sdk/_shims/manual-types.js +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/_shims/manual-types.mjs +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/_shims/node-runtime.d.ts +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/_shims/node-runtime.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/node-runtime.js +0 -90
- package/demo/node_modules/@anthropic-ai/sdk/_shims/node-runtime.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/node-runtime.mjs +0 -56
- package/demo/node_modules/@anthropic-ai/sdk/_shims/node-runtime.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/node-types.d.ts +0 -42
- package/demo/node_modules/@anthropic-ai/sdk/_shims/node-types.js +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/_shims/node-types.mjs +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/_shims/registry.d.ts +0 -37
- package/demo/node_modules/@anthropic-ai/sdk/_shims/registry.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/registry.js +0 -41
- package/demo/node_modules/@anthropic-ai/sdk/_shims/registry.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/registry.mjs +0 -37
- package/demo/node_modules/@anthropic-ai/sdk/_shims/registry.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/web-runtime.d.ts +0 -5
- package/demo/node_modules/@anthropic-ai/sdk/_shims/web-runtime.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/web-runtime.js +0 -78
- package/demo/node_modules/@anthropic-ai/sdk/_shims/web-runtime.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/web-runtime.mjs +0 -71
- package/demo/node_modules/@anthropic-ai/sdk/_shims/web-runtime.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/_shims/web-types.d.ts +0 -83
- package/demo/node_modules/@anthropic-ai/sdk/_shims/web-types.js +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/_shims/web-types.mjs +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/core.d.ts +0 -239
- package/demo/node_modules/@anthropic-ai/sdk/core.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/core.js +0 -879
- package/demo/node_modules/@anthropic-ai/sdk/core.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/core.mjs +0 -848
- package/demo/node_modules/@anthropic-ai/sdk/core.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/error.d.ts +0 -53
- package/demo/node_modules/@anthropic-ai/sdk/error.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/error.js +0 -143
- package/demo/node_modules/@anthropic-ai/sdk/error.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/error.mjs +0 -127
- package/demo/node_modules/@anthropic-ai/sdk/error.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/index.d.mts +0 -147
- package/demo/node_modules/@anthropic-ai/sdk/index.d.ts +0 -147
- package/demo/node_modules/@anthropic-ai/sdk/index.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/index.js +0 -149
- package/demo/node_modules/@anthropic-ai/sdk/index.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/index.mjs +0 -121
- package/demo/node_modules/@anthropic-ai/sdk/index.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts +0 -94
- package/demo/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/lib/MessageStream.js +0 -436
- package/demo/node_modules/@anthropic-ai/sdk/lib/MessageStream.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs +0 -432
- package/demo/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/package.json +0 -104
- package/demo/node_modules/@anthropic-ai/sdk/resource.d.ts +0 -6
- package/demo/node_modules/@anthropic-ai/sdk/resource.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resource.js +0 -11
- package/demo/node_modules/@anthropic-ai/sdk/resource.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resource.mjs +0 -7
- package/demo/node_modules/@anthropic-ai/sdk/resource.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts +0 -9
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/beta.js +0 -40
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/beta.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs +0 -13
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/index.js +0 -9
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/index.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs +0 -4
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/index.d.ts +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/index.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/index.js +0 -9
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/index.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/index.mjs +0 -4
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/index.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/messages.d.ts +0 -462
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/messages.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/messages.js +0 -20
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/messages.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/messages.mjs +0 -16
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/messages.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/tools.d.ts +0 -19
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/tools.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/tools.js +0 -40
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/tools.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/tools.mjs +0 -13
- package/demo/node_modules/@anthropic-ai/sdk/resources/beta/tools/tools.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/completions.d.ts +0 -184
- package/demo/node_modules/@anthropic-ai/sdk/resources/completions.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/completions.js +0 -19
- package/demo/node_modules/@anthropic-ai/sdk/resources/completions.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/completions.mjs +0 -15
- package/demo/node_modules/@anthropic-ai/sdk/resources/completions.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/index.d.ts +0 -4
- package/demo/node_modules/@anthropic-ai/sdk/resources/index.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/index.js +0 -11
- package/demo/node_modules/@anthropic-ai/sdk/resources/index.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/index.mjs +0 -5
- package/demo/node_modules/@anthropic-ai/sdk/resources/index.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/messages.d.ts +0 -619
- package/demo/node_modules/@anthropic-ai/sdk/resources/messages.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/messages.js +0 -28
- package/demo/node_modules/@anthropic-ai/sdk/resources/messages.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/messages.mjs +0 -23
- package/demo/node_modules/@anthropic-ai/sdk/resources/messages.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts +0 -2
- package/demo/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/top-level.js +0 -4
- package/demo/node_modules/@anthropic-ai/sdk/resources/top-level.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/resources/top-level.mjs +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/resources/top-level.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/shims/node.d.ts +0 -29
- package/demo/node_modules/@anthropic-ai/sdk/shims/node.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/shims/node.js +0 -31
- package/demo/node_modules/@anthropic-ai/sdk/shims/node.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/shims/node.mjs +0 -5
- package/demo/node_modules/@anthropic-ai/sdk/shims/node.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/shims/web.d.ts +0 -26
- package/demo/node_modules/@anthropic-ai/sdk/shims/web.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/shims/web.js +0 -31
- package/demo/node_modules/@anthropic-ai/sdk/shims/web.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/shims/web.mjs +0 -5
- package/demo/node_modules/@anthropic-ai/sdk/shims/web.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/MultipartBody.ts +0 -9
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/README.md +0 -46
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/auto/runtime-bun.ts +0 -4
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/auto/runtime-node.ts +0 -4
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/auto/runtime.ts +0 -4
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/auto/types-node.ts +0 -4
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/auto/types.d.ts +0 -101
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/auto/types.js +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/auto/types.mjs +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/bun-runtime.ts +0 -14
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/index.d.ts +0 -81
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/index.js +0 -13
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/index.mjs +0 -7
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/manual-types.d.ts +0 -12
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/manual-types.js +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/manual-types.mjs +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/node-runtime.ts +0 -83
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/node-types.d.ts +0 -42
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/node-types.js +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/node-types.mjs +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/registry.ts +0 -67
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/web-runtime.ts +0 -103
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/web-types.d.ts +0 -83
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/web-types.js +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/src/_shims/web-types.mjs +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/src/core.ts +0 -1162
- package/demo/node_modules/@anthropic-ai/sdk/src/error.ts +0 -146
- package/demo/node_modules/@anthropic-ai/sdk/src/index.ts +0 -264
- package/demo/node_modules/@anthropic-ai/sdk/src/lib/.keep +0 -4
- package/demo/node_modules/@anthropic-ai/sdk/src/lib/MessageStream.ts +0 -535
- package/demo/node_modules/@anthropic-ai/sdk/src/resource.ts +0 -11
- package/demo/node_modules/@anthropic-ai/sdk/src/resources/beta/beta.ts +0 -12
- package/demo/node_modules/@anthropic-ai/sdk/src/resources/beta/index.ts +0 -4
- package/demo/node_modules/@anthropic-ai/sdk/src/resources/beta/tools/index.ts +0 -16
- package/demo/node_modules/@anthropic-ai/sdk/src/resources/beta/tools/messages.ts +0 -531
- package/demo/node_modules/@anthropic-ai/sdk/src/resources/beta/tools/tools.ts +0 -22
- package/demo/node_modules/@anthropic-ai/sdk/src/resources/completions.ts +0 -223
- package/demo/node_modules/@anthropic-ai/sdk/src/resources/index.ts +0 -33
- package/demo/node_modules/@anthropic-ai/sdk/src/resources/messages.ts +0 -729
- package/demo/node_modules/@anthropic-ai/sdk/src/resources/top-level.ts +0 -3
- package/demo/node_modules/@anthropic-ai/sdk/src/shims/node.ts +0 -50
- package/demo/node_modules/@anthropic-ai/sdk/src/shims/web.ts +0 -50
- package/demo/node_modules/@anthropic-ai/sdk/src/streaming.ts +0 -509
- package/demo/node_modules/@anthropic-ai/sdk/src/tsconfig.json +0 -11
- package/demo/node_modules/@anthropic-ai/sdk/src/uploads.ts +0 -248
- package/demo/node_modules/@anthropic-ai/sdk/src/version.ts +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/streaming.d.ts +0 -41
- package/demo/node_modules/@anthropic-ai/sdk/streaming.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/streaming.js +0 -431
- package/demo/node_modules/@anthropic-ai/sdk/streaming.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/streaming.mjs +0 -424
- package/demo/node_modules/@anthropic-ai/sdk/streaming.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/uploads.d.ts +0 -75
- package/demo/node_modules/@anthropic-ai/sdk/uploads.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/uploads.js +0 -165
- package/demo/node_modules/@anthropic-ai/sdk/uploads.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/uploads.mjs +0 -152
- package/demo/node_modules/@anthropic-ai/sdk/uploads.mjs.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/version.d.ts +0 -2
- package/demo/node_modules/@anthropic-ai/sdk/version.d.ts.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/version.js +0 -5
- package/demo/node_modules/@anthropic-ai/sdk/version.js.map +0 -1
- package/demo/node_modules/@anthropic-ai/sdk/version.mjs +0 -2
- package/demo/node_modules/@anthropic-ai/sdk/version.mjs.map +0 -1
- package/demo/node_modules/@types/node/LICENSE +0 -21
- package/demo/node_modules/@types/node/README.md +0 -15
- package/demo/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/demo/node_modules/@types/node/assert.d.ts +0 -985
- package/demo/node_modules/@types/node/async_hooks.d.ts +0 -522
- package/demo/node_modules/@types/node/buffer.d.ts +0 -2353
- package/demo/node_modules/@types/node/child_process.d.ts +0 -1544
- package/demo/node_modules/@types/node/cluster.d.ts +0 -578
- package/demo/node_modules/@types/node/console.d.ts +0 -452
- package/demo/node_modules/@types/node/constants.d.ts +0 -19
- package/demo/node_modules/@types/node/crypto.d.ts +0 -4457
- package/demo/node_modules/@types/node/dgram.d.ts +0 -596
- package/demo/node_modules/@types/node/diagnostics_channel.d.ts +0 -546
- package/demo/node_modules/@types/node/dns/promises.d.ts +0 -473
- package/demo/node_modules/@types/node/dns.d.ts +0 -853
- package/demo/node_modules/@types/node/dom-events.d.ts +0 -124
- package/demo/node_modules/@types/node/domain.d.ts +0 -170
- package/demo/node_modules/@types/node/events.d.ts +0 -819
- package/demo/node_modules/@types/node/fs/promises.d.ts +0 -1205
- package/demo/node_modules/@types/node/fs.d.ts +0 -4237
- package/demo/node_modules/@types/node/globals.d.ts +0 -377
- package/demo/node_modules/@types/node/globals.global.d.ts +0 -1
- package/demo/node_modules/@types/node/http.d.ts +0 -1803
- package/demo/node_modules/@types/node/http2.d.ts +0 -2392
- package/demo/node_modules/@types/node/https.d.ts +0 -544
- package/demo/node_modules/@types/node/index.d.ts +0 -88
- package/demo/node_modules/@types/node/inspector.d.ts +0 -2738
- package/demo/node_modules/@types/node/module.d.ts +0 -298
- package/demo/node_modules/@types/node/net.d.ts +0 -918
- package/demo/node_modules/@types/node/os.d.ts +0 -473
- package/demo/node_modules/@types/node/package.json +0 -222
- package/demo/node_modules/@types/node/path.d.ts +0 -191
- package/demo/node_modules/@types/node/perf_hooks.d.ts +0 -626
- package/demo/node_modules/@types/node/process.d.ts +0 -1548
- package/demo/node_modules/@types/node/punycode.d.ts +0 -117
- package/demo/node_modules/@types/node/querystring.d.ts +0 -141
- package/demo/node_modules/@types/node/readline/promises.d.ts +0 -143
- package/demo/node_modules/@types/node/readline.d.ts +0 -666
- package/demo/node_modules/@types/node/repl.d.ts +0 -430
- package/demo/node_modules/@types/node/stream/consumers.d.ts +0 -12
- package/demo/node_modules/@types/node/stream/promises.d.ts +0 -83
- package/demo/node_modules/@types/node/stream/web.d.ts +0 -352
- package/demo/node_modules/@types/node/stream.d.ts +0 -1731
- package/demo/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/demo/node_modules/@types/node/test.d.ts +0 -1113
- package/demo/node_modules/@types/node/timers/promises.d.ts +0 -93
- package/demo/node_modules/@types/node/timers.d.ts +0 -126
- package/demo/node_modules/@types/node/tls.d.ts +0 -1203
- package/demo/node_modules/@types/node/trace_events.d.ts +0 -171
- package/demo/node_modules/@types/node/tty.d.ts +0 -206
- package/demo/node_modules/@types/node/url.d.ts +0 -954
- package/demo/node_modules/@types/node/util.d.ts +0 -2075
- package/demo/node_modules/@types/node/v8.d.ts +0 -753
- package/demo/node_modules/@types/node/vm.d.ts +0 -667
- package/demo/node_modules/@types/node/wasi.d.ts +0 -160
- package/demo/node_modules/@types/node/worker_threads.d.ts +0 -692
- package/demo/node_modules/@types/node/zlib.d.ts +0 -517
- package/demo/node_modules/@types/node-fetch/LICENSE +0 -21
- package/demo/node_modules/@types/node-fetch/README.md +0 -15
- package/demo/node_modules/@types/node-fetch/externals.d.ts +0 -32
- package/demo/node_modules/@types/node-fetch/index.d.ts +0 -238
- package/demo/node_modules/@types/node-fetch/package.json +0 -83
- package/demo/node_modules/abort-controller/LICENSE +0 -21
- package/demo/node_modules/abort-controller/README.md +0 -98
- package/demo/node_modules/abort-controller/browser.js +0 -13
- package/demo/node_modules/abort-controller/browser.mjs +0 -11
- package/demo/node_modules/abort-controller/package.json +0 -97
- package/demo/node_modules/abort-controller/polyfill.js +0 -21
- package/demo/node_modules/abort-controller/polyfill.mjs +0 -19
- package/demo/node_modules/agentkeepalive/History.md +0 -268
- package/demo/node_modules/agentkeepalive/LICENSE +0 -23
- package/demo/node_modules/agentkeepalive/README.md +0 -256
- package/demo/node_modules/agentkeepalive/browser.js +0 -5
- package/demo/node_modules/agentkeepalive/index.d.ts +0 -65
- package/demo/node_modules/agentkeepalive/index.js +0 -5
- package/demo/node_modules/agentkeepalive/lib/agent.js +0 -402
- package/demo/node_modules/agentkeepalive/lib/constants.js +0 -14
- package/demo/node_modules/agentkeepalive/lib/https_agent.js +0 -51
- package/demo/node_modules/agentkeepalive/package.json +0 -56
- package/demo/node_modules/asynckit/LICENSE +0 -21
- package/demo/node_modules/asynckit/README.md +0 -233
- package/demo/node_modules/asynckit/bench.js +0 -76
- package/demo/node_modules/asynckit/index.js +0 -6
- package/demo/node_modules/asynckit/lib/abort.js +0 -29
- package/demo/node_modules/asynckit/lib/async.js +0 -34
- package/demo/node_modules/asynckit/lib/defer.js +0 -26
- package/demo/node_modules/asynckit/lib/iterate.js +0 -75
- package/demo/node_modules/asynckit/lib/readable_asynckit.js +0 -91
- package/demo/node_modules/asynckit/lib/readable_parallel.js +0 -25
- package/demo/node_modules/asynckit/lib/readable_serial.js +0 -25
- package/demo/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
- package/demo/node_modules/asynckit/lib/state.js +0 -37
- package/demo/node_modules/asynckit/lib/streamify.js +0 -141
- package/demo/node_modules/asynckit/lib/terminator.js +0 -29
- package/demo/node_modules/asynckit/package.json +0 -63
- package/demo/node_modules/asynckit/parallel.js +0 -43
- package/demo/node_modules/asynckit/serial.js +0 -17
- package/demo/node_modules/asynckit/serialOrdered.js +0 -75
- package/demo/node_modules/asynckit/stream.js +0 -21
- package/demo/node_modules/combined-stream/License +0 -19
- package/demo/node_modules/combined-stream/Readme.md +0 -138
- package/demo/node_modules/combined-stream/lib/combined_stream.js +0 -208
- package/demo/node_modules/combined-stream/package.json +0 -25
- package/demo/node_modules/combined-stream/yarn.lock +0 -17
- package/demo/node_modules/debug/LICENSE +0 -20
- package/demo/node_modules/debug/README.md +0 -481
- package/demo/node_modules/debug/node_modules/ms/index.js +0 -162
- package/demo/node_modules/debug/node_modules/ms/license.md +0 -21
- package/demo/node_modules/debug/node_modules/ms/package.json +0 -37
- package/demo/node_modules/debug/node_modules/ms/readme.md +0 -60
- package/demo/node_modules/debug/package.json +0 -59
- package/demo/node_modules/debug/src/browser.js +0 -269
- package/demo/node_modules/debug/src/common.js +0 -274
- package/demo/node_modules/debug/src/index.js +0 -10
- package/demo/node_modules/debug/src/node.js +0 -263
- package/demo/node_modules/delayed-stream/License +0 -19
- package/demo/node_modules/delayed-stream/Makefile +0 -7
- package/demo/node_modules/delayed-stream/Readme.md +0 -141
- package/demo/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
- package/demo/node_modules/delayed-stream/package.json +0 -27
- package/demo/node_modules/dotenv/CHANGELOG.md +0 -475
- package/demo/node_modules/dotenv/LICENSE +0 -23
- package/demo/node_modules/dotenv/README-es.md +0 -448
- package/demo/node_modules/dotenv/README.md +0 -728
- package/demo/node_modules/dotenv/config.d.ts +0 -1
- package/demo/node_modules/dotenv/config.js +0 -9
- package/demo/node_modules/dotenv/lib/cli-options.js +0 -11
- package/demo/node_modules/dotenv/lib/env-options.js +0 -24
- package/demo/node_modules/dotenv/lib/main.d.ts +0 -153
- package/demo/node_modules/dotenv/lib/main.js +0 -361
- package/demo/node_modules/dotenv/package.json +0 -65
- package/demo/node_modules/event-target-shim/LICENSE +0 -22
- package/demo/node_modules/event-target-shim/README.md +0 -293
- package/demo/node_modules/event-target-shim/index.d.ts +0 -399
- package/demo/node_modules/event-target-shim/package.json +0 -82
- package/demo/node_modules/form-data/License +0 -19
- package/demo/node_modules/form-data/README.md.bak +0 -358
- package/demo/node_modules/form-data/Readme.md +0 -358
- package/demo/node_modules/form-data/index.d.ts +0 -62
- package/demo/node_modules/form-data/lib/browser.js +0 -2
- package/demo/node_modules/form-data/lib/form_data.js +0 -501
- package/demo/node_modules/form-data/lib/populate.js +0 -10
- package/demo/node_modules/form-data/package.json +0 -68
- package/demo/node_modules/form-data-encoder/@type/FileLike.d.ts +0 -23
- package/demo/node_modules/form-data-encoder/@type/FormDataEncoder.d.ts +0 -160
- package/demo/node_modules/form-data-encoder/@type/FormDataLike.d.ts +0 -40
- package/demo/node_modules/form-data-encoder/@type/index.d.ts +0 -5
- package/demo/node_modules/form-data-encoder/@type/util/createBoundary.d.ts +0 -13
- package/demo/node_modules/form-data-encoder/@type/util/escapeName.d.ts +0 -11
- package/demo/node_modules/form-data-encoder/@type/util/isFileLike.d.ts +0 -28
- package/demo/node_modules/form-data-encoder/@type/util/isFormData.d.ts +0 -15
- package/demo/node_modules/form-data-encoder/@type/util/isFunction.d.ts +0 -7
- package/demo/node_modules/form-data-encoder/@type/util/isPlainObject.d.ts +0 -2
- package/demo/node_modules/form-data-encoder/@type/util/normalizeValue.d.ts +0 -11
- package/demo/node_modules/form-data-encoder/lib/cjs/FileLike.js +0 -2
- package/demo/node_modules/form-data-encoder/lib/cjs/FormDataEncoder.js +0 -126
- package/demo/node_modules/form-data-encoder/lib/cjs/FormDataLike.js +0 -2
- package/demo/node_modules/form-data-encoder/lib/cjs/index.js +0 -17
- package/demo/node_modules/form-data-encoder/lib/cjs/package.json +0 -3
- package/demo/node_modules/form-data-encoder/lib/cjs/util/createBoundary.js +0 -12
- package/demo/node_modules/form-data-encoder/lib/cjs/util/escapeName.js +0 -7
- package/demo/node_modules/form-data-encoder/lib/cjs/util/isFileLike.js +0 -16
- package/demo/node_modules/form-data-encoder/lib/cjs/util/isFormData.js +0 -16
- package/demo/node_modules/form-data-encoder/lib/cjs/util/isFunction.js +0 -4
- package/demo/node_modules/form-data-encoder/lib/cjs/util/isPlainObject.js +0 -15
- package/demo/node_modules/form-data-encoder/lib/cjs/util/normalizeValue.js +0 -11
- package/demo/node_modules/form-data-encoder/lib/esm/FileLike.js +0 -1
- package/demo/node_modules/form-data-encoder/lib/esm/FormDataEncoder.js +0 -119
- package/demo/node_modules/form-data-encoder/lib/esm/FormDataLike.js +0 -1
- package/demo/node_modules/form-data-encoder/lib/esm/index.js +0 -5
- package/demo/node_modules/form-data-encoder/lib/esm/package.json +0 -3
- package/demo/node_modules/form-data-encoder/lib/esm/util/createBoundary.js +0 -10
- package/demo/node_modules/form-data-encoder/lib/esm/util/escapeName.js +0 -5
- package/demo/node_modules/form-data-encoder/lib/esm/util/isFileLike.js +0 -9
- package/demo/node_modules/form-data-encoder/lib/esm/util/isFormData.js +0 -9
- package/demo/node_modules/form-data-encoder/lib/esm/util/isFunction.js +0 -2
- package/demo/node_modules/form-data-encoder/lib/esm/util/isPlainObject.js +0 -13
- package/demo/node_modules/form-data-encoder/lib/esm/util/normalizeValue.js +0 -9
- package/demo/node_modules/form-data-encoder/license +0 -21
- package/demo/node_modules/form-data-encoder/package.json +0 -63
- package/demo/node_modules/form-data-encoder/readme.md +0 -366
- package/demo/node_modules/formdata-node/@type/Blob.d.ts +0 -66
- package/demo/node_modules/formdata-node/@type/BlobPart.d.ts +0 -2
- package/demo/node_modules/formdata-node/@type/File.d.ts +0 -53
- package/demo/node_modules/formdata-node/@type/FormData.d.ts +0 -105
- package/demo/node_modules/formdata-node/@type/blobHelpers.d.ts +0 -9
- package/demo/node_modules/formdata-node/@type/browser.d.ts +0 -10
- package/demo/node_modules/formdata-node/@type/deprecateConstructorEntries.d.ts +0 -1
- package/demo/node_modules/formdata-node/@type/fileFromPath.d.ts +0 -55
- package/demo/node_modules/formdata-node/@type/index.d.ts +0 -3
- package/demo/node_modules/formdata-node/@type/isBlob.d.ts +0 -2
- package/demo/node_modules/formdata-node/@type/isFile.d.ts +0 -7
- package/demo/node_modules/formdata-node/@type/isFunction.d.ts +0 -1
- package/demo/node_modules/formdata-node/@type/isPlainObject.d.ts +0 -2
- package/demo/node_modules/formdata-node/lib/cjs/Blob.js +0 -122
- package/demo/node_modules/formdata-node/lib/cjs/BlobPart.js +0 -2
- package/demo/node_modules/formdata-node/lib/cjs/File.js +0 -52
- package/demo/node_modules/formdata-node/lib/cjs/FormData.js +0 -148
- package/demo/node_modules/formdata-node/lib/cjs/blobHelpers.js +0 -80
- package/demo/node_modules/formdata-node/lib/cjs/browser.js +0 -13
- package/demo/node_modules/formdata-node/lib/cjs/deprecateConstructorEntries.js +0 -6
- package/demo/node_modules/formdata-node/lib/cjs/fileFromPath.js +0 -97
- package/demo/node_modules/formdata-node/lib/cjs/index.js +0 -15
- package/demo/node_modules/formdata-node/lib/cjs/isBlob.js +0 -6
- package/demo/node_modules/formdata-node/lib/cjs/isFile.js +0 -6
- package/demo/node_modules/formdata-node/lib/cjs/isFunction.js +0 -5
- package/demo/node_modules/formdata-node/lib/cjs/isPlainObject.js +0 -15
- package/demo/node_modules/formdata-node/lib/cjs/package.json +0 -3
- package/demo/node_modules/formdata-node/lib/esm/Blob.js +0 -118
- package/demo/node_modules/formdata-node/lib/esm/BlobPart.js +0 -1
- package/demo/node_modules/formdata-node/lib/esm/File.js +0 -48
- package/demo/node_modules/formdata-node/lib/esm/FormData.js +0 -144
- package/demo/node_modules/formdata-node/lib/esm/blobHelpers.js +0 -75
- package/demo/node_modules/formdata-node/lib/esm/browser.js +0 -10
- package/demo/node_modules/formdata-node/lib/esm/deprecateConstructorEntries.js +0 -3
- package/demo/node_modules/formdata-node/lib/esm/fileFromPath.js +0 -79
- package/demo/node_modules/formdata-node/lib/esm/index.js +0 -3
- package/demo/node_modules/formdata-node/lib/esm/isBlob.js +0 -2
- package/demo/node_modules/formdata-node/lib/esm/isFile.js +0 -2
- package/demo/node_modules/formdata-node/lib/esm/isFunction.js +0 -1
- package/demo/node_modules/formdata-node/lib/esm/isPlainObject.js +0 -13
- package/demo/node_modules/formdata-node/lib/esm/package.json +0 -3
- package/demo/node_modules/formdata-node/lib/node-domexception.d.ts +0 -5
- package/demo/node_modules/formdata-node/license +0 -21
- package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/LICENSE +0 -22
- package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/README.md +0 -135
- package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/es5/package.json +0 -6
- package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/package.json +0 -101
- package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/polyfill/es5/package.json +0 -5
- package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/polyfill/package.json +0 -5
- package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/types/polyfill.d.ts +0 -62
- package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts +0 -775
- package/demo/node_modules/formdata-node/node_modules/web-streams-polyfill/types/tsdoc-metadata.json +0 -11
- package/demo/node_modules/formdata-node/package.json +0 -94
- package/demo/node_modules/formdata-node/readme.md +0 -444
- package/demo/node_modules/humanize-ms/History.md +0 -25
- package/demo/node_modules/humanize-ms/LICENSE +0 -17
- package/demo/node_modules/humanize-ms/README.md +0 -40
- package/demo/node_modules/humanize-ms/index.js +0 -24
- package/demo/node_modules/humanize-ms/package.json +0 -37
- package/demo/node_modules/lemonlog/README.md +0 -133
- package/demo/node_modules/lemonlog/demo/demo.js +0 -31
- package/demo/node_modules/lemonlog/index.js +0 -94
- package/demo/node_modules/lemonlog/package.json +0 -31
- package/demo/node_modules/mime-db/HISTORY.md +0 -507
- package/demo/node_modules/mime-db/LICENSE +0 -23
- package/demo/node_modules/mime-db/README.md +0 -100
- package/demo/node_modules/mime-db/db.json +0 -8519
- package/demo/node_modules/mime-db/index.js +0 -12
- package/demo/node_modules/mime-db/package.json +0 -60
- package/demo/node_modules/mime-types/HISTORY.md +0 -397
- package/demo/node_modules/mime-types/LICENSE +0 -23
- package/demo/node_modules/mime-types/README.md +0 -113
- package/demo/node_modules/mime-types/index.js +0 -188
- package/demo/node_modules/mime-types/package.json +0 -44
- package/demo/node_modules/ms/index.js +0 -162
- package/demo/node_modules/ms/license.md +0 -21
- package/demo/node_modules/ms/package.json +0 -38
- package/demo/node_modules/ms/readme.md +0 -59
- package/demo/node_modules/node-domexception/.history/README_20210527203617.md +0 -2
- package/demo/node_modules/node-domexception/.history/README_20210527212714.md +0 -41
- package/demo/node_modules/node-domexception/.history/README_20210527213345.md +0 -36
- package/demo/node_modules/node-domexception/.history/README_20210527213411.md +0 -36
- package/demo/node_modules/node-domexception/.history/README_20210527213803.md +0 -36
- package/demo/node_modules/node-domexception/.history/README_20210527214323.md +0 -38
- package/demo/node_modules/node-domexception/.history/README_20210527214408.md +0 -38
- package/demo/node_modules/node-domexception/.history/index_20210527203842.js +0 -0
- package/demo/node_modules/node-domexception/.history/index_20210527203947.js +0 -8
- package/demo/node_modules/node-domexception/.history/index_20210527204259.js +0 -9
- package/demo/node_modules/node-domexception/.history/index_20210527204418.js +0 -9
- package/demo/node_modules/node-domexception/.history/index_20210527204756.js +0 -11
- package/demo/node_modules/node-domexception/.history/index_20210527204833.js +0 -11
- package/demo/node_modules/node-domexception/.history/index_20210527211208.js +0 -15
- package/demo/node_modules/node-domexception/.history/index_20210527211248.js +0 -15
- package/demo/node_modules/node-domexception/.history/index_20210527212722.js +0 -23
- package/demo/node_modules/node-domexception/.history/index_20210527212731.js +0 -23
- package/demo/node_modules/node-domexception/.history/index_20210527212746.js +0 -15
- package/demo/node_modules/node-domexception/.history/index_20210527212900.js +0 -16
- package/demo/node_modules/node-domexception/.history/index_20210527213022.js +0 -16
- package/demo/node_modules/node-domexception/.history/index_20210527213822.js +0 -16
- package/demo/node_modules/node-domexception/.history/index_20210527213843.js +0 -17
- package/demo/node_modules/node-domexception/.history/index_20210527213852.js +0 -17
- package/demo/node_modules/node-domexception/.history/index_20210527213910.js +0 -16
- package/demo/node_modules/node-domexception/.history/index_20210527214034.js +0 -16
- package/demo/node_modules/node-domexception/.history/index_20210527214643.js +0 -41
- package/demo/node_modules/node-domexception/.history/index_20210527214654.js +0 -41
- package/demo/node_modules/node-domexception/.history/index_20210527214700.js +0 -16
- package/demo/node_modules/node-domexception/.history/package_20210527203733.json +0 -19
- package/demo/node_modules/node-domexception/.history/package_20210527203825.json +0 -16
- package/demo/node_modules/node-domexception/.history/package_20210527204621.json +0 -19
- package/demo/node_modules/node-domexception/.history/package_20210527204913.json +0 -25
- package/demo/node_modules/node-domexception/.history/package_20210527204925.json +0 -25
- package/demo/node_modules/node-domexception/.history/package_20210527205145.json +0 -29
- package/demo/node_modules/node-domexception/.history/package_20210527205156.json +0 -29
- package/demo/node_modules/node-domexception/.history/test_20210527205603.js +0 -0
- package/demo/node_modules/node-domexception/.history/test_20210527205957.js +0 -3
- package/demo/node_modules/node-domexception/.history/test_20210527210021.js +0 -3
- package/demo/node_modules/node-domexception/LICENSE +0 -21
- package/demo/node_modules/node-domexception/README.md +0 -46
- package/demo/node_modules/node-domexception/index.js +0 -16
- package/demo/node_modules/node-domexception/package.json +0 -29
- package/demo/node_modules/node-fetch/LICENSE.md +0 -22
- package/demo/node_modules/node-fetch/README.md +0 -634
- package/demo/node_modules/node-fetch/browser.js +0 -25
- package/demo/node_modules/node-fetch/lib/index.es.js +0 -1777
- package/demo/node_modules/node-fetch/lib/index.js +0 -1787
- package/demo/node_modules/node-fetch/lib/index.mjs +0 -1775
- package/demo/node_modules/node-fetch/package.json +0 -89
- package/demo/node_modules/openai/CHANGELOG.md +0 -1176
- package/demo/node_modules/openai/LICENSE +0 -201
- package/demo/node_modules/openai/README.md +0 -616
- package/demo/node_modules/openai/_shims/MultipartBody.d.ts +0 -9
- package/demo/node_modules/openai/_shims/MultipartBody.d.ts.map +0 -1
- package/demo/node_modules/openai/_shims/MultipartBody.js +0 -16
- package/demo/node_modules/openai/_shims/MultipartBody.js.map +0 -1
- package/demo/node_modules/openai/_shims/MultipartBody.mjs +0 -12
- package/demo/node_modules/openai/_shims/MultipartBody.mjs.map +0 -1
- package/demo/node_modules/openai/_shims/README.md +0 -46
- package/demo/node_modules/openai/_shims/auto/runtime-bun.d.ts +0 -5
- package/demo/node_modules/openai/_shims/auto/runtime-bun.d.ts.map +0 -1
- package/demo/node_modules/openai/_shims/auto/runtime-bun.js +0 -21
- package/demo/node_modules/openai/_shims/auto/runtime-bun.js.map +0 -1
- package/demo/node_modules/openai/_shims/auto/runtime-bun.mjs +0 -2
- package/demo/node_modules/openai/_shims/auto/runtime-bun.mjs.map +0 -1
- package/demo/node_modules/openai/_shims/auto/runtime-node.d.ts +0 -5
- package/demo/node_modules/openai/_shims/auto/runtime-node.d.ts.map +0 -1
- package/demo/node_modules/openai/_shims/auto/runtime-node.js +0 -21
- package/demo/node_modules/openai/_shims/auto/runtime-node.js.map +0 -1
- package/demo/node_modules/openai/_shims/auto/runtime-node.mjs +0 -2
- package/demo/node_modules/openai/_shims/auto/runtime-node.mjs.map +0 -1
- package/demo/node_modules/openai/_shims/auto/runtime.d.ts +0 -5
- package/demo/node_modules/openai/_shims/auto/runtime.d.ts.map +0 -1
- package/demo/node_modules/openai/_shims/auto/runtime.js +0 -21
- package/demo/node_modules/openai/_shims/auto/runtime.js.map +0 -1
- package/demo/node_modules/openai/_shims/auto/runtime.mjs +0 -2
- package/demo/node_modules/openai/_shims/auto/runtime.mjs.map +0 -1
- package/demo/node_modules/openai/_shims/auto/types-node.d.ts +0 -5
- package/demo/node_modules/openai/_shims/auto/types-node.d.ts.map +0 -1
- package/demo/node_modules/openai/_shims/auto/types-node.js +0 -21
- package/demo/node_modules/openai/_shims/auto/types-node.js.map +0 -1
- package/demo/node_modules/openai/_shims/auto/types-node.mjs +0 -2
- package/demo/node_modules/openai/_shims/auto/types-node.mjs.map +0 -1
- package/demo/node_modules/openai/_shims/auto/types.d.ts +0 -101
- package/demo/node_modules/openai/_shims/auto/types.js +0 -3
- package/demo/node_modules/openai/_shims/auto/types.mjs +0 -3
- package/demo/node_modules/openai/_shims/bun-runtime.d.ts +0 -6
- package/demo/node_modules/openai/_shims/bun-runtime.d.ts.map +0 -1
- package/demo/node_modules/openai/_shims/bun-runtime.js +0 -14
- package/demo/node_modules/openai/_shims/bun-runtime.js.map +0 -1
- package/demo/node_modules/openai/_shims/bun-runtime.mjs +0 -10
- package/demo/node_modules/openai/_shims/bun-runtime.mjs.map +0 -1
- package/demo/node_modules/openai/_shims/index.d.ts +0 -81
- package/demo/node_modules/openai/_shims/index.js +0 -13
- package/demo/node_modules/openai/_shims/index.mjs +0 -7
- package/demo/node_modules/openai/_shims/manual-types.d.ts +0 -12
- package/demo/node_modules/openai/_shims/manual-types.js +0 -3
- package/demo/node_modules/openai/_shims/manual-types.mjs +0 -3
- package/demo/node_modules/openai/_shims/node-runtime.d.ts +0 -3
- package/demo/node_modules/openai/_shims/node-runtime.d.ts.map +0 -1
- package/demo/node_modules/openai/_shims/node-runtime.js +0 -90
- package/demo/node_modules/openai/_shims/node-runtime.js.map +0 -1
- package/demo/node_modules/openai/_shims/node-runtime.mjs +0 -56
- package/demo/node_modules/openai/_shims/node-runtime.mjs.map +0 -1
- package/demo/node_modules/openai/_shims/node-types.d.ts +0 -42
- package/demo/node_modules/openai/_shims/node-types.js +0 -3
- package/demo/node_modules/openai/_shims/node-types.mjs +0 -3
- package/demo/node_modules/openai/_shims/registry.d.ts +0 -37
- package/demo/node_modules/openai/_shims/registry.d.ts.map +0 -1
- package/demo/node_modules/openai/_shims/registry.js +0 -41
- package/demo/node_modules/openai/_shims/registry.js.map +0 -1
- package/demo/node_modules/openai/_shims/registry.mjs +0 -37
- package/demo/node_modules/openai/_shims/registry.mjs.map +0 -1
- package/demo/node_modules/openai/_shims/web-runtime.d.ts +0 -5
- package/demo/node_modules/openai/_shims/web-runtime.d.ts.map +0 -1
- package/demo/node_modules/openai/_shims/web-runtime.js +0 -78
- package/demo/node_modules/openai/_shims/web-runtime.js.map +0 -1
- package/demo/node_modules/openai/_shims/web-runtime.mjs +0 -71
- package/demo/node_modules/openai/_shims/web-runtime.mjs.map +0 -1
- package/demo/node_modules/openai/_shims/web-types.d.ts +0 -83
- package/demo/node_modules/openai/_shims/web-types.js +0 -3
- package/demo/node_modules/openai/_shims/web-types.mjs +0 -3
- package/demo/node_modules/openai/bin/cli +0 -49
- package/demo/node_modules/openai/core.d.ts +0 -239
- package/demo/node_modules/openai/core.d.ts.map +0 -1
- package/demo/node_modules/openai/core.js +0 -879
- package/demo/node_modules/openai/core.js.map +0 -1
- package/demo/node_modules/openai/core.mjs +0 -848
- package/demo/node_modules/openai/core.mjs.map +0 -1
- package/demo/node_modules/openai/error.d.ts +0 -57
- package/demo/node_modules/openai/error.d.ts.map +0 -1
- package/demo/node_modules/openai/error.js +0 -148
- package/demo/node_modules/openai/error.js.map +0 -1
- package/demo/node_modules/openai/error.mjs +0 -132
- package/demo/node_modules/openai/error.mjs.map +0 -1
- package/demo/node_modules/openai/index.d.mts +0 -267
- package/demo/node_modules/openai/index.d.ts +0 -267
- package/demo/node_modules/openai/index.d.ts.map +0 -1
- package/demo/node_modules/openai/index.js +0 -262
- package/demo/node_modules/openai/index.js.map +0 -1
- package/demo/node_modules/openai/index.mjs +0 -232
- package/demo/node_modules/openai/index.mjs.map +0 -1
- package/demo/node_modules/openai/lib/AbstractAssistantStreamRunner.d.ts +0 -74
- package/demo/node_modules/openai/lib/AbstractAssistantStreamRunner.d.ts.map +0 -1
- package/demo/node_modules/openai/lib/AbstractAssistantStreamRunner.js +0 -246
- package/demo/node_modules/openai/lib/AbstractAssistantStreamRunner.js.map +0 -1
- package/demo/node_modules/openai/lib/AbstractAssistantStreamRunner.mjs +0 -242
- package/demo/node_modules/openai/lib/AbstractAssistantStreamRunner.mjs.map +0 -1
- package/demo/node_modules/openai/lib/AbstractChatCompletionRunner.d.ts +0 -114
- package/demo/node_modules/openai/lib/AbstractChatCompletionRunner.d.ts.map +0 -1
- package/demo/node_modules/openai/lib/AbstractChatCompletionRunner.js +0 -519
- package/demo/node_modules/openai/lib/AbstractChatCompletionRunner.js.map +0 -1
- package/demo/node_modules/openai/lib/AbstractChatCompletionRunner.mjs +0 -515
- package/demo/node_modules/openai/lib/AbstractChatCompletionRunner.mjs.map +0 -1
- package/demo/node_modules/openai/lib/AssistantStream.d.ts +0 -58
- package/demo/node_modules/openai/lib/AssistantStream.d.ts.map +0 -1
- package/demo/node_modules/openai/lib/AssistantStream.js +0 -548
- package/demo/node_modules/openai/lib/AssistantStream.js.map +0 -1
- package/demo/node_modules/openai/lib/AssistantStream.mjs +0 -521
- package/demo/node_modules/openai/lib/AssistantStream.mjs.map +0 -1
- package/demo/node_modules/openai/lib/ChatCompletionRunFunctions.test.d.ts +0 -2
- package/demo/node_modules/openai/lib/ChatCompletionRunFunctions.test.d.ts.map +0 -1
- package/demo/node_modules/openai/lib/ChatCompletionRunFunctions.test.js +0 -2177
- package/demo/node_modules/openai/lib/ChatCompletionRunFunctions.test.js.map +0 -1
- package/demo/node_modules/openai/lib/ChatCompletionRunFunctions.test.mjs +0 -2172
- package/demo/node_modules/openai/lib/ChatCompletionRunFunctions.test.mjs.map +0 -1
- package/demo/node_modules/openai/lib/ChatCompletionRunner.d.ts +0 -19
- package/demo/node_modules/openai/lib/ChatCompletionRunner.d.ts.map +0 -1
- package/demo/node_modules/openai/lib/ChatCompletionRunner.js +0 -34
- package/demo/node_modules/openai/lib/ChatCompletionRunner.js.map +0 -1
- package/demo/node_modules/openai/lib/ChatCompletionRunner.mjs +0 -30
- package/demo/node_modules/openai/lib/ChatCompletionRunner.mjs.map +0 -1
- package/demo/node_modules/openai/lib/ChatCompletionStream.d.ts +0 -149
- package/demo/node_modules/openai/lib/ChatCompletionStream.d.ts.map +0 -1
- package/demo/node_modules/openai/lib/ChatCompletionStream.js +0 -312
- package/demo/node_modules/openai/lib/ChatCompletionStream.js.map +0 -1
- package/demo/node_modules/openai/lib/ChatCompletionStream.mjs +0 -308
- package/demo/node_modules/openai/lib/ChatCompletionStream.mjs.map +0 -1
- package/demo/node_modules/openai/lib/ChatCompletionStreamingRunner.d.ts +0 -22
- package/demo/node_modules/openai/lib/ChatCompletionStreamingRunner.d.ts.map +0 -1
- package/demo/node_modules/openai/lib/ChatCompletionStreamingRunner.js +0 -32
- package/demo/node_modules/openai/lib/ChatCompletionStreamingRunner.js.map +0 -1
- package/demo/node_modules/openai/lib/ChatCompletionStreamingRunner.mjs +0 -28
- package/demo/node_modules/openai/lib/ChatCompletionStreamingRunner.mjs.map +0 -1
- package/demo/node_modules/openai/lib/RunnableFunction.d.ts +0 -95
- package/demo/node_modules/openai/lib/RunnableFunction.d.ts.map +0 -1
- package/demo/node_modules/openai/lib/RunnableFunction.js +0 -35
- package/demo/node_modules/openai/lib/RunnableFunction.js.map +0 -1
- package/demo/node_modules/openai/lib/RunnableFunction.mjs +0 -29
- package/demo/node_modules/openai/lib/RunnableFunction.mjs.map +0 -1
- package/demo/node_modules/openai/lib/Util.d.ts +0 -5
- package/demo/node_modules/openai/lib/Util.d.ts.map +0 -1
- package/demo/node_modules/openai/lib/Util.js +0 -26
- package/demo/node_modules/openai/lib/Util.js.map +0 -1
- package/demo/node_modules/openai/lib/Util.mjs +0 -22
- package/demo/node_modules/openai/lib/Util.mjs.map +0 -1
- package/demo/node_modules/openai/lib/chatCompletionUtils.d.ts +0 -6
- package/demo/node_modules/openai/lib/chatCompletionUtils.d.ts.map +0 -1
- package/demo/node_modules/openai/lib/chatCompletionUtils.js +0 -20
- package/demo/node_modules/openai/lib/chatCompletionUtils.js.map +0 -1
- package/demo/node_modules/openai/lib/chatCompletionUtils.mjs +0 -13
- package/demo/node_modules/openai/lib/chatCompletionUtils.mjs.map +0 -1
- package/demo/node_modules/openai/lib/jsonschema.d.ts +0 -106
- package/demo/node_modules/openai/lib/jsonschema.d.ts.map +0 -1
- package/demo/node_modules/openai/lib/jsonschema.js +0 -11
- package/demo/node_modules/openai/lib/jsonschema.js.map +0 -1
- package/demo/node_modules/openai/lib/jsonschema.mjs +0 -10
- package/demo/node_modules/openai/lib/jsonschema.mjs.map +0 -1
- package/demo/node_modules/openai/package.json +0 -105
- package/demo/node_modules/openai/pagination.d.ts +0 -37
- package/demo/node_modules/openai/pagination.d.ts.map +0 -1
- package/demo/node_modules/openai/pagination.js +0 -64
- package/demo/node_modules/openai/pagination.js.map +0 -1
- package/demo/node_modules/openai/pagination.mjs +0 -59
- package/demo/node_modules/openai/pagination.mjs.map +0 -1
- package/demo/node_modules/openai/resource.d.ts +0 -6
- package/demo/node_modules/openai/resource.d.ts.map +0 -1
- package/demo/node_modules/openai/resource.js +0 -11
- package/demo/node_modules/openai/resource.js.map +0 -1
- package/demo/node_modules/openai/resource.mjs +0 -7
- package/demo/node_modules/openai/resource.mjs.map +0 -1
- package/demo/node_modules/openai/resources/audio/audio.d.ts +0 -20
- package/demo/node_modules/openai/resources/audio/audio.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/audio/audio.js +0 -46
- package/demo/node_modules/openai/resources/audio/audio.js.map +0 -1
- package/demo/node_modules/openai/resources/audio/audio.mjs +0 -19
- package/demo/node_modules/openai/resources/audio/audio.mjs.map +0 -1
- package/demo/node_modules/openai/resources/audio/index.d.ts +0 -5
- package/demo/node_modules/openai/resources/audio/index.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/audio/index.js +0 -13
- package/demo/node_modules/openai/resources/audio/index.js.map +0 -1
- package/demo/node_modules/openai/resources/audio/index.mjs +0 -6
- package/demo/node_modules/openai/resources/audio/index.mjs.map +0 -1
- package/demo/node_modules/openai/resources/audio/speech.d.ts +0 -42
- package/demo/node_modules/openai/resources/audio/speech.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/audio/speech.js +0 -17
- package/demo/node_modules/openai/resources/audio/speech.js.map +0 -1
- package/demo/node_modules/openai/resources/audio/speech.mjs +0 -13
- package/demo/node_modules/openai/resources/audio/speech.mjs.map +0 -1
- package/demo/node_modules/openai/resources/audio/transcriptions.d.ts +0 -71
- package/demo/node_modules/openai/resources/audio/transcriptions.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/audio/transcriptions.js +0 -18
- package/demo/node_modules/openai/resources/audio/transcriptions.js.map +0 -1
- package/demo/node_modules/openai/resources/audio/transcriptions.mjs +0 -14
- package/demo/node_modules/openai/resources/audio/transcriptions.mjs.map +0 -1
- package/demo/node_modules/openai/resources/audio/translations.d.ts +0 -50
- package/demo/node_modules/openai/resources/audio/translations.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/audio/translations.js +0 -18
- package/demo/node_modules/openai/resources/audio/translations.js.map +0 -1
- package/demo/node_modules/openai/resources/audio/translations.mjs +0 -14
- package/demo/node_modules/openai/resources/audio/translations.mjs.map +0 -1
- package/demo/node_modules/openai/resources/batches.d.ts +0 -189
- package/demo/node_modules/openai/resources/batches.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/batches.js +0 -65
- package/demo/node_modules/openai/resources/batches.js.map +0 -1
- package/demo/node_modules/openai/resources/batches.mjs +0 -37
- package/demo/node_modules/openai/resources/batches.mjs.map +0 -1
- package/demo/node_modules/openai/resources/beta/assistants.d.ts +0 -1048
- package/demo/node_modules/openai/resources/beta/assistants.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/beta/assistants.js +0 -89
- package/demo/node_modules/openai/resources/beta/assistants.js.map +0 -1
- package/demo/node_modules/openai/resources/beta/assistants.mjs +0 -61
- package/demo/node_modules/openai/resources/beta/assistants.mjs.map +0 -1
- package/demo/node_modules/openai/resources/beta/beta.d.ts +0 -53
- package/demo/node_modules/openai/resources/beta/beta.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/beta/beta.js +0 -51
- package/demo/node_modules/openai/resources/beta/beta.js.map +0 -1
- package/demo/node_modules/openai/resources/beta/beta.mjs +0 -24
- package/demo/node_modules/openai/resources/beta/beta.mjs.map +0 -1
- package/demo/node_modules/openai/resources/beta/chat/chat.d.ts +0 -9
- package/demo/node_modules/openai/resources/beta/chat/chat.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/beta/chat/chat.js +0 -40
- package/demo/node_modules/openai/resources/beta/chat/chat.js.map +0 -1
- package/demo/node_modules/openai/resources/beta/chat/chat.mjs +0 -13
- package/demo/node_modules/openai/resources/beta/chat/chat.mjs.map +0 -1
- package/demo/node_modules/openai/resources/beta/chat/completions.d.ts +0 -37
- package/demo/node_modules/openai/resources/beta/chat/completions.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/beta/chat/completions.js +0 -39
- package/demo/node_modules/openai/resources/beta/chat/completions.js.map +0 -1
- package/demo/node_modules/openai/resources/beta/chat/completions.mjs +0 -30
- package/demo/node_modules/openai/resources/beta/chat/completions.mjs.map +0 -1
- package/demo/node_modules/openai/resources/beta/chat/index.d.ts +0 -3
- package/demo/node_modules/openai/resources/beta/chat/index.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/beta/chat/index.js +0 -9
- package/demo/node_modules/openai/resources/beta/chat/index.js.map +0 -1
- package/demo/node_modules/openai/resources/beta/chat/index.mjs +0 -4
- package/demo/node_modules/openai/resources/beta/chat/index.mjs.map +0 -1
- package/demo/node_modules/openai/resources/beta/index.d.ts +0 -6
- package/demo/node_modules/openai/resources/beta/index.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/beta/index.js +0 -17
- package/demo/node_modules/openai/resources/beta/index.js.map +0 -1
- package/demo/node_modules/openai/resources/beta/index.mjs +0 -7
- package/demo/node_modules/openai/resources/beta/index.mjs.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/index.d.ts +0 -4
- package/demo/node_modules/openai/resources/beta/threads/index.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/index.js +0 -13
- package/demo/node_modules/openai/resources/beta/threads/index.js.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/index.mjs +0 -5
- package/demo/node_modules/openai/resources/beta/threads/index.mjs.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/messages.d.ts +0 -552
- package/demo/node_modules/openai/resources/beta/threads/messages.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/messages.js +0 -89
- package/demo/node_modules/openai/resources/beta/threads/messages.js.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/messages.mjs +0 -61
- package/demo/node_modules/openai/resources/beta/threads/messages.mjs.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/runs/index.d.ts +0 -3
- package/demo/node_modules/openai/resources/beta/threads/runs/index.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/runs/index.js +0 -11
- package/demo/node_modules/openai/resources/beta/threads/runs/index.js.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/runs/index.mjs +0 -4
- package/demo/node_modules/openai/resources/beta/threads/runs/index.mjs.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/runs/runs.d.ts +0 -1194
- package/demo/node_modules/openai/resources/beta/threads/runs/runs.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/runs/runs.js +0 -190
- package/demo/node_modules/openai/resources/beta/threads/runs/runs.js.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/runs/runs.mjs +0 -162
- package/demo/node_modules/openai/resources/beta/threads/runs/runs.mjs.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/runs/steps.d.ts +0 -520
- package/demo/node_modules/openai/resources/beta/threads/runs/steps.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/runs/steps.js +0 -60
- package/demo/node_modules/openai/resources/beta/threads/runs/steps.js.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/runs/steps.mjs +0 -32
- package/demo/node_modules/openai/resources/beta/threads/runs/steps.mjs.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/threads.d.ts +0 -1240
- package/demo/node_modules/openai/resources/beta/threads/threads.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/threads.js +0 -108
- package/demo/node_modules/openai/resources/beta/threads/threads.js.map +0 -1
- package/demo/node_modules/openai/resources/beta/threads/threads.mjs +0 -81
- package/demo/node_modules/openai/resources/beta/threads/threads.mjs.map +0 -1
- package/demo/node_modules/openai/resources/beta/vector-stores/file-batches.d.ts +0 -142
- package/demo/node_modules/openai/resources/beta/vector-stores/file-batches.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/beta/vector-stores/file-batches.js +0 -129
- package/demo/node_modules/openai/resources/beta/vector-stores/file-batches.js.map +0 -1
- package/demo/node_modules/openai/resources/beta/vector-stores/file-batches.mjs +0 -125
- package/demo/node_modules/openai/resources/beta/vector-stores/file-batches.mjs.map +0 -1
- package/demo/node_modules/openai/resources/beta/vector-stores/files.d.ts +0 -154
- package/demo/node_modules/openai/resources/beta/vector-stores/files.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/beta/vector-stores/files.js +0 -149
- package/demo/node_modules/openai/resources/beta/vector-stores/files.js.map +0 -1
- package/demo/node_modules/openai/resources/beta/vector-stores/files.mjs +0 -121
- package/demo/node_modules/openai/resources/beta/vector-stores/files.mjs.map +0 -1
- package/demo/node_modules/openai/resources/beta/vector-stores/index.d.ts +0 -4
- package/demo/node_modules/openai/resources/beta/vector-stores/index.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/beta/vector-stores/index.js +0 -13
- package/demo/node_modules/openai/resources/beta/vector-stores/index.js.map +0 -1
- package/demo/node_modules/openai/resources/beta/vector-stores/index.mjs +0 -5
- package/demo/node_modules/openai/resources/beta/vector-stores/index.mjs.map +0 -1
- package/demo/node_modules/openai/resources/beta/vector-stores/vector-stores.d.ts +0 -233
- package/demo/node_modules/openai/resources/beta/vector-stores/vector-stores.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/beta/vector-stores/vector-stores.js +0 -99
- package/demo/node_modules/openai/resources/beta/vector-stores/vector-stores.js.map +0 -1
- package/demo/node_modules/openai/resources/beta/vector-stores/vector-stores.mjs +0 -71
- package/demo/node_modules/openai/resources/beta/vector-stores/vector-stores.mjs.map +0 -1
- package/demo/node_modules/openai/resources/chat/chat.d.ts +0 -42
- package/demo/node_modules/openai/resources/chat/chat.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/chat/chat.js +0 -40
- package/demo/node_modules/openai/resources/chat/chat.js.map +0 -1
- package/demo/node_modules/openai/resources/chat/chat.mjs +0 -13
- package/demo/node_modules/openai/resources/chat/chat.mjs.map +0 -1
- package/demo/node_modules/openai/resources/chat/completions.d.ts +0 -845
- package/demo/node_modules/openai/resources/chat/completions.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/chat/completions.js +0 -14
- package/demo/node_modules/openai/resources/chat/completions.js.map +0 -1
- package/demo/node_modules/openai/resources/chat/completions.mjs +0 -10
- package/demo/node_modules/openai/resources/chat/completions.mjs.map +0 -1
- package/demo/node_modules/openai/resources/chat/index.d.ts +0 -3
- package/demo/node_modules/openai/resources/chat/index.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/chat/index.js +0 -9
- package/demo/node_modules/openai/resources/chat/index.js.map +0 -1
- package/demo/node_modules/openai/resources/chat/index.mjs +0 -4
- package/demo/node_modules/openai/resources/chat/index.mjs.map +0 -1
- package/demo/node_modules/openai/resources/completions.d.ts +0 -272
- package/demo/node_modules/openai/resources/completions.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/completions.js +0 -14
- package/demo/node_modules/openai/resources/completions.js.map +0 -1
- package/demo/node_modules/openai/resources/completions.mjs +0 -10
- package/demo/node_modules/openai/resources/completions.mjs.map +0 -1
- package/demo/node_modules/openai/resources/embeddings.d.ts +0 -103
- package/demo/node_modules/openai/resources/embeddings.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/embeddings.js +0 -17
- package/demo/node_modules/openai/resources/embeddings.js.map +0 -1
- package/demo/node_modules/openai/resources/embeddings.mjs +0 -13
- package/demo/node_modules/openai/resources/embeddings.mjs.map +0 -1
- package/demo/node_modules/openai/resources/files.d.ts +0 -140
- package/demo/node_modules/openai/resources/files.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/files.js +0 -120
- package/demo/node_modules/openai/resources/files.js.map +0 -1
- package/demo/node_modules/openai/resources/files.mjs +0 -92
- package/demo/node_modules/openai/resources/files.mjs.map +0 -1
- package/demo/node_modules/openai/resources/fine-tuning/fine-tuning.d.ts +0 -19
- package/demo/node_modules/openai/resources/fine-tuning/fine-tuning.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/fine-tuning/fine-tuning.js +0 -42
- package/demo/node_modules/openai/resources/fine-tuning/fine-tuning.js.map +0 -1
- package/demo/node_modules/openai/resources/fine-tuning/fine-tuning.mjs +0 -15
- package/demo/node_modules/openai/resources/fine-tuning/fine-tuning.mjs.map +0 -1
- package/demo/node_modules/openai/resources/fine-tuning/index.d.ts +0 -3
- package/demo/node_modules/openai/resources/fine-tuning/index.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/fine-tuning/index.js +0 -11
- package/demo/node_modules/openai/resources/fine-tuning/index.js.map +0 -1
- package/demo/node_modules/openai/resources/fine-tuning/index.mjs +0 -4
- package/demo/node_modules/openai/resources/fine-tuning/index.mjs.map +0 -1
- package/demo/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.ts +0 -69
- package/demo/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/fine-tuning/jobs/checkpoints.js +0 -47
- package/demo/node_modules/openai/resources/fine-tuning/jobs/checkpoints.js.map +0 -1
- package/demo/node_modules/openai/resources/fine-tuning/jobs/checkpoints.mjs +0 -19
- package/demo/node_modules/openai/resources/fine-tuning/jobs/checkpoints.mjs.map +0 -1
- package/demo/node_modules/openai/resources/fine-tuning/jobs/index.d.ts +0 -3
- package/demo/node_modules/openai/resources/fine-tuning/jobs/index.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/fine-tuning/jobs/index.js +0 -12
- package/demo/node_modules/openai/resources/fine-tuning/jobs/index.js.map +0 -1
- package/demo/node_modules/openai/resources/fine-tuning/jobs/index.mjs +0 -4
- package/demo/node_modules/openai/resources/fine-tuning/jobs/index.mjs.map +0 -1
- package/demo/node_modules/openai/resources/fine-tuning/jobs/jobs.d.ts +0 -362
- package/demo/node_modules/openai/resources/fine-tuning/jobs/jobs.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/fine-tuning/jobs/jobs.js +0 -93
- package/demo/node_modules/openai/resources/fine-tuning/jobs/jobs.js.map +0 -1
- package/demo/node_modules/openai/resources/fine-tuning/jobs/jobs.mjs +0 -64
- package/demo/node_modules/openai/resources/fine-tuning/jobs/jobs.mjs.map +0 -1
- package/demo/node_modules/openai/resources/images.d.ts +0 -174
- package/demo/node_modules/openai/resources/images.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/images.js +0 -30
- package/demo/node_modules/openai/resources/images.js.map +0 -1
- package/demo/node_modules/openai/resources/images.mjs +0 -26
- package/demo/node_modules/openai/resources/images.mjs.map +0 -1
- package/demo/node_modules/openai/resources/index.d.ts +0 -13
- package/demo/node_modules/openai/resources/index.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/index.js +0 -44
- package/demo/node_modules/openai/resources/index.js.map +0 -1
- package/demo/node_modules/openai/resources/index.mjs +0 -14
- package/demo/node_modules/openai/resources/index.mjs.map +0 -1
- package/demo/node_modules/openai/resources/models.d.ts +0 -58
- package/demo/node_modules/openai/resources/models.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/models.js +0 -64
- package/demo/node_modules/openai/resources/models.js.map +0 -1
- package/demo/node_modules/openai/resources/models.mjs +0 -36
- package/demo/node_modules/openai/resources/models.mjs.map +0 -1
- package/demo/node_modules/openai/resources/moderations.d.ts +0 -176
- package/demo/node_modules/openai/resources/moderations.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/moderations.js +0 -17
- package/demo/node_modules/openai/resources/moderations.js.map +0 -1
- package/demo/node_modules/openai/resources/moderations.mjs +0 -13
- package/demo/node_modules/openai/resources/moderations.mjs.map +0 -1
- package/demo/node_modules/openai/resources/shared.d.ts +0 -39
- package/demo/node_modules/openai/resources/shared.d.ts.map +0 -1
- package/demo/node_modules/openai/resources/shared.js +0 -4
- package/demo/node_modules/openai/resources/shared.js.map +0 -1
- package/demo/node_modules/openai/resources/shared.mjs +0 -3
- package/demo/node_modules/openai/resources/shared.mjs.map +0 -1
- package/demo/node_modules/openai/shims/node.d.ts +0 -29
- package/demo/node_modules/openai/shims/node.d.ts.map +0 -1
- package/demo/node_modules/openai/shims/node.js +0 -31
- package/demo/node_modules/openai/shims/node.js.map +0 -1
- package/demo/node_modules/openai/shims/node.mjs +0 -5
- package/demo/node_modules/openai/shims/node.mjs.map +0 -1
- package/demo/node_modules/openai/shims/web.d.ts +0 -26
- package/demo/node_modules/openai/shims/web.d.ts.map +0 -1
- package/demo/node_modules/openai/shims/web.js +0 -31
- package/demo/node_modules/openai/shims/web.js.map +0 -1
- package/demo/node_modules/openai/shims/web.mjs +0 -5
- package/demo/node_modules/openai/shims/web.mjs.map +0 -1
- package/demo/node_modules/openai/src/_shims/MultipartBody.ts +0 -9
- package/demo/node_modules/openai/src/_shims/README.md +0 -46
- package/demo/node_modules/openai/src/_shims/auto/runtime-bun.ts +0 -4
- package/demo/node_modules/openai/src/_shims/auto/runtime-node.ts +0 -4
- package/demo/node_modules/openai/src/_shims/auto/runtime.ts +0 -4
- package/demo/node_modules/openai/src/_shims/auto/types-node.ts +0 -4
- package/demo/node_modules/openai/src/_shims/auto/types.d.ts +0 -101
- package/demo/node_modules/openai/src/_shims/auto/types.js +0 -3
- package/demo/node_modules/openai/src/_shims/auto/types.mjs +0 -3
- package/demo/node_modules/openai/src/_shims/bun-runtime.ts +0 -14
- package/demo/node_modules/openai/src/_shims/index.d.ts +0 -81
- package/demo/node_modules/openai/src/_shims/index.js +0 -13
- package/demo/node_modules/openai/src/_shims/index.mjs +0 -7
- package/demo/node_modules/openai/src/_shims/manual-types.d.ts +0 -12
- package/demo/node_modules/openai/src/_shims/manual-types.js +0 -3
- package/demo/node_modules/openai/src/_shims/manual-types.mjs +0 -3
- package/demo/node_modules/openai/src/_shims/node-runtime.ts +0 -83
- package/demo/node_modules/openai/src/_shims/node-types.d.ts +0 -42
- package/demo/node_modules/openai/src/_shims/node-types.js +0 -3
- package/demo/node_modules/openai/src/_shims/node-types.mjs +0 -3
- package/demo/node_modules/openai/src/_shims/registry.ts +0 -65
- package/demo/node_modules/openai/src/_shims/web-runtime.ts +0 -103
- package/demo/node_modules/openai/src/_shims/web-types.d.ts +0 -83
- package/demo/node_modules/openai/src/_shims/web-types.js +0 -3
- package/demo/node_modules/openai/src/_shims/web-types.mjs +0 -3
- package/demo/node_modules/openai/src/core.ts +0 -1162
- package/demo/node_modules/openai/src/error.ts +0 -158
- package/demo/node_modules/openai/src/index.ts +0 -502
- package/demo/node_modules/openai/src/lib/.keep +0 -4
- package/demo/node_modules/openai/src/lib/AbstractAssistantStreamRunner.ts +0 -340
- package/demo/node_modules/openai/src/lib/AbstractChatCompletionRunner.ts +0 -682
- package/demo/node_modules/openai/src/lib/AssistantStream.ts +0 -723
- package/demo/node_modules/openai/src/lib/ChatCompletionRunFunctions.test.ts +0 -2328
- package/demo/node_modules/openai/src/lib/ChatCompletionRunner.ts +0 -68
- package/demo/node_modules/openai/src/lib/ChatCompletionStream.ts +0 -494
- package/demo/node_modules/openai/src/lib/ChatCompletionStreamingRunner.ts +0 -68
- package/demo/node_modules/openai/src/lib/RunnableFunction.ts +0 -134
- package/demo/node_modules/openai/src/lib/Util.ts +0 -23
- package/demo/node_modules/openai/src/lib/chatCompletionUtils.ts +0 -28
- package/demo/node_modules/openai/src/lib/jsonschema.ts +0 -148
- package/demo/node_modules/openai/src/pagination.ts +0 -98
- package/demo/node_modules/openai/src/resource.ts +0 -11
- package/demo/node_modules/openai/src/resources/audio/audio.ts +0 -23
- package/demo/node_modules/openai/src/resources/audio/index.ts +0 -6
- package/demo/node_modules/openai/src/resources/audio/speech.ts +0 -52
- package/demo/node_modules/openai/src/resources/audio/transcriptions.ts +0 -84
- package/demo/node_modules/openai/src/resources/audio/translations.ts +0 -61
- package/demo/node_modules/openai/src/resources/batches.ts +0 -252
- package/demo/node_modules/openai/src/resources/beta/assistants.ts +0 -1315
- package/demo/node_modules/openai/src/resources/beta/beta.ts +0 -56
- package/demo/node_modules/openai/src/resources/beta/chat/chat.ts +0 -12
- package/demo/node_modules/openai/src/resources/beta/chat/completions.ts +0 -106
- package/demo/node_modules/openai/src/resources/beta/chat/index.ts +0 -4
- package/demo/node_modules/openai/src/resources/beta/index.ts +0 -48
- package/demo/node_modules/openai/src/resources/beta/threads/index.ts +0 -72
- package/demo/node_modules/openai/src/resources/beta/threads/messages.ts +0 -706
- package/demo/node_modules/openai/src/resources/beta/threads/runs/index.ts +0 -44
- package/demo/node_modules/openai/src/resources/beta/threads/runs/runs.ts +0 -1627
- package/demo/node_modules/openai/src/resources/beta/threads/runs/steps.ts +0 -641
- package/demo/node_modules/openai/src/resources/beta/threads/threads.ts +0 -1536
- package/demo/node_modules/openai/src/resources/beta/vector-stores/file-batches.ts +0 -293
- package/demo/node_modules/openai/src/resources/beta/vector-stores/files.ts +0 -284
- package/demo/node_modules/openai/src/resources/beta/vector-stores/index.ts +0 -25
- package/demo/node_modules/openai/src/resources/beta/vector-stores/vector-stores.ts +0 -318
- package/demo/node_modules/openai/src/resources/chat/chat.ts +0 -67
- package/demo/node_modules/openai/src/resources/chat/completions.ts +0 -996
- package/demo/node_modules/openai/src/resources/chat/index.ts +0 -33
- package/demo/node_modules/openai/src/resources/completions.ts +0 -329
- package/demo/node_modules/openai/src/resources/embeddings.ts +0 -125
- package/demo/node_modules/openai/src/resources/files.ts +0 -214
- package/demo/node_modules/openai/src/resources/fine-tuning/fine-tuning.ts +0 -22
- package/demo/node_modules/openai/src/resources/fine-tuning/index.ts +0 -16
- package/demo/node_modules/openai/src/resources/fine-tuning/jobs/checkpoints.ts +0 -108
- package/demo/node_modules/openai/src/resources/fine-tuning/jobs/index.ts +0 -21
- package/demo/node_modules/openai/src/resources/fine-tuning/jobs/jobs.ts +0 -458
- package/demo/node_modules/openai/src/resources/images.ts +0 -215
- package/demo/node_modules/openai/src/resources/index.ts +0 -45
- package/demo/node_modules/openai/src/resources/models.ts +0 -76
- package/demo/node_modules/openai/src/resources/moderations.ts +0 -214
- package/demo/node_modules/openai/src/resources/shared.ts +0 -47
- package/demo/node_modules/openai/src/shims/node.ts +0 -50
- package/demo/node_modules/openai/src/shims/web.ts +0 -50
- package/demo/node_modules/openai/src/streaming.ts +0 -508
- package/demo/node_modules/openai/src/tsconfig.json +0 -11
- package/demo/node_modules/openai/src/uploads.ts +0 -248
- package/demo/node_modules/openai/src/version.ts +0 -1
- package/demo/node_modules/openai/streaming.d.ts +0 -41
- package/demo/node_modules/openai/streaming.d.ts.map +0 -1
- package/demo/node_modules/openai/streaming.js +0 -433
- package/demo/node_modules/openai/streaming.js.map +0 -1
- package/demo/node_modules/openai/streaming.mjs +0 -426
- package/demo/node_modules/openai/streaming.mjs.map +0 -1
- package/demo/node_modules/openai/uploads.d.ts +0 -75
- package/demo/node_modules/openai/uploads.d.ts.map +0 -1
- package/demo/node_modules/openai/uploads.js +0 -165
- package/demo/node_modules/openai/uploads.js.map +0 -1
- package/demo/node_modules/openai/uploads.mjs +0 -152
- package/demo/node_modules/openai/uploads.mjs.map +0 -1
- package/demo/node_modules/openai/version.d.ts +0 -2
- package/demo/node_modules/openai/version.d.ts.map +0 -1
- package/demo/node_modules/openai/version.js +0 -5
- package/demo/node_modules/openai/version.js.map +0 -1
- package/demo/node_modules/openai/version.mjs +0 -2
- package/demo/node_modules/openai/version.mjs.map +0 -1
- package/demo/node_modules/tr46/index.js +0 -193
- package/demo/node_modules/tr46/lib/.gitkeep +0 -0
- package/demo/node_modules/tr46/lib/mappingTable.json +0 -1
- package/demo/node_modules/tr46/package.json +0 -31
- package/demo/node_modules/undici-types/README.md +0 -6
- package/demo/node_modules/undici-types/agent.d.ts +0 -31
- package/demo/node_modules/undici-types/api.d.ts +0 -43
- package/demo/node_modules/undici-types/balanced-pool.d.ts +0 -18
- package/demo/node_modules/undici-types/cache.d.ts +0 -36
- package/demo/node_modules/undici-types/client.d.ts +0 -97
- package/demo/node_modules/undici-types/connector.d.ts +0 -34
- package/demo/node_modules/undici-types/content-type.d.ts +0 -21
- package/demo/node_modules/undici-types/cookies.d.ts +0 -28
- package/demo/node_modules/undici-types/diagnostics-channel.d.ts +0 -67
- package/demo/node_modules/undici-types/dispatcher.d.ts +0 -241
- package/demo/node_modules/undici-types/errors.d.ts +0 -128
- package/demo/node_modules/undici-types/fetch.d.ts +0 -209
- package/demo/node_modules/undici-types/file.d.ts +0 -39
- package/demo/node_modules/undici-types/filereader.d.ts +0 -54
- package/demo/node_modules/undici-types/formdata.d.ts +0 -108
- package/demo/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/demo/node_modules/undici-types/global-origin.d.ts +0 -7
- package/demo/node_modules/undici-types/handlers.d.ts +0 -9
- package/demo/node_modules/undici-types/header.d.ts +0 -4
- package/demo/node_modules/undici-types/index.d.ts +0 -63
- package/demo/node_modules/undici-types/interceptors.d.ts +0 -5
- package/demo/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/demo/node_modules/undici-types/mock-client.d.ts +0 -25
- package/demo/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/demo/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/demo/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/demo/node_modules/undici-types/package.json +0 -55
- package/demo/node_modules/undici-types/patch.d.ts +0 -71
- package/demo/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/demo/node_modules/undici-types/pool.d.ts +0 -28
- package/demo/node_modules/undici-types/proxy-agent.d.ts +0 -30
- package/demo/node_modules/undici-types/readable.d.ts +0 -61
- package/demo/node_modules/undici-types/webidl.d.ts +0 -220
- package/demo/node_modules/undici-types/websocket.d.ts +0 -131
- package/demo/node_modules/web-streams-polyfill/LICENSE +0 -22
- package/demo/node_modules/web-streams-polyfill/README.md +0 -110
- package/demo/node_modules/web-streams-polyfill/es2018/package.json +0 -14
- package/demo/node_modules/web-streams-polyfill/es6/package.json +0 -14
- package/demo/node_modules/web-streams-polyfill/package.json +0 -83
- package/demo/node_modules/web-streams-polyfill/ponyfill/es2018/package.json +0 -13
- package/demo/node_modules/web-streams-polyfill/ponyfill/es6/package.json +0 -13
- package/demo/node_modules/web-streams-polyfill/ponyfill/package.json +0 -13
- package/demo/node_modules/webidl-conversions/LICENSE.md +0 -12
- package/demo/node_modules/webidl-conversions/README.md +0 -53
- package/demo/node_modules/webidl-conversions/lib/index.js +0 -189
- package/demo/node_modules/webidl-conversions/package.json +0 -23
- package/demo/node_modules/whatwg-url/LICENSE.txt +0 -21
- package/demo/node_modules/whatwg-url/README.md +0 -67
- package/demo/node_modules/whatwg-url/lib/URL-impl.js +0 -200
- package/demo/node_modules/whatwg-url/lib/URL.js +0 -196
- package/demo/node_modules/whatwg-url/lib/public-api.js +0 -11
- package/demo/node_modules/whatwg-url/lib/url-state-machine.js +0 -1297
- package/demo/node_modules/whatwg-url/lib/utils.js +0 -20
- package/demo/node_modules/whatwg-url/package.json +0 -32
- package/demo/watson.png +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"completions.d.ts","sourceRoot":"","sources":["../../src/resources/chat/completions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,kBAAkB,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,cAAc,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,OAAO,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,sCAAsC,EAC5C,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,UAAU,CAAC,cAAc,CAAC;IAC7B,MAAM,CACJ,IAAI,EAAE,mCAAmC,EACzC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,UAAU,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC;IAC1C,MAAM,CACJ,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,UAAU,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,cAAc,CAAC;CAS5D;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,OAAO,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;IAEtC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,EAAE,iBA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jG,MAAM,QAAQ,8BAA8B,GAAG,kBAAkB,CAAC,8BAA8B,CAAC;IACjG,MAAM,QAAQ,8BAA8B,GAAG,kBAAkB,CAAC,8BAA8B,CAAC;IACjG;;OAEG;IACH,MAAM,QAAQ,kCAAkC,GAAG,kBAAkB,CAAC,kCAAkC,CAAC;IACzG,MAAM,QAAQ,0BAA0B,GAAG,kBAAkB,CAAC,0BAA0B,CAAC;IACzF,MAAM,QAAQ,sBAAsB,GAAG,kBAAkB,CAAC,sBAAsB,CAAC;IACjF,MAAM,QAAQ,sCAAsC,GAAG,kBAAkB,CAAC,sCAAsC,CAAC;IACjH,MAAM,QAAQ,kCAAkC,GAAG,kBAAkB,CAAC,kCAAkC,CAAC;IACzG,MAAM,QAAQ,mCAAmC,GAAG,kBAAkB,CAAC,mCAAmC,CAAC;IAC3G,MAAM,QAAQ,+BAA+B,GAAG,kBAAkB,CAAC,+BAA+B,CAAC;CACpG"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Completions = void 0;
|
|
5
|
-
const resource_1 = require("../../resource.js");
|
|
6
|
-
class Completions extends resource_1.APIResource {
|
|
7
|
-
create(body, options) {
|
|
8
|
-
return this._client.post('/chat/completions', { body, ...options, stream: body.stream ?? false });
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
exports.Completions = Completions;
|
|
12
|
-
(function (Completions) {
|
|
13
|
-
})(Completions = exports.Completions || (exports.Completions = {}));
|
|
14
|
-
//# sourceMappingURL=completions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"completions.js","sourceRoot":"","sources":["../../src/resources/chat/completions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAItF,gDAA6C;AAO7C,MAAa,WAAY,SAAQ,sBAAW;IAgB1C,MAAM,CACJ,IAAgC,EAChC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,KAAK,EAAE,CAErD,CAAC;IAC9C,CAAC;CACF;AAxBD,kCAwBC;AAi6BD,WAAiB,WAAW;AA+B5B,CAAC,EA/BgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QA+B3B"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../../resource.mjs";
|
|
3
|
-
export class Completions extends APIResource {
|
|
4
|
-
create(body, options) {
|
|
5
|
-
return this._client.post('/chat/completions', { body, ...options, stream: body.stream ?? false });
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
(function (Completions) {
|
|
9
|
-
})(Completions || (Completions = {}));
|
|
10
|
-
//# sourceMappingURL=completions.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"completions.mjs","sourceRoot":"","sources":["../../src/resources/chat/completions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAI/E,EAAE,WAAW,EAAE;AAOtB,MAAM,OAAO,WAAY,SAAQ,WAAW;IAgB1C,MAAM,CACJ,IAAgC,EAChC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,KAAK,EAAE,CAErD,CAAC;IAC9C,CAAC;CACF;AAi6BD,WAAiB,WAAW;AA+B5B,CAAC,EA/BgB,WAAW,KAAX,WAAW,QA+B3B"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { ChatCompletion, ChatCompletionAssistantMessageParam, ChatCompletionChunk, ChatCompletionContentPart, ChatCompletionContentPartImage, ChatCompletionContentPartText, ChatCompletionFunctionCallOption, ChatCompletionFunctionMessageParam, ChatCompletionMessage, ChatCompletionMessageParam, ChatCompletionMessageToolCall, ChatCompletionNamedToolChoice, ChatCompletionRole, ChatCompletionStreamOptions, ChatCompletionSystemMessageParam, ChatCompletionTokenLogprob, ChatCompletionTool, ChatCompletionToolChoiceOption, ChatCompletionToolMessageParam, ChatCompletionUserMessageParam, CreateChatCompletionRequestMessage, ChatCompletionCreateParams, CompletionCreateParams, ChatCompletionCreateParamsNonStreaming, CompletionCreateParamsNonStreaming, ChatCompletionCreateParamsStreaming, CompletionCreateParamsStreaming, Completions, } from "./completions.js";
|
|
2
|
-
export { ChatModel, Chat } from "./chat.js";
|
|
3
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/chat/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,cAAc,EACd,mCAAmC,EACnC,mBAAmB,EACnB,yBAAyB,EACzB,8BAA8B,EAC9B,6BAA6B,EAC7B,gCAAgC,EAChC,kCAAkC,EAClC,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,EAC7B,6BAA6B,EAC7B,kBAAkB,EAClB,2BAA2B,EAC3B,gCAAgC,EAChC,0BAA0B,EAC1B,kBAAkB,EAClB,8BAA8B,EAC9B,8BAA8B,EAC9B,8BAA8B,EAC9B,kCAAkC,EAClC,0BAA0B,EAC1B,sBAAsB,EACtB,sCAAsC,EACtC,kCAAkC,EAClC,mCAAmC,EACnC,+BAA+B,EAC/B,WAAW,GACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Chat = exports.Completions = void 0;
|
|
5
|
-
var completions_1 = require("./completions.js");
|
|
6
|
-
Object.defineProperty(exports, "Completions", { enumerable: true, get: function () { return completions_1.Completions; } });
|
|
7
|
-
var chat_1 = require("./chat.js");
|
|
8
|
-
Object.defineProperty(exports, "Chat", { enumerable: true, get: function () { return chat_1.Chat; } });
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/chat/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDA6BuB;AADrB,0GAAA,WAAW,OAAA;AAEb,kCAAyC;AAArB,4FAAA,IAAI,OAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/chat/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EA4BL,WAAW,GACZ;OACM,EAAa,IAAI,EAAE"}
|
|
@@ -1,272 +0,0 @@
|
|
|
1
|
-
import * as Core from "../core.js";
|
|
2
|
-
import { APIPromise } from "../core.js";
|
|
3
|
-
import { APIResource } from "../resource.js";
|
|
4
|
-
import * as CompletionsAPI from "./completions.js";
|
|
5
|
-
import * as ChatCompletionsAPI from "./chat/completions.js";
|
|
6
|
-
import { Stream } from "../streaming.js";
|
|
7
|
-
export declare class Completions extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Creates a completion for the provided prompt and parameters.
|
|
10
|
-
*/
|
|
11
|
-
create(body: CompletionCreateParamsNonStreaming, options?: Core.RequestOptions): APIPromise<Completion>;
|
|
12
|
-
create(body: CompletionCreateParamsStreaming, options?: Core.RequestOptions): APIPromise<Stream<Completion>>;
|
|
13
|
-
create(body: CompletionCreateParamsBase, options?: Core.RequestOptions): APIPromise<Stream<Completion> | Completion>;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Represents a completion response from the API. Note: both the streamed and
|
|
17
|
-
* non-streamed response objects share the same shape (unlike the chat endpoint).
|
|
18
|
-
*/
|
|
19
|
-
export interface Completion {
|
|
20
|
-
/**
|
|
21
|
-
* A unique identifier for the completion.
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
/**
|
|
25
|
-
* The list of completion choices the model generated for the input prompt.
|
|
26
|
-
*/
|
|
27
|
-
choices: Array<CompletionChoice>;
|
|
28
|
-
/**
|
|
29
|
-
* The Unix timestamp (in seconds) of when the completion was created.
|
|
30
|
-
*/
|
|
31
|
-
created: number;
|
|
32
|
-
/**
|
|
33
|
-
* The model used for completion.
|
|
34
|
-
*/
|
|
35
|
-
model: string;
|
|
36
|
-
/**
|
|
37
|
-
* The object type, which is always "text_completion"
|
|
38
|
-
*/
|
|
39
|
-
object: 'text_completion';
|
|
40
|
-
/**
|
|
41
|
-
* This fingerprint represents the backend configuration that the model runs with.
|
|
42
|
-
*
|
|
43
|
-
* Can be used in conjunction with the `seed` request parameter to understand when
|
|
44
|
-
* backend changes have been made that might impact determinism.
|
|
45
|
-
*/
|
|
46
|
-
system_fingerprint?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Usage statistics for the completion request.
|
|
49
|
-
*/
|
|
50
|
-
usage?: CompletionUsage;
|
|
51
|
-
}
|
|
52
|
-
export interface CompletionChoice {
|
|
53
|
-
/**
|
|
54
|
-
* The reason the model stopped generating tokens. This will be `stop` if the model
|
|
55
|
-
* hit a natural stop point or a provided stop sequence, `length` if the maximum
|
|
56
|
-
* number of tokens specified in the request was reached, or `content_filter` if
|
|
57
|
-
* content was omitted due to a flag from our content filters.
|
|
58
|
-
*/
|
|
59
|
-
finish_reason: 'stop' | 'length' | 'content_filter';
|
|
60
|
-
index: number;
|
|
61
|
-
logprobs: CompletionChoice.Logprobs | null;
|
|
62
|
-
text: string;
|
|
63
|
-
}
|
|
64
|
-
export declare namespace CompletionChoice {
|
|
65
|
-
interface Logprobs {
|
|
66
|
-
text_offset?: Array<number>;
|
|
67
|
-
token_logprobs?: Array<number>;
|
|
68
|
-
tokens?: Array<string>;
|
|
69
|
-
top_logprobs?: Array<Record<string, number>>;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Usage statistics for the completion request.
|
|
74
|
-
*/
|
|
75
|
-
export interface CompletionUsage {
|
|
76
|
-
/**
|
|
77
|
-
* Number of tokens in the generated completion.
|
|
78
|
-
*/
|
|
79
|
-
completion_tokens: number;
|
|
80
|
-
/**
|
|
81
|
-
* Number of tokens in the prompt.
|
|
82
|
-
*/
|
|
83
|
-
prompt_tokens: number;
|
|
84
|
-
/**
|
|
85
|
-
* Total number of tokens used in the request (prompt + completion).
|
|
86
|
-
*/
|
|
87
|
-
total_tokens: number;
|
|
88
|
-
}
|
|
89
|
-
export type CompletionCreateParams = CompletionCreateParamsNonStreaming | CompletionCreateParamsStreaming;
|
|
90
|
-
export interface CompletionCreateParamsBase {
|
|
91
|
-
/**
|
|
92
|
-
* ID of the model to use. You can use the
|
|
93
|
-
* [List models](https://platform.openai.com/docs/api-reference/models/list) API to
|
|
94
|
-
* see all of your available models, or see our
|
|
95
|
-
* [Model overview](https://platform.openai.com/docs/models/overview) for
|
|
96
|
-
* descriptions of them.
|
|
97
|
-
*/
|
|
98
|
-
model: (string & {}) | 'gpt-3.5-turbo-instruct' | 'davinci-002' | 'babbage-002';
|
|
99
|
-
/**
|
|
100
|
-
* The prompt(s) to generate completions for, encoded as a string, array of
|
|
101
|
-
* strings, array of tokens, or array of token arrays.
|
|
102
|
-
*
|
|
103
|
-
* Note that <|endoftext|> is the document separator that the model sees during
|
|
104
|
-
* training, so if a prompt is not specified the model will generate as if from the
|
|
105
|
-
* beginning of a new document.
|
|
106
|
-
*/
|
|
107
|
-
prompt: string | Array<string> | Array<number> | Array<Array<number>> | null;
|
|
108
|
-
/**
|
|
109
|
-
* Generates `best_of` completions server-side and returns the "best" (the one with
|
|
110
|
-
* the highest log probability per token). Results cannot be streamed.
|
|
111
|
-
*
|
|
112
|
-
* When used with `n`, `best_of` controls the number of candidate completions and
|
|
113
|
-
* `n` specifies how many to return – `best_of` must be greater than `n`.
|
|
114
|
-
*
|
|
115
|
-
* **Note:** Because this parameter generates many completions, it can quickly
|
|
116
|
-
* consume your token quota. Use carefully and ensure that you have reasonable
|
|
117
|
-
* settings for `max_tokens` and `stop`.
|
|
118
|
-
*/
|
|
119
|
-
best_of?: number | null;
|
|
120
|
-
/**
|
|
121
|
-
* Echo back the prompt in addition to the completion
|
|
122
|
-
*/
|
|
123
|
-
echo?: boolean | null;
|
|
124
|
-
/**
|
|
125
|
-
* Number between -2.0 and 2.0. Positive values penalize new tokens based on their
|
|
126
|
-
* existing frequency in the text so far, decreasing the model's likelihood to
|
|
127
|
-
* repeat the same line verbatim.
|
|
128
|
-
*
|
|
129
|
-
* [See more information about frequency and presence penalties.](https://platform.openai.com/docs/guides/text-generation/parameter-details)
|
|
130
|
-
*/
|
|
131
|
-
frequency_penalty?: number | null;
|
|
132
|
-
/**
|
|
133
|
-
* Modify the likelihood of specified tokens appearing in the completion.
|
|
134
|
-
*
|
|
135
|
-
* Accepts a JSON object that maps tokens (specified by their token ID in the GPT
|
|
136
|
-
* tokenizer) to an associated bias value from -100 to 100. You can use this
|
|
137
|
-
* [tokenizer tool](/tokenizer?view=bpe) to convert text to token IDs.
|
|
138
|
-
* Mathematically, the bias is added to the logits generated by the model prior to
|
|
139
|
-
* sampling. The exact effect will vary per model, but values between -1 and 1
|
|
140
|
-
* should decrease or increase likelihood of selection; values like -100 or 100
|
|
141
|
-
* should result in a ban or exclusive selection of the relevant token.
|
|
142
|
-
*
|
|
143
|
-
* As an example, you can pass `{"50256": -100}` to prevent the <|endoftext|> token
|
|
144
|
-
* from being generated.
|
|
145
|
-
*/
|
|
146
|
-
logit_bias?: Record<string, number> | null;
|
|
147
|
-
/**
|
|
148
|
-
* Include the log probabilities on the `logprobs` most likely output tokens, as
|
|
149
|
-
* well the chosen tokens. For example, if `logprobs` is 5, the API will return a
|
|
150
|
-
* list of the 5 most likely tokens. The API will always return the `logprob` of
|
|
151
|
-
* the sampled token, so there may be up to `logprobs+1` elements in the response.
|
|
152
|
-
*
|
|
153
|
-
* The maximum value for `logprobs` is 5.
|
|
154
|
-
*/
|
|
155
|
-
logprobs?: number | null;
|
|
156
|
-
/**
|
|
157
|
-
* The maximum number of [tokens](/tokenizer) that can be generated in the
|
|
158
|
-
* completion.
|
|
159
|
-
*
|
|
160
|
-
* The token count of your prompt plus `max_tokens` cannot exceed the model's
|
|
161
|
-
* context length.
|
|
162
|
-
* [Example Python code](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken)
|
|
163
|
-
* for counting tokens.
|
|
164
|
-
*/
|
|
165
|
-
max_tokens?: number | null;
|
|
166
|
-
/**
|
|
167
|
-
* How many completions to generate for each prompt.
|
|
168
|
-
*
|
|
169
|
-
* **Note:** Because this parameter generates many completions, it can quickly
|
|
170
|
-
* consume your token quota. Use carefully and ensure that you have reasonable
|
|
171
|
-
* settings for `max_tokens` and `stop`.
|
|
172
|
-
*/
|
|
173
|
-
n?: number | null;
|
|
174
|
-
/**
|
|
175
|
-
* Number between -2.0 and 2.0. Positive values penalize new tokens based on
|
|
176
|
-
* whether they appear in the text so far, increasing the model's likelihood to
|
|
177
|
-
* talk about new topics.
|
|
178
|
-
*
|
|
179
|
-
* [See more information about frequency and presence penalties.](https://platform.openai.com/docs/guides/text-generation/parameter-details)
|
|
180
|
-
*/
|
|
181
|
-
presence_penalty?: number | null;
|
|
182
|
-
/**
|
|
183
|
-
* If specified, our system will make a best effort to sample deterministically,
|
|
184
|
-
* such that repeated requests with the same `seed` and parameters should return
|
|
185
|
-
* the same result.
|
|
186
|
-
*
|
|
187
|
-
* Determinism is not guaranteed, and you should refer to the `system_fingerprint`
|
|
188
|
-
* response parameter to monitor changes in the backend.
|
|
189
|
-
*/
|
|
190
|
-
seed?: number | null;
|
|
191
|
-
/**
|
|
192
|
-
* Up to 4 sequences where the API will stop generating further tokens. The
|
|
193
|
-
* returned text will not contain the stop sequence.
|
|
194
|
-
*/
|
|
195
|
-
stop?: string | null | Array<string>;
|
|
196
|
-
/**
|
|
197
|
-
* Whether to stream back partial progress. If set, tokens will be sent as
|
|
198
|
-
* data-only
|
|
199
|
-
* [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format)
|
|
200
|
-
* as they become available, with the stream terminated by a `data: [DONE]`
|
|
201
|
-
* message.
|
|
202
|
-
* [Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).
|
|
203
|
-
*/
|
|
204
|
-
stream?: boolean | null;
|
|
205
|
-
/**
|
|
206
|
-
* Options for streaming response. Only set this when you set `stream: true`.
|
|
207
|
-
*/
|
|
208
|
-
stream_options?: ChatCompletionsAPI.ChatCompletionStreamOptions | null;
|
|
209
|
-
/**
|
|
210
|
-
* The suffix that comes after a completion of inserted text.
|
|
211
|
-
*
|
|
212
|
-
* This parameter is only supported for `gpt-3.5-turbo-instruct`.
|
|
213
|
-
*/
|
|
214
|
-
suffix?: string | null;
|
|
215
|
-
/**
|
|
216
|
-
* What sampling temperature to use, between 0 and 2. Higher values like 0.8 will
|
|
217
|
-
* make the output more random, while lower values like 0.2 will make it more
|
|
218
|
-
* focused and deterministic.
|
|
219
|
-
*
|
|
220
|
-
* We generally recommend altering this or `top_p` but not both.
|
|
221
|
-
*/
|
|
222
|
-
temperature?: number | null;
|
|
223
|
-
/**
|
|
224
|
-
* An alternative to sampling with temperature, called nucleus sampling, where the
|
|
225
|
-
* model considers the results of the tokens with top_p probability mass. So 0.1
|
|
226
|
-
* means only the tokens comprising the top 10% probability mass are considered.
|
|
227
|
-
*
|
|
228
|
-
* We generally recommend altering this or `temperature` but not both.
|
|
229
|
-
*/
|
|
230
|
-
top_p?: number | null;
|
|
231
|
-
/**
|
|
232
|
-
* A unique identifier representing your end-user, which can help OpenAI to monitor
|
|
233
|
-
* and detect abuse.
|
|
234
|
-
* [Learn more](https://platform.openai.com/docs/guides/safety-best-practices/end-user-ids).
|
|
235
|
-
*/
|
|
236
|
-
user?: string;
|
|
237
|
-
}
|
|
238
|
-
export declare namespace CompletionCreateParams {
|
|
239
|
-
type CompletionCreateParamsNonStreaming = CompletionsAPI.CompletionCreateParamsNonStreaming;
|
|
240
|
-
type CompletionCreateParamsStreaming = CompletionsAPI.CompletionCreateParamsStreaming;
|
|
241
|
-
}
|
|
242
|
-
export interface CompletionCreateParamsNonStreaming extends CompletionCreateParamsBase {
|
|
243
|
-
/**
|
|
244
|
-
* Whether to stream back partial progress. If set, tokens will be sent as
|
|
245
|
-
* data-only
|
|
246
|
-
* [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format)
|
|
247
|
-
* as they become available, with the stream terminated by a `data: [DONE]`
|
|
248
|
-
* message.
|
|
249
|
-
* [Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).
|
|
250
|
-
*/
|
|
251
|
-
stream?: false | null;
|
|
252
|
-
}
|
|
253
|
-
export interface CompletionCreateParamsStreaming extends CompletionCreateParamsBase {
|
|
254
|
-
/**
|
|
255
|
-
* Whether to stream back partial progress. If set, tokens will be sent as
|
|
256
|
-
* data-only
|
|
257
|
-
* [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format)
|
|
258
|
-
* as they become available, with the stream terminated by a `data: [DONE]`
|
|
259
|
-
* message.
|
|
260
|
-
* [Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).
|
|
261
|
-
*/
|
|
262
|
-
stream: true;
|
|
263
|
-
}
|
|
264
|
-
export declare namespace Completions {
|
|
265
|
-
export import Completion = CompletionsAPI.Completion;
|
|
266
|
-
export import CompletionChoice = CompletionsAPI.CompletionChoice;
|
|
267
|
-
export import CompletionUsage = CompletionsAPI.CompletionUsage;
|
|
268
|
-
export import CompletionCreateParams = CompletionsAPI.CompletionCreateParams;
|
|
269
|
-
export import CompletionCreateParamsNonStreaming = CompletionsAPI.CompletionCreateParamsNonStreaming;
|
|
270
|
-
export import CompletionCreateParamsStreaming = CompletionsAPI.CompletionCreateParamsStreaming;
|
|
271
|
-
}
|
|
272
|
-
//# sourceMappingURL=completions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"completions.d.ts","sourceRoot":"","sources":["../src/resources/completions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,cAAc,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,kBAAkB,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,kCAAkC,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IACvG,MAAM,CACJ,IAAI,EAAE,+BAA+B,EACrC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IACjC,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC;CAS/C;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAEjC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM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,CAAC;CAC9F;AAED,MAAM,WAAW,kCAAmC,SAAQ,0BAA0B;IACpF;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,+BAAgC,SAAQ,0BAA0B;IACjF;;;;;;;OAOG;IACH,MAAM,EAAE,IAAI,CAAC;CACd;AAED,yBAAiB,WAAW,CAAC;IAC3B,MAAM,QAAQ,UAAU,GAAG,cAAc,CAAC,UAAU,CAAC;IACrD,MAAM,QAAQ,gBAAgB,GAAG,cAAc,CAAC,gBAAgB,CAAC;IACjE,MAAM,QAAQ,eAAe,GAAG,cAAc,CAAC,eAAe,CAAC;IAC/D,MAAM,QAAQ,sBAAsB,GAAG,cAAc,CAAC,sBAAsB,CAAC;IAC7E,MAAM,QAAQ,kCAAkC,GAAG,cAAc,CAAC,kCAAkC,CAAC;IACrG,MAAM,QAAQ,+BAA+B,GAAG,cAAc,CAAC,+BAA+B,CAAC;CAChG"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Completions = void 0;
|
|
5
|
-
const resource_1 = require("../resource.js");
|
|
6
|
-
class Completions extends resource_1.APIResource {
|
|
7
|
-
create(body, options) {
|
|
8
|
-
return this._client.post('/completions', { body, ...options, stream: body.stream ?? false });
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
exports.Completions = Completions;
|
|
12
|
-
(function (Completions) {
|
|
13
|
-
})(Completions = exports.Completions || (exports.Completions = {}));
|
|
14
|
-
//# sourceMappingURL=completions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"completions.js","sourceRoot":"","sources":["../src/resources/completions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAItF,6CAA0C;AAK1C,MAAa,WAAY,SAAQ,sBAAW;IAa1C,MAAM,CACJ,IAA4B,EAC5B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,KAAK,EAAE,CAEzD,CAAC;IACrC,CAAC;CACF;AArBD,kCAqBC;AAmSD,WAAiB,WAAW;AAO5B,CAAC,EAPgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAO3B"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../resource.mjs";
|
|
3
|
-
export class Completions extends APIResource {
|
|
4
|
-
create(body, options) {
|
|
5
|
-
return this._client.post('/completions', { body, ...options, stream: body.stream ?? false });
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
(function (Completions) {
|
|
9
|
-
})(Completions || (Completions = {}));
|
|
10
|
-
//# sourceMappingURL=completions.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"completions.mjs","sourceRoot":"","sources":["../src/resources/completions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAI/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,WAAY,SAAQ,WAAW;IAa1C,MAAM,CACJ,IAA4B,EAC5B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,KAAK,EAAE,CAEzD,CAAC;IACrC,CAAC;CACF;AAmSD,WAAiB,WAAW;AAO5B,CAAC,EAPgB,WAAW,KAAX,WAAW,QAO3B"}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import * as Core from "../core.js";
|
|
2
|
-
import { APIResource } from "../resource.js";
|
|
3
|
-
import * as EmbeddingsAPI from "./embeddings.js";
|
|
4
|
-
export declare class Embeddings extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* Creates an embedding vector representing the input text.
|
|
7
|
-
*/
|
|
8
|
-
create(body: EmbeddingCreateParams, options?: Core.RequestOptions): Core.APIPromise<CreateEmbeddingResponse>;
|
|
9
|
-
}
|
|
10
|
-
export interface CreateEmbeddingResponse {
|
|
11
|
-
/**
|
|
12
|
-
* The list of embeddings generated by the model.
|
|
13
|
-
*/
|
|
14
|
-
data: Array<Embedding>;
|
|
15
|
-
/**
|
|
16
|
-
* The name of the model used to generate the embedding.
|
|
17
|
-
*/
|
|
18
|
-
model: string;
|
|
19
|
-
/**
|
|
20
|
-
* The object type, which is always "list".
|
|
21
|
-
*/
|
|
22
|
-
object: 'list';
|
|
23
|
-
/**
|
|
24
|
-
* The usage information for the request.
|
|
25
|
-
*/
|
|
26
|
-
usage: CreateEmbeddingResponse.Usage;
|
|
27
|
-
}
|
|
28
|
-
export declare namespace CreateEmbeddingResponse {
|
|
29
|
-
/**
|
|
30
|
-
* The usage information for the request.
|
|
31
|
-
*/
|
|
32
|
-
interface Usage {
|
|
33
|
-
/**
|
|
34
|
-
* The number of tokens used by the prompt.
|
|
35
|
-
*/
|
|
36
|
-
prompt_tokens: number;
|
|
37
|
-
/**
|
|
38
|
-
* The total number of tokens used by the request.
|
|
39
|
-
*/
|
|
40
|
-
total_tokens: number;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Represents an embedding vector returned by embedding endpoint.
|
|
45
|
-
*/
|
|
46
|
-
export interface Embedding {
|
|
47
|
-
/**
|
|
48
|
-
* The embedding vector, which is a list of floats. The length of vector depends on
|
|
49
|
-
* the model as listed in the
|
|
50
|
-
* [embedding guide](https://platform.openai.com/docs/guides/embeddings).
|
|
51
|
-
*/
|
|
52
|
-
embedding: Array<number>;
|
|
53
|
-
/**
|
|
54
|
-
* The index of the embedding in the list of embeddings.
|
|
55
|
-
*/
|
|
56
|
-
index: number;
|
|
57
|
-
/**
|
|
58
|
-
* The object type, which is always "embedding".
|
|
59
|
-
*/
|
|
60
|
-
object: 'embedding';
|
|
61
|
-
}
|
|
62
|
-
export interface EmbeddingCreateParams {
|
|
63
|
-
/**
|
|
64
|
-
* Input text to embed, encoded as a string or array of tokens. To embed multiple
|
|
65
|
-
* inputs in a single request, pass an array of strings or array of token arrays.
|
|
66
|
-
* The input must not exceed the max input tokens for the model (8192 tokens for
|
|
67
|
-
* `text-embedding-ada-002`), cannot be an empty string, and any array must be 2048
|
|
68
|
-
* dimensions or less.
|
|
69
|
-
* [Example Python code](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken)
|
|
70
|
-
* for counting tokens.
|
|
71
|
-
*/
|
|
72
|
-
input: string | Array<string> | Array<number> | Array<Array<number>>;
|
|
73
|
-
/**
|
|
74
|
-
* ID of the model to use. You can use the
|
|
75
|
-
* [List models](https://platform.openai.com/docs/api-reference/models/list) API to
|
|
76
|
-
* see all of your available models, or see our
|
|
77
|
-
* [Model overview](https://platform.openai.com/docs/models/overview) for
|
|
78
|
-
* descriptions of them.
|
|
79
|
-
*/
|
|
80
|
-
model: (string & {}) | 'text-embedding-ada-002' | 'text-embedding-3-small' | 'text-embedding-3-large';
|
|
81
|
-
/**
|
|
82
|
-
* The number of dimensions the resulting output embeddings should have. Only
|
|
83
|
-
* supported in `text-embedding-3` and later models.
|
|
84
|
-
*/
|
|
85
|
-
dimensions?: number;
|
|
86
|
-
/**
|
|
87
|
-
* The format to return the embeddings in. Can be either `float` or
|
|
88
|
-
* [`base64`](https://pypi.org/project/pybase64/).
|
|
89
|
-
*/
|
|
90
|
-
encoding_format?: 'float' | 'base64';
|
|
91
|
-
/**
|
|
92
|
-
* A unique identifier representing your end-user, which can help OpenAI to monitor
|
|
93
|
-
* and detect abuse.
|
|
94
|
-
* [Learn more](https://platform.openai.com/docs/guides/safety-best-practices/end-user-ids).
|
|
95
|
-
*/
|
|
96
|
-
user?: string;
|
|
97
|
-
}
|
|
98
|
-
export declare namespace Embeddings {
|
|
99
|
-
export import CreateEmbeddingResponse = EmbeddingsAPI.CreateEmbeddingResponse;
|
|
100
|
-
export import Embedding = EmbeddingsAPI.Embedding;
|
|
101
|
-
export import EmbeddingCreateParams = EmbeddingsAPI.EmbeddingCreateParams;
|
|
102
|
-
}
|
|
103
|
-
//# sourceMappingURL=embeddings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"embeddings.d.ts","sourceRoot":"","sources":["../src/resources/embeddings.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,aAAa,MAAM,cAAc,CAAC;AAE9C,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,qBAAqB,EAC3B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,uBAAuB,CAAC;CAG5C;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAEvB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,EAAE,uBAAuB,CAAC,KAAK,CAAC;CACtC;AAED,yBAAiB,uBAAuB,CAAC;IACvC;;OAEG;IACH,UAAiB,KAAK;QACpB;;WAEG;QACH,aAAa,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;KACtB;CACF;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEzB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,EAAE,WAAW,CAAC;CACrB;AAED,MAAM,WAAW,qBAAqB;IACpC;;;;;;;;OAQG;IACH,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IAErE;;;;;;OAMG;IACH,KAAK,EAAE,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,wBAAwB,GAAG,wBAAwB,GAAG,wBAAwB,CAAC;IAEtG;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAErC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,yBAAiB,UAAU,CAAC;IAC1B,MAAM,QAAQ,uBAAuB,GAAG,aAAa,CAAC,uBAAuB,CAAC;IAC9E,MAAM,QAAQ,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC;IAClD,MAAM,QAAQ,qBAAqB,GAAG,aAAa,CAAC,qBAAqB,CAAC;CAC3E"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Embeddings = void 0;
|
|
5
|
-
const resource_1 = require("../resource.js");
|
|
6
|
-
class Embeddings extends resource_1.APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* Creates an embedding vector representing the input text.
|
|
9
|
-
*/
|
|
10
|
-
create(body, options) {
|
|
11
|
-
return this._client.post('/embeddings', { body, ...options });
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
exports.Embeddings = Embeddings;
|
|
15
|
-
(function (Embeddings) {
|
|
16
|
-
})(Embeddings = exports.Embeddings || (exports.Embeddings = {}));
|
|
17
|
-
//# sourceMappingURL=embeddings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"embeddings.js","sourceRoot":"","sources":["../src/resources/embeddings.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAGtF,6CAA0C;AAG1C,MAAa,UAAW,SAAQ,sBAAW;IACzC;;OAEG;IACH,MAAM,CACJ,IAA2B,EAC3B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;CACF;AAVD,gCAUC;AAwGD,WAAiB,UAAU;AAI3B,CAAC,EAJgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAI1B"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../resource.mjs";
|
|
3
|
-
export class Embeddings extends APIResource {
|
|
4
|
-
/**
|
|
5
|
-
* Creates an embedding vector representing the input text.
|
|
6
|
-
*/
|
|
7
|
-
create(body, options) {
|
|
8
|
-
return this._client.post('/embeddings', { body, ...options });
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
(function (Embeddings) {
|
|
12
|
-
})(Embeddings || (Embeddings = {}));
|
|
13
|
-
//# sourceMappingURL=embeddings.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"embeddings.mjs","sourceRoot":"","sources":["../src/resources/embeddings.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAG/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,MAAM,CACJ,IAA2B,EAC3B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChE,CAAC;CACF;AAwGD,WAAiB,UAAU;AAI3B,CAAC,EAJgB,UAAU,KAAV,UAAU,QAI1B"}
|