Skip to content

Latest commit

 

History

History
90 lines (58 loc) · 3.8 KB

api.md

File metadata and controls

90 lines (58 loc) · 3.8 KB

Shared

Types:

Completions

Types:

Chat

Completions

Types:

Methods:

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

Embeddings

Types:

Methods:

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

Audio

Transcriptions

Types:

Methods:

  • client.audio.transcriptions.create({ ...params }) -> Transcription

Translations

Types:

Methods:

  • client.audio.translations.create({ ...params }) -> Translation

Models

Types:

Methods:

  • client.models.retrieve(model) -> Model
  • client.models.list() -> ModelListResponse
  • client.models.delete(model) -> ModelDeleted