Prompt Composer Layout
Console Layout
Prompt Composer has a 3-panel structure, with each containing two partitions.
Refer to the following map and legend to for a description of the component panels of Prompt Composer and its display controls.
All panels are individually collapsible.

Label | Description |
---|---|
a | Font slider - use to enlarge or minimize the font size. |
b | 3-panel view. Default setting. |
c | 1-panel view. Prompt Composer only displays the Prompt Editor and SnapGPT Assistant. |
d | Left-side 2-panel view. Prompt Composer only displays Input Schema, Input Data with Prompt Editor and SnapGPT Assistant. |
e | Right-side 2-panel view. Prompt Composer only displays Rendered Template and LLM Response with Prompt Editor and SnapGPT Assistant. |
Refer to the table for a description of the following UI buttons.
Button | Description |
---|---|
Update | Updates the contents in the Rendered Template field, validates the pipeline, and sends the prompt to the LLM. |
Done | Saves latest changes, validates pipeline, and keeps the Prompt Composer console open. |
X | Closes the Prompt Composer console. |
Input Schema
Displays the organization and format of the incoming data from the upstream Snap. This includes the types of data fields (such as strings, integers, and dates) and their relationships. This view helps you write your prompts based on reliable data analysis and processing.
Input Data
Displays the incoming data from upstream Snaps. This view allows you to scroll through the data without having to look at the source or data preview.
Prompt Editor
Enables you to write prompts using mustache template syntax. You can click the left-facing arrow to return to the previous prompt you entered. This grays out the Rendered Template content. To return to the current prompt, click the right-facing arrow.
Assistant - Ask SnapGPT
Empowers you to write and modify prompts by leveraging SnapGPT for help. This also removes the need to use mustache template syntax. You can ask the SnapGPT to generate your prompt using natural language. When SnapGPT returns a suggested prompt, it displays in the Prompt Editor window. Learn More.
Rendered Template
Displays the template sent to the downstream LLM Snap. When you use the Assistant to generate a prompt, the result is the prompt your wrote in natural language rendered in mustache syntax.
LLM Response
Displays the LLM response. When you enter your prompt, and click Update, the Prompt Composer sends the prompt to the LLM Snap.