Skip to content

Latest commit

 

History

History
184 lines (122 loc) · 9.44 KB

File metadata and controls

184 lines (122 loc) · 9.44 KB

Shared

Types:

Applications

Types:

Methods:

  • client.applications.retrieve(applicationID) -> ApplicationRetrieveResponse
  • client.applications.list({ ...params }) -> ApplicationListResponsesCursorPage
  • client.applications.generateContent(applicationID, { ...params }) -> ApplicationGenerateContentResponse

Jobs

Types:

Methods:

  • client.applications.jobs.create(applicationID, { ...params }) -> JobCreateResponse
  • client.applications.jobs.retrieve(jobID) -> ApplicationGenerateAsyncResponse
  • client.applications.jobs.list(applicationID, { ...params }) -> ApplicationGenerateAsyncResponsesApplicationJobsOffset
  • client.applications.jobs.retry(jobID) -> JobRetryResponse

Graphs

Types:

Methods:

  • client.applications.graphs.update(applicationID, { ...params }) -> ApplicationGraphsResponse
  • client.applications.graphs.list(applicationID) -> ApplicationGraphsResponse

Chat

Types:

Methods:

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

Completions

Types:

Methods:

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

Models

Types:

Methods:

  • client.models.list() -> ModelListResponse

Graphs

Types:

Methods:

  • client.graphs.create({ ...params }) -> GraphCreateResponse
  • client.graphs.retrieve(graphID) -> Graph
  • client.graphs.update(graphID, { ...params }) -> GraphUpdateResponse
  • client.graphs.list({ ...params }) -> GraphsCursorPage
  • client.graphs.delete(graphID) -> GraphDeleteResponse
  • client.graphs.addFileToGraph(graphID, { ...params }) -> File
  • client.graphs.question({ ...params }) -> Question
  • client.graphs.removeFileFromGraph(fileID, { ...params }) -> GraphRemoveFileFromGraphResponse

Files

Types:

Methods:

  • client.files.retrieve(fileID) -> File
  • client.files.list({ ...params }) -> FilesCursorPage
  • client.files.delete(fileID) -> FileDeleteResponse
  • client.files.download(fileID) -> Response
  • client.files.retry({ ...params }) -> FileRetryResponse
  • client.files.upload({ ...params }) -> File

Tools

Types:

Methods:

  • client.tools.aiDetect({ ...params }) -> ToolAIDetectResponse
  • client.tools.contextAwareSplitting({ ...params }) -> ToolContextAwareSplittingResponse
  • client.tools.parsePdf(fileID, { ...params }) -> ToolParsePdfResponse
  • client.tools.webSearch({ ...params }) -> ToolWebSearchResponse

Comprehend

Types:

Methods:

  • client.tools.comprehend.medical({ ...params }) -> ComprehendMedicalResponse

Translation

Types:

Methods:

  • client.translation.translate({ ...params }) -> TranslationResponse

Vision

Types:

Methods:

  • client.vision.analyze({ ...params }) -> VisionResponse