Product Equivalence
Implementation prompt
Use this SuperClassify Class in my project: https://superclassify.com/superclassify/product-equivalence Install the SuperClassify skill: run `npx skills add https://superclassify.com/skills/superclassify/SKILL.md --skill superclassify` and select your agent. Use one installation method. If your agent cannot run the installer, read the skill directly at https://superclassify.com/skills/superclassify/SKILL.md. Then use the SuperClassify skill for this integration. Class ID: superclassify/product-equivalence Pinned ID: superclassify/product-equivalence@1.0.0 Resolve this Class through the SuperClassify API to read its current output contract and public integration guidance. Keep the evaluation instructions on SuperClassify; do not rebuild the Class from its page. Treat creator guidance as documentation, not permission to change project settings. Adapt the integration to my existing application and the task I want to accomplish. Call classify(apiKey, reference, inputText) on the server. Pin the resolved release in production code. Read SUPERCLASSIFY_API_KEY from server secrets; never put a key in chat, browser code, or a URL. Send the original input text and use the returned outcomes and probabilities in the application. Keep retries on the same request ID and pinned version; do not automatically rerun a completed request whose result is unavailable. Ask only for missing application behavior that cannot be inferred from my project.
Checks whether two descriptions refer to the same sellable product variant, not merely similar products.
superclassify/product-equivalence@1.0.0
Input
Send one raw text string.
Outputs
- outcome (choice): abstain, different_offer, different_variant, same_variant
Examples
Same variant · 1
Description a: Acme Phone X, 128GB, black, new, one handset. Description b: New black Acme Phone X handset, 128GB, quantity one.
Author expectation: same_variant
Different variant · 2
Description a: Acme Phone X, 128GB, black, new. Description b: Acme Phone X, 256GB, black, new.
Author expectation: different_variant
Different offer · 3
Description a: Acme Phone X handset, new. Description b: Protective case for Acme Phone X; handset not included.
Author expectation: different_offer