Rates the state along a rubric you define. Returns a probability-weighted value across your levels.
criteria is an ordered list of two to ten level descriptions. Each description can be a
string, map, list, or nil.
%ExTypesafe.Question.Score{
instructions: "How frustrated is the customer?",
criteria: ["Calm", "Frustrated", "Very angry"]
}
Summary
Types
@type t() :: %ExTypesafe.Question.Score{ criteria: [ExTypesafe.Question.entry()], instructions: ExTypesafe.Question.instructions(), type: term() }