Guide · RLHF and evals
Human preference data for your prompts and models
RLHF and model evaluation need people to say which output is better. GetABrain turns that into an API call: send two outputs, get back which one people prefer. Use it to compare prompts, pick a model or build a small preference set.
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.Send a pairwise preference
Put two model outputs side by side with the ab_test type. Each person picks one.
curl -X POST https://www.getabrain.ai/api/v1/queries \ -H "X-API-Key: gab_k_..." -H "X-API-Secret: gab_s_..." \ -H "Content-Type: application/json" \ -d '{ "type": "ab_test", "title": "Which answer is more helpful?", "content_data": { "question": "A user asked how to reset their router. Which answer is more helpful?", "variant_a": { "description": "<output from prompt A>" }, "variant_b": { "description": "<output from prompt B>" } }, "required_responses": 5, "bid_amount_cents": 25 }'3.Use ratings or rankings for more detail
Rating scale scores one output at a time. Ranking orders three or more outputs. Free-form text collects the reason behind a choice.
4.Pull the results
Every answer comes back as typed JSON, so you can store it straight in your eval set. The longer explainer is the RLHF data collection API post.