Actions4
- Document Actions
- Service Actions
Document → Cluster Documents
AI-generatedSummary
Cluster at least five documents with Sentor’s clustering API, using English or Dutch text. Supply documents as a JSON array, from input items, or through the manual editor; optionally set a target cluster count, otherwise the API determines it automatically.
Inputs
- Environment — Select Production or Development; defaults to Production.
- Language — Document language: English (en) or Dutch (nl); defaults to English.
- Input Format — Choose JSON Parameter, From Input Items, or Manually Defined. Defaults to JSON Parameter.
- Documents (JSON) — For JSON input, provide an array of documents with doc_id, text, and optional entities.
- Input item document fields — For From Input Items, provide Document Text per input item; blank text items are skipped. Document ID is optional and defaults to doc_
- . Entities are optional and deduplicated.
- Documents — For Manually Defined input, add documents with an ID, text, and optional comma-separated entities.
- Number of Clusters — Optional target cluster count. The default 0 omits this value from the request so the API can determine the count automatically.
- Simplify Output — Defaults to true. When enabled and the response contains clusters, emits one item per cluster and aggregates distinct nonblank string entities from its documents. When disabled, emits the full API response as one item.
Output shape
A list of items: one per cluster when simplified, otherwise one item containing the API response.
Requires at least five documents or the operation errors. The node posts the documents and language to Sentor; n_clusters is included only when greater than zero. Simplified cluster items retain each cluster's fields and add an entities array aggregated from its documents.