Developing generative AI solutions
Generative AI Application Lifecycle
Six stages that repeat
The story: Running a delivery business with a hired driver:
- Decide what you'll deliver, to whom, and what customers expect.
- Hire an experienced driver, or raise and train one from scratch if nobody suitable exists. That depends on how unusual your deliveries are and how much you know about your routes.
- Make them better: clearer instructions, a map book, route training, and helpers who handle multi-stop trips.
- Test them: ride along, compare them against standard driving tests, and track delivery times automatically.
- Put them on the road.
- Collect customer feedback and delivery data, then retrain or replace as needed.
When a new road opens or a better driver becomes available, you go back and repeat steps.
In AI/AWS terms: The lifecycle is iterative: stages get revisited as needs change or better models appear.
- Define a use case: the problem, requirements, and stakeholder expectations.
- Select a foundation model: use a pre-trained model or build one from scratch, depending on whether a suitable model exists, how complex the use case is, and how much domain data you have.
- Improve performance: prompt engineering, RAG, fine-tuning, and agents.
- Evaluate: human evaluation, benchmark datasets, and automated metrics.
- Deploy: integrate the model into the target environment.
- Monitor and improve: collect feedback, usage data, and metrics, then retrain, fine-tune, or update the model.
For the exam: The generative AI lifecycle is iterative. Improvement methods are prompt engineering, RAG, fine-tuning, and agents.