Fetch current scorer details from the API.
Optionaloptions: RequestOptions<unknown>Request options
Current scorer details
Update the scorer's type or bash script.
Update parameters
Optionaloptions: RequestOptions<unknown>Request options
Updated scorer details
Run the scorer against the provided context and return the result.
Validation parameters
Optionaloptions: RequestOptions<unknown>Request options
Validation result with score
Object-oriented interface for working with custom Scorers.
Remarks
Overview
The
Scorerclass provides a high-level, object-oriented API for managing custom scorers. Scorers define bash scripts that produce a score in the range [0.0, 1.0] for scenario runs.Quickstart