메인 콘텐츠로 건너뛰기
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

스코어러 레퍼런스 목록(weave:// URI)

trials
integer
기본값:1

실행할 trial 수

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에 대한 전체 레퍼런스