Sort text into your own categories

Product listings, leads, messages, reviews. Describe your categories in plain words and Facet builds a specialist that sorts each one by your rules, writing its instructions and examples itself, and checks it before any update goes live.

Product listing

Merino crew neck sweater, navy, sizes S to XL

Apparel › Knitwear

Where classification usually starts

Most teams sort text with a frontier model and a prompt that lists every category with notes on the hard cases. As the list grows, the prompt gets longer, answers drift, and the cost per item stays high. A specialist knows your categories and sorts every item by the same rules.

What people sort with it

How it works

  1. Describe the job. List your categories, or paste the prompt you use today if you have one, and add a few real items. Facet writes and keeps up the instructions from there.
  2. Agree on what good looks like. Facet writes plain statements of a good answer, like “anything knitted is Knitwear, whatever the garment”, each with examples. Edit any that are off.
  3. Create, then correct. Facet builds the specialist on its own, usually in about half an hour, and checks it against every statement before it goes live. When an item lands in the wrong category, say what should change. Facet quotes the fix before it spends anything.

Three ways to use it

Use Facet to build a specialist that sorts our product listings into this category tree:
... Here are twenty real listings: ... Show me the draft and the price before you approve
anything.
import os
from openai import OpenAI

client = OpenAI(base_url=os.environ["FACET_BASE_URL"], api_key=os.environ["FACET_API_KEY"])
reply = client.chat.completions.create(model="product-categories", messages=[{"role": "user", "content": listing}])

Why a specialist for classification

Questions

Can a specialist give more than one label?

Yes. Describe it that way, such as "tag each review with every topic it mentions", and Facet returns a list of labels in the same shape on every call.

What if my categories change?

Ask for the change in plain words, such as "add a Bags category for totes and backpacks", with a few examples. Facet quotes the change, builds it, and checks the new version against every rule before it goes live.

Is a specialist worth it for a few hundred items a month?

Usually not. At low volume a frontier model with a good prompt is simpler. A specialist pays off when the same job runs thousands of times, or when speed and steady answers matter.

Build your first specialist today.