Best picks for a budget
dk_best_for_budgetRank in-stock Digikala products within a Toman budget by weighted rating, with visible reasoning for budget product searches.
Instructions
Rank the best-rated in-stock products within a budget, with the reasoning shown.
Ranks by a weighted rating: a product's rating pulled toward the average of the candidates until it has about 20 ratings, so a 5.0 from 3 buyers does not beat a 4.6 from 900. Ties go to the cheaper one. For a query only titles with every query word count, and accessories are dropped. Use for "best X under Y Toman"; then dk_product on a pick for every seller's price, dk_reviews for what buyers say.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max picks to return. | |
| pages | No | Result pages to scan, 20 products each. | |
| query | No | What to buy, e.g. 'هدفون بی سیم' or 'گوشی سامسونگ'. | |
| max_price | Yes | Budget in Toman, e.g. 20000000 for 20 million Toman. | |
| min_price | No | Skip anything cheaper, in Toman. Default for a query: a floor that drops accessories. | |
| min_ratings | No | Skip products with fewer ratings than this. | |
| category_code | No | Or a category code instead of a query, e.g. 'mobile-phone' (from dk_suggest). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||