Skip to content
Pooya NikbakhtSenior full-stack & AI engineer

Project

AI product search that turns plain English into filters

shop-search: a search box with a plain-English query, the filters it produced shown as removable chips, and a grid of hiking boots.
AI search for online stores. Shoppers type what they want in plain English and get filters they can see and edit. Accuracy is tested before every change.

Problem

Shoppers describe what they want in sentences, for example "waterproof women's hiking boots under $150, size 8, 4 stars and up". Keyword search handles that badly. And AI search that guesses wrong is worse than having no AI search at all.

How it helps your business

  • Shoppers can ask the way they talk, instead of clicking through many filters one by one.
  • No hidden wrong guesses. Shoppers always see what the search understood and can fix it.
  • Safe to improve. Every change to the AI is tested for accuracy first, so search can't quietly get worse.
  • Not tied to one AI company. It works with Claude or OpenAI, and a simple offline mode keeps the demo working without an AI account.

What it does

  • Search in plain English. Shoppers type a request like the one above. The search turns it into filters, such as price, size and rating.
  • Filters you can see and fix. What the search understood appears as small filter tags. Shoppers can remove or edit a tag to correct it, without retyping.
  • Honest about what it missed. Words that couldn't be matched to a filter are shown, so shoppers can see why the results look the way they do.
  • Everything a normal store search has. Filter lists, sorting, pages of results and links you can share, like a real online store.

Outcome

A public, runnable version of the natural-language filter pattern I've shipped in production, described in the marketplace search project. You can try it, read the code, and run the evals yourself.

  • Type a sentence, get filters you can edit.
  • The request becomes chips, and what it can't match is said out loud.
  • Weight, size and category from one plain sentence.
  • On a phone, with the filters in a drawer.

How it's built

  • One filter schema. A single Zod schema defines every filter the store supports. The model's output has to match it, or it's rejected.
  • Two providers and an offline mode. Claude and OpenAI sit behind one small interface, and an offline parser keeps the demo working without API keys.
  • Evals. An evaluation suite runs from the command line and scores the parser per provider.

Stack

Next.js, TypeScript, Zod, the Claude and OpenAI APIs, and Tailwind CSS.

Want this for your business?

Send a short note on what you're building or the idea you have. I'll reply with questions and a rough plan. It's free, and I'd love to connect and help.

Typical timeline: 3 to 14 days · From $400. See AI assistants for your website