Alle Beiträge

KI im Alltag · · auf Englisch · 5 Min. Lesezeit

AI evaluation tools for testing your workflow

A CHF 500 quote with VAT added twice makes a useful first test. Here is how to save that example and choose a tool to catch the mistake next time.

Mohamed Habbat

AI evaluation tools for testing your workflow

You're about to send a CHF 500 quote. A colleague points at the total. “Does that include VAT?” You open the price list. It does. The AI added it again.

Fix the quote, then save a copy with invented customer details. You already know the right answer. If the price includes VAT, the total stays CHF 500. Run that case again when you change the prompt or switch models. Comparing the new output with the answer you expected is a simple AI evaluation.

Which AI evaluation tool would I start with?

What do you need to know? Start with What to inspect
Which prompt or model handles our examples better? Promptfoo The two outputs for each example and the checks each passed.
Did a change break a step in our Python app? DeepEval The failing test for that step or for the whole workflow.
Which prompt produced Monday's incorrect quote? Langfuse The prompt version recorded for that run.
Why did the assistant quote last year's policy? Arize Phoenix The passage retrieved before the model answered.
Does our fix hold up on mistakes seen in production? Opik Results from running the same saved examples before and after the fix.
Which provider call is expensive or slow? Helicone Request cost and latency. Check the gateway's current support before adopting it.

Turn one mistake into a repeatable test

Pick something your team already checks by hand. For a quoting workflow, these three cases fit on one sheet. The prices are invented.

What the workflow receives What should happen
Two items at CHF 100 each, VAT included, with no shipping charge or discount The quote total is CHF 200.
One item listed at CHF 500, VAT included, with no other charges The quote total is CHF 500.
A customer asks for delivery by a particular date but leaves the date blank The draft asks which date the customer needs.

For the first two, check the currency and the numeric total with ordinary code or a spreadsheet. A draft can mention CHF 500 in the description and still show the wrong amount on the final line. Check the amount due.

For the third case, several different questions would be acceptable. Read a few drafts and mark which ones you'd send. If you later use another model to grade the wording, compare its judgments with yours on those same examples. Keep the person who signs off on quotes in charge of sending them.

What each tool does well

Promptfoo for comparing prompts and models

Say you're shortening the quoting instructions. Put the original and the shorter prompt in a configuration file, give them the same cases, and compare the results side by side. If you're testing a prompt change, keep the model fixed for that run. Use exact checks for the amount and required fields. Once those checks catch mistakes you care about, run them automatically on proposed changes. Configuration guide · Output checks

DeepEval for an existing Python test suite

If the team already runs Python tests, add the quoting cases there. You can exercise the whole workflow or call just the step that handles a missing delivery date. Use an ordinary assertion for arithmetic. For a quality check, choose a metric and a passing threshold, then inspect the cases on either side of that threshold. If a metric uses a model to grade a draft, check which provider receives the draft. Running tests in CI · Custom metrics

Langfuse for finding the prompt behind a mistake

The instructions looked fine on Friday. On Monday, a draft quote adds VAT twice. If your app links each model call to its Langfuse prompt version, you can open that run, identify the version it used and try both versions on the saved quote. You can point the production label back to a known version. Check your app's prompt cache to see when it will pick up the change. Prompt version control · Linking prompts to traces · Prompt caching

Arize Phoenix for finding the document the assistant used

An assistant promises five-day delivery after the policy has changed to ten days. Inspect the retrieval step in the trace. If it returned last year's policy, investigate the document index. If it returned the current policy, check which passages the app passed to the model and how the model used them. A grader can score an answer highly for faithfulness when the answer accurately repeats an outdated document. Phoenix retrieval evaluation guide · Building a documentation assistant

Opik for turning live mistakes into tests

Take the failed run, replace customer details with fictional ones, and save the example to a dataset. Have the person who approves quotes enter the expected total. Run the dataset before and after the fix. You can also sample new runs for scoring under an online evaluation rule. If a failed check should hold a quote for review, add that rule to the step that sends it. Managing datasets · Online evaluation rules

Helicone for request cost and response time

A correct quote might still take too long to generate. At the gateway, you can see which call took longest and compare its cost with calls to other providers. Helicone is now part of Experiential Labs. Its migration documentation distinguishes the existing Helicone endpoints from the newer gateway. Before putting one in the path of a live quote, confirm which features and support apply to that deployment, what it logs, and what your app does if the gateway is unavailable. Helicone · Gateway migration

Before you connect live data

Start with invented customer details. A trace can contain the whole quote, including customer names, negotiated prices and the text of an email. Decide which fields to remove before recording traces, who can read the stored examples, and which inputs a grader sends to its provider. Even with a self-hosted trace store, a cloud-based grader still receives the text you give it.

Licensing and deployment notes

I checked the public repositories and vendor documentation on 4 December 2026. The comparison covers documented features, licenses and deployment options.

  • Langfuse. The core uses the MIT license. Enterprise directories have separate terms. Cloud and self-hosted editions are available. Check the edition for the access controls, retention and audit records you need. Self-hosting adds PostgreSQL, ClickHouse, a Redis-compatible store and object storage to the services you'll maintain. License · Self-hosting guide
  • Arize Phoenix. The server is source-available under Elastic License 2.0, which restricts offering substantial functionality as a managed service. You can use SQLite for a local trial and PostgreSQL for a shared deployment. Phoenix repository and license
  • Promptfoo. The MIT-licensed CLI runs locally and supports shared deployments and CI. A saved results file or a cache can contain full model responses. Review exports before sharing them. Repository and license · CI integrations
  • DeepEval. The Python library uses Apache 2.0. You can run tests locally or use the hosted Confident AI service. Check the model used by each metric. DeepEval repository
  • Opik. The project uses Apache 2.0. Comet offers managed hosting. For self-hosting, its documentation covers local Docker Compose and production Kubernetes deployments. Check how your team will manage access before putting customer traces on a shared instance. Opik repository · Self-hosting guide
  • Helicone. Check the license of the component you'll deploy. The main repository uses Apache 2.0. The separate Rust gateway uses GPL-3.0. Main repository · Rust gateway

If the same question keeps coming back on your quotes, start there. Save one example, write down the correct outcome, and run that check before the next change.

KI im Alltag · · auf Englisch

How to Write Effective Prompts for Reasoning Models

Learn how to write clear and effective prompts for reasoning models to get accurate AI responses. Follow best practices for structuring prompts, avoiding unnecessary instructions, and improving AI...

Willst du so etwas für dein Unternehmen?

Kostenloses Gespräch buchen (öffnet in neuem Tab)