This skill filters search results by evaluating product listings against specific user constraints like price, features, or ratings. It should be triggered when reviewing a page of search results to identify items that match all given criteria. The skill takes a list of products with their details and outputs a subset that meets the defined requirements for closer inspection.
Activate this skill when you are on a search results page in a web shopping environment and need to systematically evaluate which products meet a user's specific, multi-faceted requirements (e.g., "price lower than 40.00 dollars" AND "natural looking").
Parse the Instruction: Extract the user's constraints from the instruction. Common constraints include:
price lower than 40.00 dollars).natural looking, long, clip-in).Parse the Observation: Extract the list of products from the search results page. Each product listing typically contains:
B09C337K8S).Apply Filters: For each product in the list, check it against all extracted user constraints.
Output Decision: Identify the first product in the filtered list that passes all criteria. This becomes the primary candidate for the next action (click[product_id]). If no product passes all filters, you may need to refine the search.
i need a long clip-in hair extension which is natural looking, and price lower than 40.00 dollarsprice < 40.00natural (implied from "natural looking")B09C337K8S: Price $29.99 (< $40.00). Title contains "Natural Looking". PASSES.B093BKWHFK: Price $63.99 (> $40.00). FAILS on price.B099K9Z9L2: Price $43.99 (> $40.00). FAILS on price.B09C337K8S is selected as the top matching candidate.After identifying a matching product, the recommended action is to click on it for more details: click[<matching_product_id>].
For complex filtering logic or to process large result sets, use the bundled script.