scope decides which side of the run to match on: both (the default), user, or assistant. Bento ranks your trajectories by how similar each is to that description, and you work down the ranked list, giving each candidate a label of match, no_match, or skip. Training reads the match labels; those positive examples are what the signal learns to detect.
Commands
Train a signal
Open a session.query is required; scope defaults to both. The response carries the id you pass to every command below:
match, no_match, or skip. Re-labeling the same trajectory overwrites your prior verdict:
match examples, train the signal. name is required, prompt optional. The response returns the new signal_id:
Training needs at least one
match label to learn from. A session with no positive examples returns a 400 asking you to label more.See also
Signals
Where a trained detector lives. Read it, watch its events, tune it.
Trajectories
The analyzed runs Deep Search ranks and you label.
Issues
The tracked problems a signal helps surface and group.