Text Output

Enables Diaflow to show calculated text to the user and optionally input this data into a secondary LLM in the flow.

Description

The main task of the Text Output component is to display computed output text to the user, however it can also be used to drive the input of a secondary LLM. Once the Text Output component contains a textual value, the value can be copied, cleared or downloaded, by clicking the appropriate button at the top of the Text Output components UI.

Inputs

The Text Output component has the following input connections.

Input NameDescriptionConstraints

From LLM

This input connection captures the textual output from an LLM type component, and is used by the Text Output component to display the text to the user.

Must originate from an LLM type component, such as the OpenAI component.

Component settings

Parameter NameDescription

Title

Specify the title for your output. For example, you can name your text output "Response".

Value

The value lets you link a component's output to its value. To do this, type @ and then choose the component's output or status.

Use Markdown Format

Refers to the practice of writing and formatting text using the Markdown syntax. Markdown is a lightweight markup language with plain text formatting syntax that allows you to easily create formatted text that can be converted to HTML and other formats.

Use case

You can view all the various use cases with the text Output in the Examples section.

Last updated