Arize Phoenix TS
    Preparing search index...
    • 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].

      Parameters

      • __namedParameters: { providerMetadata: unknown; questionId: string }

      Returns number | undefined

      the confidence, or undefined when the provider reports none