Skip to content
HALOWERK

Language Model Access

local extract question passage

Question passage extraction selects the source sentence closest to the supplied question. Use it when an agent needs a bounded English passage analyzed on the local model.

POST https://modell.halowerk.com/v1/local-extract-question-passage

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
querystringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 900
    },
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160
    }
  },
  "required": [
    "text",
    "query"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "text": "Wind powers the mill. Grain is milled into flour. Solar panels power the pump.",
  "query": "How is grain processed?"
}

Result & documentation

Show published result schema
{
  "$ref": "https://modell.halowerk.com/v1/local-extract-question-passage/schema#/outputSchema"
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’