메인 콘텐츠로 건너뛰기
POST
/
evaluations
/
rescore
Evaluation 재채점
curl --request POST \
  --url https://api.example.com/evaluations/rescore \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "scorer_refs": [
    "<string>"
  ],
  "source_evaluation_run_id": "<string>",
  "wb_user_id": "<string>"
}
'
{
  "call_id": "<string>",
  "evaluation_run_id": "<string>"
}

인증

Authorization
string
header
필수

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

본문

application/json

서버에서 설정한 필드를 포함한 전체 재채점 요청입니다.

project_id
string
필수
scorer_refs
string[]
필수

적용할 Scorer 레퍼런스(weave:// URI)이며, 비어 있으면 안 됩니다.

Minimum array length: 1
source_evaluation_run_id
string
필수

예측을 재채점할 evaluation run입니다.

wb_user_id
string | null

직접 설정하지 마세요. 서버가 이 필드를 자동으로 채웁니다.

응답

성공 응답

재채점 요청에 대한 응답입니다.

call_id
string
필수

/evaluations/status 폴링용 Call ID입니다.

evaluation_run_id
string
필수

새로 생성된 EvaluationRun ID입니다.