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

  • Posted 2 hours ago by yashjadeja7
  • 2 points
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.

0 comments