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
selectedholds candidates at or abovethreshold, topped up tofloorand capped atlimit.
Input
object[]
required
Objects with
name and descriptioninteger
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, keywordobject[]
required
object[]
required