Beyond naive use cases, you can create more complex templates as per Jinja’s documentation for a variety of tasks. Here’s one template that structures retrieved chunks and their relevant metadata from a knowledge retrieval node into a formatted markdown:
This template node can then be used within a Chatflow to return intermediate outputs to the end user, before a LLM response is initiated.
The Answer node in a Chatflow is non-terminal. It can be inserted anywhere to output responses at multiple points within the flow.
Example: Support for rendering HTML forms:
Edit this page | Report an issue