The AIP Generated Content widget can display the response from an AIP Logic function or visually stream the response from an LLM (similar to the Stream LLM response into variable event).
The AIP Generated Content widget has the following three options for generating a response:
Logic: This option requires selecting an AIP Logic function.
Direct to LLM: This option enables displaying the response of an LLM in real time within the widget. It has the following configuration options:
0
and 1
. Higher values, like 0.8
, will make the output more random, while lower values, like 0.2
, will make the output more focused and deterministic.LLM via prompt function: This option is the same as Direct to LLM, but the prompt is a function instead of a string.
The following example shows what the AIP Generated Content widget looks like when displaying a string response: