Marketplace listing policy

Sort a new marketplace listing into allowed, age-restricted, needs seller authorization, or prohibited.

F@f

Problem

Marketplaces receive listings faster than reviewers can read them, and most are fine. Restricted and prohibited items need to be held before they go live, not found after a complaint.

Goal

Publish ordinary listings quickly and hold everything that may need age gating, seller checks or removal for a reviewer.

Input / state

The listing text and a summary of your marketplace's item rules.

title
Listing title.
description
Listing description.
item_rules
Short summary of your allowed, restricted and prohibited item rules.

Decision question

ChoiceQuestion key listing_policy

Under the item rules, which category does this listing fall into?

Options

  • allowedAn ordinary item the rules allow without conditions.
  • age_restrictedAllowed only for adult buyers, such as alcohol or bladed tools.
  • needs_authorizationAllowed only for sellers verified for the brand or product type.
  • prohibitedNot allowed under the rules, such as recalled products or weapons.

Allowed outcomes

Decided in your code from the answer and its confidence. Thresholds are yours to set and test.

  • PublishChoice is allowed and confidence meets your threshold.
  • Publish with age gateChoice is age_restricted and confidence meets your threshold.
  • Check seller authorizationChoice is needs_authorization and confidence meets your threshold.
  • Hold for removal reviewChoice is prohibited and confidence meets your threshold.
  • ReviewerConfidence is below your threshold: probability is spread across options.

Example scenarios

Predefined demonstrations. No model is called; the outcome shown is an illustrative judgment.

Example state

{
  "title": "Handmade oak cutting board",
  "item_rules": "Restricted: alcohol, blades over 7 cm (adults only). Authorized sellers only: listed luxury brands. Prohibited: recalled products, weapons.",
  "description": "Food-safe oil finish, 40 x 25 cm."
}

Outcome

Illustrative
Publish

Choice is allowed and confidence meets your threshold.

Why

An ordinary household item.

Using it well

  • Keep the rules in the state short and specific; the option descriptions should point at them rather than repeat them.
  • Hold prohibited listings for a reviewer instead of deleting them automatically, so sellers can appeal and mistakes are caught.
  • Listing text is written by sellers and can be adversarial. Pair with the prompt injection signal if listings also feed an AI shopping assistant.

Request definition

POST https://api.typesafe.ai/v1/systemone
{
  "model": "jev-latest",
  "state": {
    "title": "<title>",
    "description": "<description>",
    "item_rules": "<item_rules>"
  },
  "questions": {
    "listing_policy": {
      "type": "choice",
      "instructions": "Under the item rules, which category does this listing fall into?",
      "criteria": {
        "allowed": "An ordinary item the rules allow without conditions.",
        "age_restricted": "Allowed only for adult buyers, such as alcohol or bladed tools.",
        "needs_authorization": "Allowed only for sellers verified for the brand or product type.",
        "prohibited": "Not allowed under the rules, such as recalled products or weapons."
      }
    }
  }
}

Request shape from the System One API reference; a Kev server accepts the same body. Replace the placeholder state with your data. Requests need your own API key or server.

Version History

v1Current Versionabout 8 hours ago@f

Initial version

Comments (0)