bt scorers manages Braintrust scorers from the CLI. Use bt scorers create to create prompt-based LLM scorers and classifiers. The other subcommands are aliases for bt functions scoped to scorers.
Subcommands
Examples
--messages, --choice-scores, --classifications, --metadata, and --response-format accept inline values, @PATH to read from a file, or - when piping content from stdin.
Braintrust validates a scorer definition before saving it. Validation errors identify invalid or unsupported model parameters and may suggest a corrected value or recommend removing the parameter. With --json, validation errors appear in error.message.
Command-specific flags
Prompt options
bt scorers create also accepts prompt configuration flags:
For shared function behavior and flags, see
bt functions.