Socket
Socket
Sign inDemoInstall

openai

Package Overview
Dependencies
Maintainers
5
Versions
190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openai - npm Package Compare versions

Comparing version 4.42.0 to 4.43.0

8

CHANGELOG.md
# Changelog
## 4.43.0 (2024-05-08)
Full Changelog: [v4.42.0...v4.43.0](https://github.com/openai/openai-node/compare/v4.42.0...v4.43.0)
### Features
* **api:** adding file purposes ([#831](https://github.com/openai/openai-node/issues/831)) ([a62b877](https://github.com/openai/openai-node/commit/a62b8779ff7261cdd6aa7bf72fb6407cc7e3fd21))
## 4.42.0 (2024-05-06)

@@ -4,0 +12,0 @@

2

package.json
{
"name": "openai",
"version": "4.42.0",
"version": "4.43.0",
"description": "The official TypeScript library for the OpenAI API",

@@ -5,0 +5,0 @@ "author": "OpenAI <support@openai.com>",

@@ -22,3 +22,3 @@ # OpenAI Node API Library

```ts
import OpenAI from 'https://deno.land/x/openai@v4.42.0/mod.ts';
import OpenAI from 'https://deno.land/x/openai@v4.43.0/mod.ts';
```

@@ -25,0 +25,0 @@

@@ -89,6 +89,7 @@ import * as Core from 'openai/core';

/**
* The intended purpose of the file. Supported values are `fine-tune`,
* `fine-tune-results`, `assistants`, and `assistants_output`.
* The intended purpose of the file. Supported values are `assistants`,
* `assistants_output`, `batch`, `batch_output`, `fine-tune`, and
* `fine-tune-results`.
*/
purpose: 'fine-tune' | 'fine-tune-results' | 'assistants' | 'assistants_output';
purpose: 'assistants' | 'assistants_output' | 'batch' | 'batch_output' | 'fine-tune' | 'fine-tune-results';
/**

@@ -113,10 +114,9 @@ * @deprecated: Deprecated. The current status of the file, which can be either

*
* Use "fine-tune" for
* [Fine-tuning](https://platform.openai.com/docs/api-reference/fine-tuning) and
* "assistants" for
* Use "assistants" for
* [Assistants](https://platform.openai.com/docs/api-reference/assistants) and
* [Messages](https://platform.openai.com/docs/api-reference/messages). This allows
* us to validate the format of the uploaded file is correct for fine-tuning.
* [Messages](https://platform.openai.com/docs/api-reference/messages), "batch" for
* [Batch API](https://platform.openai.com/docs/guides/batch), and "fine-tune" for
* [Fine-tuning](https://platform.openai.com/docs/api-reference/fine-tuning).
*/
purpose: 'fine-tune' | 'assistants';
purpose: 'assistants' | 'batch' | 'fine-tune';
}

@@ -123,0 +123,0 @@ export interface FileListParams {

@@ -151,6 +151,7 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

/**
* The intended purpose of the file. Supported values are `fine-tune`,
* `fine-tune-results`, `assistants`, and `assistants_output`.
* The intended purpose of the file. Supported values are `assistants`,
* `assistants_output`, `batch`, `batch_output`, `fine-tune`, and
* `fine-tune-results`.
*/
purpose: 'fine-tune' | 'fine-tune-results' | 'assistants' | 'assistants_output';
purpose: 'assistants' | 'assistants_output' | 'batch' | 'batch_output' | 'fine-tune' | 'fine-tune-results';

@@ -179,10 +180,9 @@ /**

*
* Use "fine-tune" for
* [Fine-tuning](https://platform.openai.com/docs/api-reference/fine-tuning) and
* "assistants" for
* Use "assistants" for
* [Assistants](https://platform.openai.com/docs/api-reference/assistants) and
* [Messages](https://platform.openai.com/docs/api-reference/messages). This allows
* us to validate the format of the uploaded file is correct for fine-tuning.
* [Messages](https://platform.openai.com/docs/api-reference/messages), "batch" for
* [Batch API](https://platform.openai.com/docs/guides/batch), and "fine-tune" for
* [Fine-tuning](https://platform.openai.com/docs/api-reference/fine-tuning).
*/
purpose: 'fine-tune' | 'assistants';
purpose: 'assistants' | 'batch' | 'fine-tune';
}

@@ -189,0 +189,0 @@

@@ -1,1 +0,1 @@

export const VERSION = '4.42.0'; // x-release-please-version
export const VERSION = '4.43.0'; // x-release-please-version

@@ -1,2 +0,2 @@

export declare const VERSION = "4.42.0";
export declare const VERSION = "4.43.0";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VERSION = void 0;
exports.VERSION = '4.42.0'; // x-release-please-version
exports.VERSION = '4.43.0'; // x-release-please-version
//# sourceMappingURL=version.js.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc