fix(amazon-shopping): enforce rating filters in chat output
This commit is contained in:
+11
-5
@@ -87,17 +87,22 @@ Each result includes the product ASIN, title, source URL, price, unit price when
|
||||
|
||||
Unknown or hidden fields stay unknown. The skill does not invent delivery dates, star histograms, prices, or review counts.
|
||||
|
||||
Markdown output uses a fixed table intended for direct user-facing answers:
|
||||
Markdown output uses chat-safe result blocks intended for direct user-facing answers in WhatsApp, Telegram, and terminals. Each product must keep a direct URL line:
|
||||
|
||||
```markdown
|
||||
## Best Matches
|
||||
|
||||
| # | Product | Price | Rating | Reviews | Width | Prime | Delivery | Link |
|
||||
|---|---|---:|---:|---:|---:|---|---|---|
|
||||
| 1 | Example Sofa Bed | $399.99 | 4.3 stars | 250 | 83" OK | Prime OK | FREE delivery Tomorrow OK | [Amazon](https://www.amazon.com/dp/ASIN) |
|
||||
1. Example Sofa Bed
|
||||
Price: $399.99
|
||||
Rating: 4.3 stars
|
||||
Reviews: 250
|
||||
Width: 83" OK
|
||||
Prime: Prime OK
|
||||
Delivery: FREE delivery Tomorrow OK
|
||||
Link: https://www.amazon.com/dp/ASIN
|
||||
```
|
||||
|
||||
The `OK` / `NO` marker is only attached to columns that correspond to requested filters. For example, `Prime OK` means the helper found a Prime signal on the search card or detail page; `not verified NO` means the product did not pass a requested Prime filter.
|
||||
The `OK` / `NO` marker is only attached to fields that correspond to requested filters. For example, `Prime OK` means the helper found a Prime signal on the search card or detail page; `not verified NO` means the product did not pass a requested Prime filter.
|
||||
|
||||
## Filters
|
||||
|
||||
@@ -123,6 +128,7 @@ Examples of supported natural-language filters:
|
||||
- `delivery by tomorrow`
|
||||
- `overnight shipping`
|
||||
- `top 10 by price`
|
||||
- `rating 4.0 or better`
|
||||
|
||||
Equivalent CLI flags:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user