Create

Create an evaluator within your organization.

Body Params
string
required
length between 1 and 255

The name of the evaluator.

string
required
length ≤ 255

The description of the evaluator.

string
enum
required

Whether this evaluator is target-free or target-required.

Allowed:
string
enum
required

The type of the return value of the evaluator.

Allowed:
string

The code for the evaluator. This code will be executed in a sandboxed environment.

model_config
object

The model configuration used to generate.

string
enum
required

The type of the evaluator.

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json