メインコンテンツへスキップ
POST
/
v2
/
{entity}
/
{project}
/
evaluations
評価の作成
curl --request POST \
  --url https://api.example.com/v2/{entity}/{project}/evaluations \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "dataset": "<string>",
  "description": "<string>",
  "scorers": [
    "<string>"
  ],
  "trials": 1,
  "evaluation_name": "<string>",
  "eval_attributes": {}
}
'
{
  "digest": "<string>",
  "object_id": "<string>",
  "version_index": 123,
  "evaluation_ref": "<string>"
}

承認

Authorization
string
header
必須

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

パスパラメータ

entity
string
必須
project
string
必須

ボディ

application/json
name
string
必須

この評価の名前です。同じ名前の評価はまとめてバージョン管理されます。

dataset
string
必須

データセットへの参照(weave:// URI)

description
string | null

この評価の説明

scorers
string[] | null

scorer 参照のリスト(weave:// URI)

trials
integer
デフォルト:1

実行する試行回数

evaluation_name
string | null

評価 run の名前

eval_attributes
Eval Attributes · object

評価のオプション属性

レスポンス

正常なレスポンス

digest
string
必須

作成された評価のダイジェスト

object_id
string
必須

作成された評価の ID

version_index
integer
必須

作成された評価のバージョンインデックス

evaluation_ref
string
必須

作成された評価への完全参照