Skip to content

Use case

Product search in plain language

Add plain-language search to your shop: shoppers describe what they want and get the products that fit, with links, from your own catalogue.

The problem

What we're solving

Who has it

Online shops whose search bar only matches keywords.

What it costs today

Shoppers type what they mean ("a waterproof jacket for hiking under $200") and get nothing, or the wrong page, and leave.

What solved looks like

Search that understands the request, still finds exact model numbers and SKUs, and answers with real products and links.

  • Meaning and exact codes in one search: vector and keyword together, reranked.
  • Every suggestion linked to the product page it came from.
  • Optional live stock and price through your store's API.

How it runs

Product search in plain language step by step

Each stage is a real step in SentientOne. Timings are medians from our latest benchmark; your model and network change them.

Set it up

The walkthrough, in 8 steps

  1. 1

    Add your LLM key

    Agents run on your own model provider key; there's no shared one, so nothing answers until you add it. Create a key with OpenAI, Anthropic, Google Gemini or Groq, then open Configure → LLM keys → Add key. It's encrypted at rest with AES-256-GCM, used only to call your provider, and never shown again in full. If a reply fails with INTERNAL_ERROR straight away, the agent has no key; with LLM_AUTH_ERROR, the provider rejected it.

    LLM keys
    Provider
    Anthropic
    Key
    sk-ant-api03-•••• (shown masked after saving)
    Help: Add your LLM key
  2. 2

    Create the agent

    Agents → New agent → Start from: Product Discovery. Pick a fast model for search (for example GPT-5.4 mini or Gemini 2.5 Flash) and pick your saved LLM key.

    New agent
    Start from
    Product Discovery
    Name
    Shop search
    Provider
    OpenAI
    Model
    GPT-5.4 mini
    Help: Create an agent
  3. 3

    Write the instructions

    Tell it to recommend only products from the knowledge base, to keep answers short, and to say when nothing fits.

    System prompt
    You help shoppers find products in our catalogue.Recommend only products that appear in the knowledge base. Give the name, the SKUand the price, and one line on why it fits. At most three products.If nothing fits, say so and suggest the closest category instead.Never invent stock, sizes or prices.
    Help: Write a system prompt
  4. 4

    Crawl the catalogue

    Knowledge → Websites: add your shop's address with an include path such as /products and max pages set to 60 (300 credits). Each crawl stops at 200 pages, so add one crawl per category if you have more. Re-crawl when prices or ranges change; the old pages are replaced and charged again.

    Help: Crawl a website
  5. 5

    Add live stock (optional)

    If your store has an MCP server for stock and prices, add it on the Tools tab and Test connection. Note that agents with live tools skip the answer cache, so repeated searches won't be instant.

    Help: Connect an MCP server
  6. 6

    Test in the Playground

    Try vague requests, exact SKUs and impossible ones. Check the sources beside each reply are the product pages you expect.

    Help: Use the Playground
  7. 7

    Call it from your search box

    From your server, send the shopper's words to the chat endpoint and render the sources event as product cards. Keep the secret key on the server.

    Your server
    curl -N https://api.sentientone.ai/v1/chat/stream \  -H "Content-Type: application/json" \  -H "X-Api-Key: $SENTIENTONE_API_KEY" \  -H "X-Agent-Id: $AGENT_ID" \  -H "X-Request-Id: $YOUR_REQUEST_ID" \  -d '{"message": "Waterproof hiking jacket under $200, size M"}'
    Help: Streaming events
  8. 8

    Watch traces and credits

    Open Tracing to see every request: what knowledge it found, each tool call, tokens and timing, and the error code if it failed. Analytics charts requests, errors and response time per agent. Under Billing, turn on auto top-up so the agent never stops for want of credits.

    Help: Debug a bad answer

Help

Need a hand? We'll set it up with you.

Tell us about your setup and we'll help you build product search in plain language on SentientOne: the agent, the knowledge, the tools and the deployment.

Or email support@sentientone.ai. 200 free credits when you sign up, no card needed.

Your first week

  1. Day 1Create the agent and crawl about 60 product pages from one category.
  2. Days 2–3Run your top 50 real search terms in the Playground; fix the prompt where it recommends the wrong thing.
  3. Day 4Wire the API into a hidden search page on your shop and render sources as product cards.
  4. Day 5+Review traces of searches with weak matches each week; crawl more categories as your credits allow.