Interface ApiResponseBase<Output>

Type Parameters

  • Output

Hierarchy

  • ApiResponseBase

Properties

Properties

costs: Record<string, ApiModelCosts>

A record with the name of the model and the number of tokens that was used.

outputs: Output[][]

List containing the model answer to your request, and useful metadata. Has the same form than batching request.

request_id: string

A unique identifier of the request

Generated using TypeDoc