Skip to content

bmel:max-of

Category: Array & Statistics · Returns: bmel:number

Signature
bmel:max-of(array: bmel:array<number>)

Description

Returns the maximum numeric value in an array.

Arguments

Parameter Type Required Description
array bmel:array<number> The array of numeric values.

Examples

Slowest LLM call of a run
bmel:max-of({createChatCompletion:Response Payload[]}.$.latency_ms)
Most expensive item
bmel:max-of({getOrder:Response Payload}.$.items.price)

← Back to BMEL Reference