Engineering

The technical side: architecture, prompts, evaluation, and the engineering discipline behind AI systems businesses can depend on.

Engineering

Choosing a model: latency, cost and quality

Picking a language model for a business feature is a trade between how fast it answers, what each request costs and how often it is right. Here is how we measure all three on real tasks and split work across models.

5 min read
Engineering

Measuring extraction accuracy on receipts

A single accuracy figure for receipt extraction hides the field that matters. Here is how we score each field on a labelled set of real receipts, and why a blank beats a confident wrong total.

5 min read
Engineering

Handling Swahili and Sheng in production

Language detection, reply language and testing for systems that serve Kenyan users, who write English, Swahili and Sheng, often in the same message. What we have learned to do in production.

5 min read
Engineering

When to use rules instead of a model

The best AI features we build are mostly not AI. A model reads the messy part; plain rules make every decision that has a right answer. How to tell which is which.

5 min read
Engineering

Metering the cost of every AI request

One provider bill a month tells you almost nothing. Here is how we record the cost of every model call against the tenant, the feature and the user that caused it.

5 min read
Engineering

Logging every AI action for audit

An AI feature inside a business system needs a log that can answer who asked, what the model saw, what it proposed, who approved it and what changed. The fields we record, and the mistakes to avoid.

4 min read
Engineering

Regression tests for AI answers

You cannot unit-test a sentence, but you can test the facts inside it. How we build golden question sets for AI features over business data: what to put in them, how to check answers, and when to run them.

4 min read
Engineering

Prompt versioning: treat prompts like code

Prompts decide what an AI feature does, yet they are often edited in a settings page with no history. Keep them in the repository, version them, review changes like code, and record which version produced each answer.

4 min read

Thinking about AI in your own business?

We build the systems we write about - for retail, clinics, workshops and property businesses across Africa. Tell us what you run, and we will tell you honestly where AI would help and where it would not.