지연된 대화 조회

UI 소개

항목명
항목소개
비고

대화 ID

대화 지연 생성시 획득한 request id 입력

실행 결과

데이터 값
데이터 내용

id

응답 생성 ID

object

응답 객체 형태 : chat.completion 고정값

model

사용 모델

created

생성일시 타임스탬프

request_id

대화 지연 생성 옵션 선택시 반환, 설정하지 않았을 경우 해당 값은 반환되지 않음

choices[]

요청 프롬프트에 따른 응답 선택 목록

choices[].index

응답 선택 위치

choices[].finish_reason

텍스트 생성 중단 사유 - stop : 생성 완료 - length : Max Length 초과

choices[].message

메세지 내용

choices[].message.role

메세지 역할 : system, user, assistant

choices[].message.content

메세지 내용

choices[].message.refusal

모델의 응답 거부여부 (정상 호출시 값은 null)

usage

토큰 사용량 정보

usage.promp_tokens

요청 메세지 토큰 수

usage.completion_tokens

응답 메세지 토큰 수

usage.total_tokens

요청, 응답을 포함한 메세지 토큰 수 총합

usage.prompt_token_details

토큰 상세 사용 내역

usage.prompt_token_details.text_tokens

텍스트 생성 사용 토큰 수

usage.prompt_token_details.audio_tokens

음성 생성 사용 토큰 수

usage.prompt_token_details.image_tokens

이미지 생성 사용 토큰 수

usage.prompt_token_details.cached_tokens

사용된 캐시된 토큰 수

Last updated

Was this helpful?