For the complete documentation index, see llms.txt. This page is also available as Markdown.

iai score-configs create

Create a score config

Synopsis

Create a new scoring configuration.

This command requires API key authentication.

iai score-configs create [flags]

Examples

  iai score-configs create --name accuracy --data-type NUMERIC --min-value 0 --max-value 1
  iai score-configs create --name sentiment --data-type CATEGORICAL --categories '["positive","neutral","negative"]'
  iai score-configs create --name passed --data-type BOOLEAN --description "Did the response pass review"
  iai score-configs create --name accuracy --data-type NUMERIC --min-value 0 --max-value 1 --json

Options

      --categories string     Categories as JSON array
      --data-type string      Data type: NUMERIC, CATEGORICAL, or BOOLEAN (required)
      --description string    Config description
  -h, --help                  help for create
      --json                  Output raw API response as JSON
      --max-value float       Maximum value
      --min-value float       Minimum value
      --name string           Config name (required)
  -o, --organization string   Organization name that owns the project
  -p, --project string        Project name
      --yaml                  Output raw API response as YAML

Options inherited from parent commands

SEE ALSO

Last updated

Was this helpful?