# `Nous.Eval.Scorers.Contains`
[🔗](https://github.com/nyo16/nous/blob/v0.21.1/lib/nous/eval/scorers/contains.ex#L1)

Passes when the output text contains the given substrings.

    {Nous.Eval.Scorers.Contains, values: ["refund", "order 123"], mode: :all}

## Options

  * `:values` - non-empty list of non-empty strings (required; an empty
    list is a configuration error, never a vacuous pass)
  * `:mode` - `:all` (default) or `:any`
  * `:case_sensitive` - default `true`

`details.missing` lists the indexes of the values not found. A failed run
fails with reason `"run_failed"`; non-text output is an `:invalid_config`
error.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
