Retrieval-augmented generation
Answering from your own documents: chunking that respects structure, embeddings, a vector store, and re-ranking, plus citations so answers can be checked.
Web & Application Development
Servers, Hosting & DevOps
AI & Automation
Performance, Security & Care
AI & Automation
The useful question about an AI feature is rarely "can a model do this?". It usually can, roughly. The question is whether it does it reliably enough for the consequence of being wrong, and whether anyone will notice when quality drifts.
So the work I do here is as much engineering as prompting: getting the right context to the model, constraining the output shape, measuring accuracy against examples you agree on beforehand, and designing what happens on the days the model is unavailable or confidently wrong.
How I work on it
Adjusted to the job, but this is the shape it usually takes.
Before any code, we write down twenty real examples and the output each should produce. Without that, quality is a matter of opinion.
Often a well-constructed prompt on a small model is enough. Fine-tuning and complex pipelines get justified against that baseline, not assumed.
Accuracy first, then cost and latency. Optimising a pipeline that gives wrong answers faster is not progress.
Every AI feature has a route for the case where it fails, an escalation, a manual override, or a clearly-labelled uncertain result.
Questions
Usually not. Retrieval plus a carefully constructed prompt handles most business cases and is far easier to change. Fine-tuning earns its place for consistent style or a narrow, high-volume classification task, and only once you have the evaluation set to prove it beat the baseline.
You constrain it rather than ask it nicely. Ground answers in retrieved text, require citations to a source passage, enforce a JSON schema on output, and have the system say it does not know when retrieval returns nothing relevant. Hallucination is a design problem more than a prompting one.
That depends on tokens per request and requests per month, both of which are estimable from a prototype. I would rather show you a measured number after a small pilot than quote a figure before we know the shape of the traffic.