Read one question's confidence from a decision result's provider metadata. The decision model spec has no confidence field, but providers that report one (OpenAI, TypeSafe) put it in their provider metadata as confidence[questionId].
confidence[questionId]
the confidence, or undefined when the provider reports none
undefined
Read one question's confidence from a decision result's provider metadata. The decision model spec has no confidence field, but providers that report one (OpenAI, TypeSafe) put it in their provider metadata as
confidence[questionId].