AdvancedAI & Machine LearningFree prompt

Complete MLOps Pipeline with Model Training, Versioning, and Deployment

MLOps infrastructure to manage the full lifecycle of ML models in production.

Implement an MLOps pipeline that automates model training, evaluation, versioning, and deployment with continuous monitoring.

At a glance

Access

Free prompt

Open to copy without upgrading.

Prompt objective

Implement an MLOps pipeline that automates model training, evaluation, versioning, and deployment with continuous monitoring.

Real use case

A São Paulo-based insurtech called SeguroFácil retrains pricing models monthly, but the process is entirely manual: a data scientist runs notebooks in Jupyter, exports the model to a file, and a backend developer copies it to the server via SCP. A wrong-model deployment once cost R$ 200,000 in incorrect pricing.

Customize these fields first

PROJECT NAMETYPE: classification/regression/NLP/recommendationALGORITHM/FRAMEWORK: scikit-learn/PyTorch/XGBoostDAILY/WEEKLY/MONTHLYVOLUMENUMBERDATABASE/S3/APIAWS/GCP/ON-PREMISE

Replace the placeholders with your own context before you run the prompt. That usually improves the first output more than adding more instructions later.

Prompt

Design a complete MLOps pipeline for [PROJECT NAME], which trains and deploys [TYPE: classification/regression/NLP/recommendation] models in production.\\\\\\\\n\\\\\\\\n**Context:**\\\\\\\\n- Current model: [ALGORITHM/FRAMEWORK: scikit-learn/PyTorch/XGBoost]\\\\\\\\n- Retraining frequency: [DAILY/WEEKLY/MONTHLY]\\\\\\\\n- Data: [VOLUME] records, [NUMBER] features, source [DATABASE/S3/API]\\\\\\\\n- Infrastructure: [AWS/GCP/ON-PREMISE]\\\\\\\\n- Team: [NUMBER] data scientists + [NUMBER] ML engineers\\\\\\\\n\\\\\\\\n**1) Feature Store:**\\\\\\\\n- Feature definitions with metadata (type, range, description)\\\\\\\\n- Feature computation pipeline (batch + real-time)\\\\\\\\n- Tools: [FEAST/TECTON/CUSTOM]\\\\\\\\n- Feature versioning\\\\\\\\n- Data validation: Great Expectations or Pandera\\\\\\\\n- Data drift detection (training vs. serving distribution)\\\\\\\\n\\\\\\\\n**2) Automated Training:**\\\\\\\\n- Training pipeline orchestrated with [AIRFLOW/PREFECT/KUBEFLOW]\\\\\\\\n- Steps: data ingestion → preprocessing → feature engineering → training → evaluation\\\\\\\\n- Hyperparameter tuning: [OPTUNA/RAY TUNE] with compute budget\\\\\\\\n- Experiment tracking: [MLFLOW/WANDB/NEPTUNE]\\\\\\\\n  - Log: params, metrics, artifacts, model, dataset version\\\\\\\\n- Cross-validation strategy\\\\\\\\n- Automatic baseline comparison (new model vs. production model)\\\\\\\\n\\\\\\\\n**3) Model Registry:**\\\\\\\\n- [MLFLOW MODEL REGISTRY/SAGEMAKER/VERTEX AI]\\\\\\\\n- Stages: Development → Staging → Production → Archived\\\\\\\\n- Metadata: metrics, dataset version, training params, creator\\\\\\\\n- Approval workflow: staging → production promotion requires approval\\\\\\\\n- Automatic rollback if metrics degrade\\\\\\\\n- Model card with documentation (bias, limitations, intended use)\\\\\\\\n\\\\\\\\n**4) Serving and Deployment:**\\\\\\\\n- Online serving: [FASTAPI/SAGEMAKER ENDPOINT/SELDON/TRITON]\\\\\\\\n- Batch prediction: scheduled pipeline for mass scoring\\\\\\\\n- A/B testing: shadow mode (new model receives traffic, doesn't decide)\\\\\\\\n- Canary deployment: 5% → 25% → 50% → 100%\\\\\\\\n- Target latency: < [VALUE]ms for p99\\\\\\\\n- Auto-scaling based on request volume\\\\\\\\n\\\\\\\\n**5) Production Monitoring:**\\\\\\\\n- Data drift detection (input features vs. training distribution)\\\\\\\\n- Concept drift detection (performance degradation over time)\\\\\\\\n- Prediction monitoring: output distribution, anomalies\\\\\\\\n- Alerts: automatic retrain trigger when drift > threshold\\\\\\\\n- Dashboard: model performance, latency, throughput, cost\\\\\\\\n\\\\\\\\n**6) CI/CD for ML:**\\\\\\\\n- GitHub Actions/GitLab CI:\\\\\\\\n  - Code push → unit tests → integration tests → training pipeline\\\\\\\\n  - Merge to main → retrain → evaluate → deploy if metrics > threshold\\\\\\\\n- Tests: feature unit tests, pipeline integration tests, model validation tests\\\\\\\\n- Infrastructure as Code for training environments\\\\\\\\n\\\\\\\\nProvide the architecture diagram and Python code for the main components.

Open directly in an AI — the text is pre-filled:

How to use this prompt

  1. 1Replace the key placeholders first: PROJECT NAME, TYPE: classification/regression/NLP/recommendation, ALGORITHM/FRAMEWORK: scikit-learn/PyTorch/XGBoost, DAILY/WEEKLY/MONTHLY.
  2. 2Replace any bracketed placeholders like [this] with your own context.
  3. 3Add extra background information when you want more tailored results.
  4. 4Combine multiple prompts in one conversation when you need a richer output.
  5. 5Save your best-performing prompts so they are easy to reuse later.

Next best step

Open the guide first, then branch only if you still need more.

A guide for technical builders choosing between prompts, coding workflows, and agent-based implementation.

If this prompt is close but not quite right, generate variants next. If the job is recurring, move into the course library after the guide.

Related prompts

View all

Explore other prompt categories

Move sideways into adjacent libraries when the current category is not the full answer.

Free browsing stays open. Premium prompts unlock the reusable workflow layer.

Use the guides and role paths to validate the job first. Upgrade when you want the full prompt text, editable premium prompts, and the surrounding course paths in one place.

Free access

  • Browse guides, role paths, and category pages.
  • Preview prompts before you decide to upgrade.
  • Find the right starting point without friction.

Membership access

  • Unlock premium prompts and the full copy text.
  • See more workflow paths and course connections.
  • Keep the reusable templates in one place.
Chat on WhatsApp