optimized prompt
Browse files414 unmodified lines415416417418419420421414 unmodified lines"Items: " + json.dumps(compact) + "\n\n""Instructions:\n""- Consider skills, tags, and brief description.\n""- Higher prize is slightly better all else equal.\n""- Return ONLY JSON array of objects: [{id, score, reason}] where 0<=score<=1.\n""- Do not include any extra text.")414 unmodified lines415416417418419420421422423414 unmodified lines"Items: " + json.dumps(compact) + "\n\n""Instructions:\n""- Consider skills, tags, and brief description.\n""- Relevance matters most, but higher prize should be explicitly favored.\n""- When two items are similarly relevant, prioritize the one with the larger prize.\n""- Incorporate prize into the score (0-1), not just the reason.\n""- Return ONLY JSON array of objects: [{id, score, reason}] where 0<=score<=1.\n""- Do not include any extra text.")
app.py+3-1