Start with the task, not the model
Use conventional software for exact facts
When retrieval-augmented generation helps
RAG design questions to resolve
- Which documents are approved and current?
- Who is permitted to search each document or collection?
- How are tables, headings, scanned pages and long passages extracted?
- What happens if the search returns no relevant result?
- Can the answer be traced back to the exact passage supporting it?
- How are removed or updated documents reflected in the index?
A vector database is a component, not a quality certificate
When fine-tuning is justified
- 01Classify whether the question asks for an exact fact, knowledge search or generation
- 02Apply user authentication and data access rules
- 03Use the authoritative API for exact account or transaction facts
- 04Retrieve and verify approved passages for knowledge questions
- 05Call an appropriate language model only when it adds value
- 06Validate the returned format, citations and requested actions
- 07Show a useful answer or a clear uncertainty and recovery path
Measure output quality before optimising model price
Human approval remains part of some flows
What we recommend in discovery
Keep learning
Good systems start with good questions.
Explore more practical guides, or tell us about the problem you're solving.