tudy this hierarchy and system flow:

ARTIFICIAL INTELLIGENCE
│
├── Rule-based AI
│   └── Human writes the decision logic
│
└── Machine Learning
    │
    ├── Classical ML
    │   ├── Classification
    │   ├── Regression
    │   ├── Forecasting
    │   └── Clustering
    │
    └── Deep Learning
        │
        ├── Computer Vision
        ├── Speech Models
        └── Language Models
            └── Generative AI / LLMs


TRAINING FLOW

SQL historical rows
        ↓
Select useful columns (features)
        ↓
Include known result (label)
        ↓
Training algorithm
        ↓
Trained model
        ↓
Save model


APPLICATION FLOW

ASP.NET Core request
        ↓
Validate input
        ↓
Convert input into features
        ↓
Load trained model
        ↓
Run inference
        ↓
Prediction + confidence score
        ↓
Apply business rules
        ↓
Store result and monitor quality

Important distinction:

Model prediction ≠ guaranteed fact
Confidence score ≠ certainty
Generated answer ≠ verified answer