Don't mention ladder

This commit is contained in:
Nicolas Mowen 2025-08-11 16:55:06 -06:00
parent f5f5d4cd1b
commit 89f8bc6344
2 changed files with 6 additions and 5 deletions

View File

@ -142,11 +142,13 @@ class ReviewDescriptionProcessor(PostProcessorApi):
logger.debug("No review items with metadata found during time period") logger.debug("No review items with metadata found during time period")
return None return None
important_items = filter( important_items = list(
filter(
lambda item: item.get("potential_threat_level", 0) > 0 lambda item: item.get("potential_threat_level", 0) > 0
or item.get("other_concerns"), or item.get("other_concerns"),
items, items,
) )
)
if not important_items: if not important_items:
return "No concerns were found during this time period." return "No concerns were found during this time period."

View File

@ -69,7 +69,6 @@ Your task is to provide a **neutral, factual, and objective description** of the
When forming your description: When forming your description:
- **Facts first**: Describe the time, physical setting, people, and objects exactly as seen. - **Facts first**: Describe the time, physical setting, people, and objects exactly as seen.
- **Then context**: Briefly note plausible purposes or activities (e.g., appears to be delivering a package if carrying a box to a door). - **Then context**: Briefly note plausible purposes or activities (e.g., appears to be delivering a package if carrying a box to a door).
- Clearly separate certain facts (A person is holding an object with horizontal rungs) from reasonable inferences (likely a ladder).
- Do not speculate beyond what is visible, and do not imply hostility, criminal intent, or other strong judgments unless there is unambiguous visual evidence. - Do not speculate beyond what is visible, and do not imply hostility, criminal intent, or other strong judgments unless there is unambiguous visual evidence.
Here is information already known: Here is information already known: