Skip to content

@ralphschuler.ai function caller.index.<internal>.OpenAI.Edits

github-actions edited this page Nov 26, 2023 · 1 revision

Class: Edits

<internal>.OpenAI.Edits

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Edits(client): Edits

Parameters

Name Type
client OpenAI

Returns

Edits

Inherited from

APIResource.constructor

Defined in

node_modules/openai/resource.d.ts:4

Properties

_client

Protected _client: OpenAI

Inherited from

APIResource._client

Defined in

node_modules/openai/resource.d.ts:3

Methods

create

create(body, options?): APIPromise<Edit>

Creates a new edit for the provided input, instruction, and parameters.

Parameters

Name Type
body EditCreateParams
options? RequestOptions<Readable | Record<string, unknown>>

Returns

APIPromise<Edit>

Deprecated

The Edits API is deprecated; please use Chat Completions instead.

https://openai.com/blog/gpt-4-api-general-availability#deprecation-of-the-edits-api

Defined in

node_modules/openai/resources/edits.d.ts:13

Typescript Libraries

Modules

Namespaces

Clone this wiki locally