{
  "sku": "ai-search-reranking",
  "kind": "tool",
  "name": "AI Search Result Reranking",
  "description": "Rank up to 20 passages by relevance to a query using a TinyBERT cross-encoder. Returns original indices and uncalibrated scores, with truncation disclosed. Local processing. Limits and retention: /ai-services.",
  "price_cents": 3,
  "price_usd": "0.03",
  "unit": "per completed bounded job",
  "license": "Customer retains rights to supplied content. Generated/model-derived outputs require customer review; base-model licences apply.",
  "delivery": "instant",
  "input_schema": {
    "type": "object",
    "properties": {
      "query": {
        "type": "string",
        "maxLength": 400,
        "minLength": 1,
        "default": "How long do I have to request a refund?"
      },
      "documents": {
        "type": "array",
        "items": {
          "type": "string",
          "maxLength": 1500,
          "minLength": 1
        },
        "minItems": 1,
        "maxItems": 20,
        "default": [
          "Refunds are available within thirty days.",
          "The office opens at nine."
        ]
      }
    },
    "required": [
      "query",
      "documents"
    ],
    "additionalProperties": false
  },
  "details_url": "https://market.datapackvibe.com/services/ai-search-reranking",
  "x402_url": "https://market.datapackvibe.com/x402/ai-search-reranking"
}