Generate Artifact

The Generate Artifact block uses an input template to generate an artifact.

You can use this block to format results with a pre-determined structure.

There are three possible template types:

  • CEL expansion - Define a CEL expression to generate a text or Markdown output

  • Jinja template - Define a Jinja template to generate a text or Markdown output

  • DocX Jinja expansion - Point to a managed folder containing a docx jinja template. This can generate a DOCX or PDF output.

This block produces an inline artifact, that is streamed to the user.