ThisCalculator

Everyday

What I’m Learning While Building AI-Powered Products

Updated · Standard formula, shown below

What I’m Learning While Building AI-Powered Products

While building AI-powered products, I’m learning that the model is only one part of the work: useful results depend just as much on choosing a real problem, preparing reliable data, designing clear interactions, and checking performance in practice. The biggest lesson is to treat AI as a fallible component in a larger system, not as a guarantee that a product will work.

Start with the problem, not the model

It is easy to begin with a striking capability—summarizing text, answering questions, or generating images—and then search for a reason to use it. A stronger approach starts with a recurring task and asks whether AI can make that task easier, faster, or more accessible without making the result less trustworthy.

For example, a support team might want to help staff find relevant passages in a long policy library. The useful product is not simply a chatbot; it is a tool that retrieves applicable material, shows its sources, and lets the employee decide what to send. That framing makes it possible to compare the AI workflow with search, templates, or a conventional rules-based feature.

It also makes success measurable. “The answers sound impressive” is not a reliable product goal. More useful questions include whether people complete the task, how often they need to correct the result, and whether the feature saves time without introducing unacceptable mistakes.

Understand the whole system

An AI feature usually involves more than a model call. A simplified workflow may take a user’s request, check its format, gather relevant context, send a carefully structured prompt to a model, process the response, and present it with appropriate controls. Each step can affect the outcome.

For a document-question feature, the system might first search a collection for passages related to the question. Those passages are then included as context for the model. The model writes a response, while the interface may show the source documents so the user can verify the answer. If retrieval finds the wrong material, a capable model may still produce a fluent but irrelevant response.

This is why “the model” and “the product” are not interchangeable. The product also includes data handling, permissions, latency, error handling, logging, user expectations, and a way to recover when the AI is uncertain or unavailable.

Data quality and context matter

AI systems can only use the information made available to them. In practice, that information may be incomplete, outdated, inconsistent, or difficult to retrieve. Cleaning documents, removing duplicates, respecting access permissions, and keeping content current can matter more than changing the wording of a prompt.

Context is another practical constraint. A model cannot necessarily consider an entire organization’s knowledge at once. Systems often select a relevant subset of information for each request. The quality of that selection influences what the model can answer, so testing should include questions that are ambiguous, poorly phrased, or not covered by the available material.

More context is not automatically better. Extra material can distract from the relevant evidence, increase processing time, and make it harder to identify where an answer came from. The aim is to provide enough useful context for the task, not to pass every available document into every request.

Evaluate behavior, not just demos

A polished demonstration often uses a small number of favorable examples. A dependable feature needs broader evaluation, including ordinary requests, edge cases, confusing inputs, and situations where the system should say it cannot answer. Generative outputs may vary between runs, so a single successful test does not establish consistent performance.

A practical evaluation set can be built from representative tasks and reviewed by people who understand the work. For each example, define what a useful response must include, what would count as a serious error, and whether sources or uncertainty need to be shown. Re-run the set after changing the model, prompt, retrieval process, or data.

Useful measurements depend on the task. They might include factual accuracy, source relevance, completion rate, correction frequency, response time, and the proportion of requests that need human review. Automated checks can help with repeatable criteria, but human review remains important when meaning and consequences are difficult to reduce to a simple score.

Design for uncertainty and human control

Fluent language can sound confident even when it is mistaken. A responsible interface should not imply that every answer is verified. Depending on the use, it may show citations, label generated text, invite confirmation, or provide an easy route to a person or a non-AI alternative.

Human review is especially valuable when an incorrect output could affect someone’s rights, finances, safety, or access to important services. Review is not a magic fix: people can overlook errors, particularly when responses are polished or repetitive. Clear review criteria, appropriate training, and a manageable workload matter.

Good interaction design also makes correction straightforward. Users should be able to edit a draft, reject a suggestion, or report an issue without having to fight the system. When the AI is uncertain or lacks evidence, a restrained response is often more useful than an invented answer.

Balance quality, cost, speed, and privacy

Every design choice involves trade-offs. Larger or more capable models may handle some tasks better, but they can also cost more or take longer to respond. Smaller models, caching, shorter prompts, or conventional code may be suitable for simpler tasks. These choices should be compared on the actual workload rather than assumptions about model labels.

Privacy needs attention from the beginning. Before sending information to an AI service, determine what data the feature needs, what should be excluded or redacted, who can access inputs and outputs, and how long records are retained. The right controls depend on the system and the data involved; a product should not imply protections that have not been established.

It is also useful to plan for failures: a service may be slow, unavailable, or return an unusable response. Timeouts, clear error messages, retries where appropriate, and a non-AI fallback can keep the rest of the product usable. Tracking failures helps teams distinguish model issues from problems in data, retrieval, or application code.

Frequently Asked Questions

What is the hardest part of building an AI-powered product?
The hardest part is often making the complete experience dependable, rather than getting a model to produce an impressive example. Data, evaluation, user expectations, and recovery from mistakes all matter.

Do I need to train my own AI model?
Not necessarily. Many products can begin with an existing model and carefully designed data access, prompts, and checks. Custom training is a separate decision that depends on the task, available data, and measurable shortcomings of the current approach.

How can I tell whether an AI feature is accurate?
Test it against representative examples with agreed criteria, including difficult cases and questions it should not answer. Review results with knowledgeable people and repeat the evaluation when the system changes.

Can AI replace a human reviewer?
That depends on the task and the consequences of errors. For high-impact decisions, human oversight may be essential, but reviewers also need clear standards and a realistic ability to check the output.

Why does an AI answer change between attempts?
Generative systems can produce different wording or conclusions for similar requests. Changes in context, model settings, retrieved information, or the model itself can also affect results, so important outputs need testing and verification.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.