Icon

LLM with Structured Output

<p><strong>Get structured output from an LLM</strong></p><p>This workflow demonstrates how to reliably generate structured output from a large language model to produce a formatted output table. It uses a small set of customer feedback examples to show how structured prompting leads to consistent, machine readable results.</p><p>The workflow shows how to:</p><ul><li><p>Instruct an LLM to return valid structured output using an explicit prompt schema</p></li><li><p>Define multiple output fields with different data types</p></li><li><p>Return each extracted field as a separate column in the output table</p></li></ul><p>The LLM Prompter outputs the structured results directly as a KNIME table, making them easy to validate and integrate into downstream workflows such as dashboards, data pipelines, or agent tools.</p>

URL: AI Docs https://docs.knime.com/ap/latest/analytics_platform_ai_extension_guide/

Structured output from an LLM

This workflow prompts an LLM to return structured information from meeting notes in which ongoing projects are discussed. The extracted information includes:

  • Project deadlines

  • Responsible persons

  • Stakeholders

  • Current project status

The output is returned in a well defined structure that can be directly used in downstream workflow steps.


Authenticate

Select LLM

Meeting notes

Prompt model

API key
Credentials Configuration
Anthropic Authenticator
claude-haiku-4-5-20251001
Anthropic LLM Selector
Table Creator
LLM Prompter

Nodes

Extensions

Links