As a contributor, I want to ensure I do not receive image suggestions for sections that should not have an image.
Requirements
Based on section level image suggestions requirements from Growth, exclude the following sections from generating image suggestions:
- Sections with an infobox (I think this is covered by "sections where an image already exists" below)
- References sections
- External links
- Further reading
- Sections where an image already exists
- Lead section
TBA:
- Do we suggest images for infoboxes in the datapipeline?
- Do we suggest images for lead section in the data pipeline? No
(if we do, then we can suggest images and then Growth can filter them out later on, similar to article img suggestions)
Note original items below removed. We don't suggest images for empty sections, and a section with a gallery is already excluded by the code that excludes sections with images
Sections without content/empty sections
Sections with a gallery
AC
- Users don't get image suggestions for these sections
- We include this in the algorithm/data pipeline documentation about image suggestion generation
Out of scope: Excluding suggestions based on custom community configuration (like excluding articles with certain categories or templates). Can be done on the frontend. It's unrelated to the API, specific to the Growth use case, and easy to implement within the frontend's search query construction logic.