DATASET GET CONTEXT

Resolves a context template string against a dataset, substituting dataset column values or metadata tokens to produce a filled-in text context. Use this worker when you need to generate a prompt, label, or descriptive string that is dynamically populated from dataset contents.

When to use

Classification: process.

Tagged: context, dataset, llm_context, substitution, template, text.

Inputs

Label ID Type Default Required Description
Dataset dataset_1 dataset   Input dataset whose column values and metadata are used to populate the context template; leave empty if the template contains no dataset-dependent tokens.
Context Template context_text textarea   Jinja-style or token-based template string (plain text / code) whose placeholders will be resolved against the supplied dataset to produce the final context output.

Outputs

Label ID Type Description
Context dataset_get_context_1 textarea Fully resolved context string produced by substituting all template tokens with values drawn from the input dataset; returned as plain text.

Disciplines

  • ai_ml.llm
  • data.dataset.transform

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=dataset_get_context


Auto-generated from transformation schema. Worker id: dataset_get_context. Schema hash: 5fed36c113d5. Hand-curated docs in workerexamples/ override this page when present.