Maintaining an AI solution after launch: quality, model and logs
An AI solution needs more attention after launch than an ordinary program. The code does not change by itself, but the AI's behaviour does: the provider updates models and retires old ones, documents in the knowledge base go out of date, users arrive with new questions. So maintenance covers four things: a log of requests and actions; monitoring of quality, costs and failures; regular updates of the knowledge base and instructions; planned migration to new model versions with a check on the example set. Without this, quality declines gradually and unnoticed — until customers report the problem.
Open the software development page
Why AI degrades without code changes
An ordinary program changes behaviour when its code changes. An AI solution has several reasons to change without a single edit:
- the provider updates the model, and with the same instructions it answers differently;
- old model versions are retired, and migration becomes mandatory;
- documents, prices and policies change while the knowledge base stays the same;
- users ask new questions that did not exist at launch;
- external systems the agent is connected to change: CRM, email, accounting software.
Each of these causes is invisible on its own, but together they produce a gradual decline in quality. That is why AI maintenance is not "fix it when it breaks" but regular observation.
The log: what to record
The log is the foundation of maintenance. Without it, you cannot understand why the assistant answered the way it did or investigate a customer complaint. A log usually records:
- the user's request and the final answer;
- the versions of the model, prompt and knowledge base used for the answer;
- which documents or data were used;
- which tools the agent called and with what result;
- human confirmations and rejections at important steps;
- response time, spend and errors.
Personal and commercial data inevitably end up in the log. So it is decided in advance who can access it, which fields are masked and how long records are kept — this is part of the company AI usage policy.
What to monitor continuously
| Metric | What it shows | Warning sign |
|---|---|---|
| Share of hand-offs to people | how many tasks the AI did not solve itself | a sharp rise or a drop to zero |
| User ratings | whether people are satisfied with answers | more negative ratings on one topic |
| Score on the example set | quality against a reference | a drop after a model or knowledge base update |
| Errors and timeouts | reliability of the provider and integrations | bursts of failures at certain hours |
| Spend on requests | cost of operation | spend rising without more tasks |
| Response time | convenience for the user | a noticeable slowdown |
Alerts are set up so that the maintenance team learns about a problem before customers do. A drop in hand-offs to zero is also a warning: the AI may have started answering confidently where it used to decline honestly.
Updating the knowledge base and instructions
The most common cause of wrong answers after launch is outdated documents. You need a clear procedure: who owns each source, how a new policy gets into the base, how the old version is removed so the AI does not find both and mix them in one answer.
Instruction edits are handled like code changes: with version history, a stated reason and a check on the example set before release. How a knowledge base works is covered in the guide AI assistant over a knowledge base, and how to check quality in the guide testing AI features.
Changing the model version
Providers regularly release new models and announce retirement dates for old ones. Migration cannot be postponed until the last day, and it cannot be done blindly. The usual order is:
- follow the provider's announcements about model support periods;
- run the example set on the new model and compare it with the current one;
- adjust instructions where the new model behaves differently;
- switch part of the traffic first and watch the metrics;
- move all traffic while keeping the option to roll back quickly as long as the old version is available.
If the solution was built so that the model can be swapped through configuration rather than a rewrite, the migration goes smoothly. How to choose a model is covered in the guide which language model to choose for business.
Error analysis
Every complaint and every error found is traced to its cause rather than patched on the spot. The causes are usually the same: the needed document was not in the base, the document was outdated, the instruction was unclear, the model could not handle the type of task, an integration returned wrong data. The fix depends on the cause — extend the base, clarify the instruction, add a rule-based check or a hand-off to a person. The case itself is added to the example set so the error does not quietly return after the next change.
It helps to keep a simple table of reviews: date, nature of the error, cause, what was fixed, whether the case was added to the example set. After a few months it shows which causes recur most often and where to invest effort: in document hygiene, instructions, integrations or model choice. Without such a table the team keeps fixing the same thing without seeing the pattern.
The rhythm of work in the first months
The first weeks after launch are the busiest. Real users quickly find cases that were not in the example set, so the log is reviewed more often during this period and changes are released in small batches.
- First week: daily review of a sample of conversations and all negative ratings.
- First month: weekly error review, extending the example set, refining instructions.
- After that: regular runs of the example set, a monthly report on quality and costs, checking the knowledge base for outdated documents.
- On events: a model update by the provider, changed policies, a new integration — an unscheduled check.
This rhythm helps avoid missing problems while employees and customers get used to the AI, and gradually reduces the load on the maintenance team.
Who is responsible for the AI solution
The solution needs an owner on the business side — a person who decides what counts as a good answer, approves changes and is responsible for the knowledge base. The technical side — logs, alerts, updates, integrations — can sit with your own team or with a contractor under a maintenance agreement.
How to agree on response times and scope of work is covered in the guide software support after launch: levels, SLA and contract. For AI it is useful to add separate clauses: who tracks model support periods, how often the example set is run and who approves instruction changes.
How we maintain AI solutions at JEEKSSHIRE 24
We maintain our own AI product — Legal, where AI helps people work with contracts — and know from experience that models, documents and users change all the time. So in client projects we plan maintenance from the start: a log of requests and actions, alerts on failures and rising spend, an example set for every model or instruction change, and the ability to swap the model without rewriting the system.
We also take over AI solutions built by other teams: we start with the log, access rights and how the system behaves on real requests. More on the software support and development and AI agent development pages; describe your task on the custom software development page.
Frequently asked questions
How much does maintaining an AI assistant cost?
It depends on the number of requests, integrations, how often the knowledge base is updated and the required response time. The model's own usage is paid to the provider separately. An estimate is given after reviewing the solution.
How often should an AI knowledge base be updated?
Whenever the source documents change: prices, policies, terms. It helps to assign an owner to each source and check the base for outdated versions on a schedule.
What happens if the provider retires a model?
The solution stops answering unless it has migrated to a new version in advance. So model support periods are tracked and migration is prepared ahead of time with a check on the example set.
Can an AI log be kept without personal data?
Partly: data can be masked before writing or stored separately with restricted access. But a fully anonymised log is less helpful for investigating complaints, so the balance is set in the policy.
How do you know AI quality has dropped?
From more negative ratings, complaints and hand-offs to people, and from a lower score on the example set. Without such metrics the decline is noticed only through customer complaints.
Can AI maintenance be outsourced to a contractor?
Yes, the technical part — logs, alerts, updates, integrations. But the business owner who decides which answer is correct should remain inside the company.
Is maintenance needed if AI is used only internally?
Yes, although response-time requirements may be softer. An internal assistant with outdated policies does just as much harm: employees act on wrong answers.
Which alerts should be set up for an AI assistant?
Failures and timeouts of the provider and integrations, a sharp rise in spend, a burst of negative ratings and an unusual change in the share of hand-offs. The alert should reach the person responsible rather than get lost in a general chat.
Does AI need re-testing after documents are updated?
Yes, at least on the part of the example set related to the changed documents. A new document can conflict with an old one or change answers to neighbouring questions.
How long should an AI request log be kept?
As long as needed to investigate complaints and meet legal requirements, and no longer. The retention period, access and masking of personal data are set in the company policy in advance.