After you’ve created an agent, the model will show up alongside all the ready-made models in your project, and you can add it like any other model.

Response signature

AI agents have a similar response signature to the ready-made classifiers, with the addition of a rule field.

label
string
required

The label of the rule that was triggered. Returns NEUTRAL if no rules were triggered.

score
number
required

The score of the most probable label. Always 1 or 0.

label_scores
object
required

An object containing all the rules with either 0 or 1 as the score.

rule
string

The description of the rule that was triggered. Returns null if no rules were triggered.

Was this page helpful?