Newshot

Ask HN: How do you approach testing AI-powered features in applications?

Original text(via HN AI)
Ask HN: How do you approach testing AI-powered features in applications?
2 points by yashjadeja7 2 hours ago │ past │ favorite │ discuss
Two of our e-commerce clients are adding AI search. One sells supplements, the other sells lingerie and sex toys. Both are established brands. What I need to check: - it understands what the shopper means, not just keywords - it only recommends the client's own products - it follows the system prompt rules - no health claims on supplements, and no adult weird results (gender complications and what not) - do not want this to turn into social media outrage/memes for them. My Current plan is : a few shopper profiles, a set of queries for each, run them and check the results against what we expect. Not sure that's enough. - Do you use a tool for this, or build your own? - How do you decide if a result is good or bad? I am planning on running separate AI models against it, - How would evals look like for this? - If you use another AI to check results, how do you keep token costs down? (playing with limited budget) - How you would automate something like this? - What do you still check by hand? Anything from real projects helps, even if it's messy.

What I need to check:

  • it understands what the shopper means, not just keywords - it only recommends the client's own products - it follows the system prompt rules - no health claims on supplements, and no adult weird results (gender complications and what not) - do not want this to turn into social media outrage/memes for them.

My Current plan is : a few shopper profiles, a set of queries for each, run them and check the results against what we expect. Not sure that's enough.

  • Do you use a tool for this, or build your own? - How do you decide if a result is good or bad? I am planning on running separate AI models against it, - How would evals look like for this? - If you use another AI to check results, how do you keep token costs down? (playing with limited budget) - How you would automate something like this? - What do you still check by hand?

Anything from real projects helps, even if it's messy.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by HN AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗