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, Markdown or PDF output

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

  • DOCX Jinja template - 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.