customOutputFormatConfig property

CustomOutputFormatConfig? customOutputFormatConfig
final

Optional. CustomOutputFormatConfig allows customization of metric output. By default, metrics return a score and explanation. When this config is set, the default output is replaced with either:

  • The raw output string.
  • A parsed output based on a user-defined schema. If a custom format is chosen, the score and explanation fields in the corresponding metric result will be empty.

Implementation

final CustomOutputFormatConfig? customOutputFormatConfig;