Denkwerk
citation align
Splits the answer into sentences (Unicode segmentation plus CLDR abbreviations) and compares every sentence with every passage lexically: support is the IDF-weighted share of the sentence's distinct terms that occur in the passage (IDF over the passages, as in BM25), BM25 breaks ties, and the longest common word sequence is returned as evidence with its character offsets in the passage. Labels: supported at or above min_support, partial at or above half of it, otherwise unsupported. Method:.
POST https://denk.halowerk.com/v1/citation-alignInputs
| Field | Type | Required | Description |
|---|---|---|---|
| answer | string | Yes | |
| passages | array | Yes | Strings or objects {id, text}. |
| min_support | number | No | |
| stemming | string | No |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"answer",
"passages"
],
"properties": {
"answer": {
"type": "string",
"minLength": 1,
"maxLength": 20000
},
"passages": {
"type": "array",
"minItems": 1,
"maxItems": 100,
"description": "Strings or objects {id, text}.",
"items": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 20000
},
{
"type": "object",
"additionalProperties": false,
"required": [
"text"
],
"properties": {
"id": {
"type": "string",
"maxLength": 128
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 20000
},
"score": {
"type": "number"
}
}
}
]
}
},
"min_support": {
"type": "number",
"minimum": 0.1,
"maximum": 1,
"default": 0.5
},
"stemming": {
"type": "string",
"enum": [
"none",
"german"
],
"default": "none"
}
}
}Published input example
{
"answer": "Die Garantie beträgt zwei Jahre. Versand nach Mars ist kostenlos.",
"passages": [
{
"id": "agb",
"text": "Die Garantie beträgt zwei Jahre ab Lieferung."
}
]
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Denkwerk0.003 USDC
agent card generate
POSThttps://denk.halowerk.com/v1/agent-card-generateBuilds an Agent2Agent protocol Agent Card with protocolVersion, name, description, url, version, capabilities, default input/output modes and skills. Skills come from the supplied list or are derived from OpenAPI operations (operationId, su
- Denkwerk0.003 USDC
agent permission diff
POSThttps://denk.halowerk.com/v1/agent-permission-diffTakes the tool names (with optional descriptions) and permission scopes of an agent before and after a change and reports added and removed tools and scopes, classifies new capabilities by risk (payments, sending messages, deleting or writi
- Denkwerk0.003 USDC
annotation guide draft
POSThttps://denk.halowerk.com/v1/annotation-guide-draftTakes example texts per label and derives, without a language model, the most distinguishing terms per label (TF-IDF contrast against the other labels), representative examples, cross-label example pairs with high similarity that need a wri