gut
v0.8.2Judgment calls on small, cheap models: is this spam, which team, how urgent.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
likely
Judge whether a claim is true of a text. Answers yes or no with the model's probability that the claim is true -- or unsure, when ask_human is set.
| Parameter | Type | Description |
|---|---|---|
question * | string | A short claim about the text, e.g. "asks for a refund". Not an open question. |
subject * | string | The text to judge: an email, a comment, a diff. |
ask_human | boolean | Allow the outcome `unsure` when the model cannot tell. Off by default. |
lean | Which way to err when unsure is not allowed. | |
stakes | How sure the model must be before an answer counts. Needs ask_human. |
classify
Pick the option that fits a text best: a team, a topic, a language, an intent. Answers with the chosen label, every option's probability and a confidence.
| Parameter | Type | Description |
|---|---|---|
options * | The categories: {label: description}, or a list of labels. Include a catch-all such as "other", or every text is forced into one of them. | |
subject * | string | The text to judge: an email, a comment, a diff. |
ask_human | boolean | Allow the outcome `unsure` when the model cannot tell. Off by default. |
question | What to decide, if the options do not say it. | |
stakes | How sure the model must be before an answer counts. Needs ask_human. |
rate
Rate a text on an ordered scale such as urgency or severity. Answers with a score, which can fall between levels, the nearest level and a confidence.
| Parameter | Type | Description |
|---|---|---|
levels * | array | Between 2 and 10 level descriptions, in order; the first is level 0. |
subject * | string | The text to judge: an email, a comment, a diff. |
ask_human | boolean | Allow the outcome `unsure` when the model cannot tell. Off by default. |
question | What to rate, if the levels do not say it. | |
stakes | How sure the model must be before an answer counts. Needs ask_human. |
each
Ask the same question about many texts at once: likely with just a question, classify with options, rate with levels. Far faster than one call per text.
| Parameter | Type | Description |
|---|---|---|
subjects * | array | The texts to judge, all with the same question. |
ask_human | boolean | Allow the outcome `unsure` when the model cannot tell. Off by default. |
levels | A scale, as for rate. | |
options | Categories, as for classify. | |
question | A claim, as for likely. Alone, it asks likely; with options or levels, it says what to decide. | |
stakes | How sure the model must be before an answer counts. Needs ask_human. |