メインコンテンツへスキップ
POST
/
evaluations
/
rescore
評価を再スコアリング
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
必須

予測が再スコアされる評価 run です

wb_user_id
string | null

直接設定しないでください。サーバーがこのフィールドを自動的に設定します。

レスポンス

成功レスポンス

再スコアリクエストへのレスポンスです。

call_id
string
必須

/evaluations/status をポーリングするための Call ID です

evaluation_run_id
string
必須

新しく作成された EvaluationRun ID です