Sapthan
Home › Blog

How to add AI to an existing app or website

Sapthan AI & IT Solutions · 4 October 2026

Most valuable AI work is not a new product. It is one well-chosen feature added to something people already use. Here is the process we follow.

1. Start with a job, not a model

"Add AI" is not a feature. Good AI features remove a specific, repeated task:

Pick one, and write down how you will know it worked: tickets deflected, minutes saved, searches that now find a result.

2. Decide where the knowledge comes from

A general language model knows nothing about your business. To answer from your own content, use retrieval-augmented generation (RAG): your documents are split into chunks, indexed by meaning, and the most relevant chunks are given to the model with each question. The model answers from your content and can cite it.

RAG is usually better than fine-tuning for business content: it is cheaper, updates the moment your documents change, and lets you show sources.

3. Treat privacy as a design input

4. Pick the model last

Choose by the task. Large frontier models for reasoning and writing; small, fast models for classification and extraction at volume. Most products use more than one. Keep the provider behind your own interface so you can switch as prices and quality change.

5. Build guardrails in from the start

6. Test with real questions

Collect 50–100 real questions from your support inbox or search logs, with the right answers. Run every change against that set before it ships. This turns "it seems better" into a number, and catches regressions when you switch models.

7. Launch small, then widen

Release to a slice of users, watch the answers and costs, and fix the gaps your test set missed. Expect the first version to handle the common 70–80% of cases well; the long tail comes from iteration.

What it costs to run

Running cost scales with usage: how many requests, and how much text goes in and out of each. Retrieval keeps prompts short, caching repeated context cuts cost further, and routing simple requests to smaller models does the rest. Estimate from your real traffic before you commit.

Want AI in your product? See our AI services.

AI Services →