lve record repository/dummy/math/a_plus_b_multirun/openai--gpt-35-turbo
This dummy LVE demonstrates addition and the use of MultiRunLambdaChecker that requires a + b to be equal to the response..
[bubble:user|Compute [{a}(empty=true)|] + [{b}(empty=true)|]. Write a single number.]
[bubble:user|Compute [{b}(empty=true)|] + [{a}(empty=true)|]. Write a single number.]
MultiRunLambdaChecker
func: lambda rs, a, b: all(int(r) == int(a) + int(b) for r in rs)
Last updated 03.12.2023 20:27:33