Limited offer

Get up to 50% OFF selected WordPress, Shopify & Magento themesUp to 50% OFF themes

Grab the deal
AI & Automation By David Hoang 3 min read

LLM Evaluation Starts with a Test Set That Can Disagree

Build an LLM evaluation set with independently reviewed outcomes, compare model changes fairly and inspect factual support, failures, latency and cost.

Two reviewers compare answer drafts independently before discussing a disagreement.

LLM evaluation is useful when it can reject a change that looked impressive in a demonstration. Before switching the model behind a website assistant, keep a test set with expected behavior that the new model did not help invent. Otherwise, a more fluent answer can hide a less dependable service.

Define the job before scoring the answer

For a hypothetical store assistant, success might mean explaining a current return condition, asking for a missing detail and handing off a question the approved documents cannot answer. These are separate behaviors. A single score for “helpfulness” can conceal an incorrect policy claim.

Anthropic’s evaluation guidance recommends measurable criteria tied to the application. Use that principle without copying a vendor’s example targets into your business. Set your own acceptance conditions and distinguish inconvenient wording from a consequential wrong answer.

Write cases that challenge the assistant

Keep the input, approved source version, acceptable outcome and reason for each case. Include an ordinary question, an ambiguous request, an unsupported request and a conflict between current and archived information. Add genuinely observed failure patterns after removing customer details.

A useful test brief is: “The customer asks whether an archived offer still applies. The assistant must use the current policy, identify any unresolved condition and avoid promising the archived benefit.” A reviewer should establish that outcome before seeing the candidate answer.

Keep some cases separate from everyday prompt tuning. If every failing case immediately becomes a special instruction in the prompt, your next result may describe familiarity with that set rather than performance on new questions.

Compare versions under comparable conditions

  • Use the same source snapshot, permitted tools and representative inputs.
  • Record the model, prompt and retrieval configuration with each run.
  • Score factual support and required actions separately from tone.
  • Measure response time and the cost of the whole completed task.

When responses can vary, do not declare a winner from one attractive output. Review inconsistent cases and decide which failures matter before release. If an automated judge assists, calibrate its judgments against human-reviewed examples; its agreement is another thing to evaluate.

Roll out a supported change with monitoring and a way to restore the earlier version. A passed offline test is evidence for a release decision, not a guarantee that every future request will succeed.

For a WooCommerce storefront using MyStyle, the assistant is a separate integration from the theme. Our RAG source-policy guide helps define the evidence that your evaluation should expect an answer to use.

Discuss your website or app requirements through the BZOTech contact page to explore a suitable solution.

Leave a Reply

Your email address will not be published. Required fields are marked *