# User Story 2.1

**Epic:** AI Prioritization Engine

**Title:** Initial ML Model Integration for Task Scoring

**As a** product manager,
**I want** a basic machine learning model integrated into the Task Service,
**So that** every new task receives an initial priority score.

**Acceptance Criteria:**

- [ ] A pre-trained TensorFlow.js model is loaded by the Task Service.
- [ ] When a task is created, its attributes (e.g., keywords in title, description) are used as input for the model.
- [ ] The model outputs a numerical priority score between 1 and 100.
- [ ] The priority score is saved to the `priority` field of the task in the database.
- [ ] The API response for creating a task includes the calculated priority score.
