Evaluate Responses Against Benchmark
rai_benchmarkEvaluate pre-collected model responses against truthfulqa, bbq, or hellaswag benchmark suites to measure factual accuracy, bias, and reasoning.
Instructions
Evaluate pre-collected model responses against a standard benchmark suite. Suites: truthfulqa (factual accuracy), bbq (bias in questions), hellaswag (reasoning). Call rai_benchmark_prompts first to get the question set, collect responses, then pass them here.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model_name": "<model_name>",
"provider": "<provider>",
"responses": "<responses>"
},
"name": "rai_benchmark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| suite | No | truthfulqa | |
| provider | Yes | ||
| responses | Yes | Map of sample_id → model response text | |
| model_name | Yes |