Pattern · confidence threshold
When confidence drops under 0.7, ask a human
Most cases are easy and the model is right. The expensive mistakes hide in the low-confidence tail. Route only that tail to real people: you pay for a few answers on the hard cases and keep the model on everything else.
GetABrain: human feedback for any AI project, from verified real people. How answers are verified
1.Get a test key ($5 sandbox credit)
Sign up as a requestor and mint a test-mode key. It is a normal gab_k_ / gab_s_ pair that returns simulated answers billed at the minimum bid with no fee, paid from the $5 sandbox credit first, so you can wire everything before you fund real answers.
2.Install
The Python SDK.
pip install getabrain3.Add the threshold
Keep the model answer when it is sure. Below the threshold, ask three people and take the majority.
from getabrain import GetABrain gab = GetABrain(api_key="gab_k_...", api_secret="gab_s_...") THRESHOLD = 0.7 def classify(text, labels): label, confidence = model_classify(text, labels) if confidence >= THRESHOLD: return label query = gab.queries.create( type="multiple_choice", title="Which label fits this text?", content_data={ "question": text, "options": [{"id": l, "text": l} for l in labels], }, required_responses=3, bid_amount_cents=25, ) answers = gab.queries.wait_for_responses(query["id"], min_responses=3, timeout_s=900) votes = [a["response_data"]["selected_ids"][0] for a in answers] return max(set(votes), key=votes.count)4.Tune the threshold on real data
Log every escalation. If humans keep agreeing with the model, lower the threshold; if they keep overturning it, raise it.