chooses

fun chooses(option: String, confidence: Double = 1.0, usage: TokenUsage? = null)

The model picks option.

Parameters

confidence

how clearly the option won, from 0 to 1, to test what a graph does with a decision the model is not sure of.

usage

the tokens the provider reports for this decision.