Skip to content

Latest commit

 

History

History
110 lines (70 loc) · 4.62 KB

api.md

File metadata and controls

110 lines (70 loc) · 4.62 KB

Together

Types:

Methods:

  • client.rerank({ ...params }) -> RerankResponse

Chat

Completions

Types:

Methods:

  • client.chat.completions.create({ ...params }) -> ChatCompletion

Completions

Types:

Methods:

  • client.completions.create({ ...params }) -> Completion

Embeddings

Types:

Methods:

  • client.embeddings.create({ ...params }) -> Embedding

Files

Types:

Methods:

  • client.files.retrieve(id) -> FileRetrieveResponse
  • client.files.list() -> FileListResponse
  • client.files.delete(id) -> FileDeleteResponse
  • client.files.content(id) -> Response

FineTune

Types:

Methods:

  • client.fineTune.create({ ...params }) -> FineTune
  • client.fineTune.retrieve(id) -> FineTune
  • client.fineTune.list() -> FineTuneListResponse
  • client.fineTune.cancel(id) -> FineTune
  • client.fineTune.download({ ...params }) -> FineTuneDownloadResponse
  • client.fineTune.listEvents(id) -> FineTuneEvent

Images

Types:

Methods:

  • client.images.create({ ...params }) -> ImageFile

Models

Types:

Methods:

  • client.models.list() -> ModelListResponse