bmel:avgInlineOf¶
Category: Math · Returns: bmel:number
Variadic function
Accepts a variable number of arguments of the same type.
bmel:avgInlineOf(values: bmel:number...)
Description¶
Returns the arithmetic mean of two or more inline numeric arguments.
Arguments¶
| Parameter | Type | Required | Description |
|---|---|---|---|
values ... | bmel:number | ✅ | Two or more numeric values to average. |
Example¶
bmel:avgInlineOf({scores:Response Payload}.$.toxicity, {scores:Response Payload}.$.bias, {scores:Response Payload}.$.relevance)