1.1 KiB
1.1 KiB
ADDED Requirements
Requirement: Context-aware image query generation
Image refetch SHALL construct provider queries from article context including keywords and mood/sentiment cues.
Scenario: Context-enriched query
- WHEN a queued article is processed for image refetch
- THEN the system derives query terms from article headline/summary content
- AND includes mood/sentiment-informed cues to improve relevance
Requirement: AI-domain fallback keywords
When context extraction is insufficient, the system SHALL use AI-domain fallback keywords.
Scenario: Empty or weak context extraction
- WHEN extracted context terms are empty or below quality threshold
- THEN the system applies fallback terms such as
ai,machine learning,deep learning
Requirement: Generic AI fallback image on terminal failure
If no usable provider image is returned, the system SHALL assign a generic AI fallback image.
Scenario: Provider chain exhaustion
- WHEN all provider attempts fail or return unusable images
- THEN the system stores a generic AI fallback image for the article