メインコンテンツへスキップ
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

evaluation run の名前

eval_attributes
Eval Attributes · object

evaluation のオプション属性

レスポンス

正常な応答

digest
string
必須

作成された evaluation のダイジェスト値

object_id
string
必須

作成された evaluation の ID

version_index
integer
必須

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

evaluation_ref
string
必須

作成された evaluation への完全な参照