What changes versus ordinary software
The same input can produce different output, quality is judged on meaning rather than exact matches, and a vendor model update can change behavior overnight. Standard unit tests do not catch that, so the operating practice differs.
The working parts
- Prompt management: prompts live in version control with a changelog and a way to roll back.
- Evaluation sets: real questions with approved answers, run before every release.
- Tracing: record each prompt, retrieved document, tool call, answer, token count and delay.
- Cost controls: budgets, per-feature spend and alerts on spikes.
- Safety: filters, rate limits and review queues for flagged content.
- Feedback loop: thumbs up or down and human corrections flow back into tests.
Starting small
Even a small chatbot benefits from three things: saved conversations, a list of twenty test questions and a monthly cost report. Add tooling as usage grows.
Questions, answered
Several vendors sell platforms, but the practices can start with logs, a spreadsheet and a test script.
Usually the team that owns the feature, with security and legal consulted on sensitive use.