Skip to content
Sign in Create account

ChatCompletionsResponse

object

  • choices array of object

    Each item:

    • finish_reason string
    • index integer
    • message object
      • content string or null
      • role string
  • created integer
  • id string
  • model string
  • object string
    Example: "chat.completion"
  • usage object
    • completion_tokens integer
    • prompt_tokens integer
    • total_tokens integer