Zum Inhalt
HALOWERK

Modellwerk

document rerank

Embeds a query and at most 20 short documents on local nomic-embed-text, then sorts by cosine similarity with stable input-index tie breaks. Scores are not probabilities. No third-party text transfer; input is not silently truncated.

POST https://modell.halowerk.com/v1/document-rerank

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
querystringJa
documentsarrayJa
top_nintegerNein
return_documentsbooleanNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1000
    },
    "documents": {
      "type": "array",
      "minItems": 1,
      "maxItems": 20,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1000
      }
    },
    "top_n": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    },
    "return_documents": {
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "query",
    "documents"
  ],
  "additionalProperties": false
}

Originalschema öffnen

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 →