Zum Inhalt
HALOWERK

Vektorwerk

recommend

Recommend items from provided interaction lists.

POST https://vektor.halowerk.com/recommend

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
interactionsarrayJa
item_idstringNein
user_historyarrayNein
limitintegerNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "interactions"
  ],
  "properties": {
    "interactions": {
      "type": "array",
      "minItems": 1,
      "maxItems": 2000,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "user_id",
          "item_id"
        ],
        "properties": {
          "user_id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "example": "user-1"
          },
          "item_id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "example": "item-a"
          },
          "weight": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "default": 1
          }
        }
      }
    },
    "item_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "example": "item-a"
    },
    "user_history": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 120
      },
      "example": [
        "item-a"
      ]
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 5
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "interactions": [
    {
      "user_id": "user-1",
      "item_id": "item-a",
      "weight": 1
    }
  ],
  "limit": 5
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →