Describes a question to ask the model and the answers to accept.
Arguments
- question
Question to ask the model.
- ...
Answers to accept, each a
tool_call(), or a list oftool_call()when the answer takes several calls, in any order and among others. With no answer, the model must call no tool.
Examples
eval_case(
"Show me my long runs in 2024.",
tool_call(
"get_runs",
year = 2024,
type = "long"
)
)
#> $question
#> [1] "Show me my long runs in 2024."
#>
#> $answers
#> $answers[[1]]
#> $answers[[1]][[1]]
#> $answers[[1]][[1]]$tool
#> [1] "get_runs"
#>
#> $answers[[1]][[1]]$args
#> $answers[[1]][[1]]$args$year
#> [1] 2024
#>
#> $answers[[1]][[1]]$args$type
#> [1] "long"
#>
#>
#>
#>
#>