Nous.Eval.Scorers.NotContains (nous v0.21.1)

Copy Markdown View Source

Passes when the output text contains none of the given substrings.

{Nous.Eval.Scorers.NotContains, values: ["As an AI", "I cannot"], case_sensitive: false}

Options

  • :values - non-empty list of non-empty strings (required)
  • :case_sensitive - default true

details.found lists the indexes of the values present. A failed run fails with reason "run_failed" (no output proves nothing); non-text output is an :invalid_config error.