Skip to content

채팅 완료 객체

매개변수유형설명
idstring채팅 완료의 고유 식별자
choicesarray채팅 완료 선택 목록. n이 1보다 크면 여러 선택지가 있을 수 있음
createdinteger채팅 완료가 생성된 Unix 타임스탬프(초)
modelstring채팅 완료에 사용된 모델
system_fingerprintstring모델이 실행된 백엔드 구성을 나타내는 지문
objectstring객체 유형, 항상 chat.completion
usageobject완료 요청의 사용 통계
completion_tokensinteger생성된 완료의 토큰 수
prompt_tokensinteger프롬프트의 토큰 수
total_tokensinteger요청에서 사용된 총 토큰 수(프롬프트 + 완료)
JSON
{
  "id": "chatcmpl-123",
  "object": "chat.completion",
  "created": 1677652288,
  "model": "gpt-3.5-turbo-0613",
  "system_fingerprint": "fp_44709d6fcb",
  "choices": [{
    "index": 0,
    "message": {
      "role": "assistant",
      "content": "\n\nHello there, how may I assist you today?",
    },
    "finish_reason": "stop"
  }],
  "usage": {
    "prompt_tokens": 9,
    "completion_tokens": 12,
    "total_tokens": 21
  }
}