Skip to main content

Scoring

  • With a decision model, scores are the probabilities of one choice question.
  • Large candidate lists are split into several choices, then the leaders compete in a final one.
  • Without a decision model, or if that call fails, candidates are ranked by keyword overlap.

Selection

  • selected holds candidates at or above threshold, topped up to floor and capped at limit.

Input

object[]
required
Objects with name and description
integer
Most options per choice question, up to 255; larger sets are split into choices sent together, then a final choice among every candidate that reached the threshold. Default 250
integer
Fewest candidates to select, taking the best below the threshold when needed; default 0
integer
Most candidates to select
string
The decision model role; default decider
string
required
The task the candidates are scored against
string
required
The choice question; the task follows it
number
Minimum score to be selected; default 0.5

Output

string
enum<string>
required
Available options: decision, keyword
object[]
required
object[]
required