Project prompt
Add and manage prompts on the app edit screen
You can write prompts in real time on the app edit screen and apply them to the app immediately. Prompts are divided into the following two scopes.
Project prompt: A prompt that can be shared across multiple apps within a single project.
App prompt: A prompt that is dependent on and used only by a specific app. For details, App prompt please refer to the guide.
1. Add a project prompt from the app edit screen

Select the prompt scope. Choose Project Prompt.
Select the LLM model that will execute the prompt.
To use an existing prompt, select the prompt you want from the 'Prompt' dropdown.

To create a new prompt, click the + Add button.

Add and write the prompt 5-1. Enter the prompt name. 5-2. Enter the prompt description (a description to help distinguish the purpose of the prompt; it does not affect actual execution). 5-3. Enter the system prompt. The system prompt is used to configure the LLM's behavior. For example, you can assign a specific persona to the model or define behavioral guidelines the model should follow throughout the conversation.
⚠ When using dynamic inputs in prompts, use curly braces
{}without fail.5-4. Enter the user prompt In the user prompt, write the request or question the LLM should respond to. Writing queries and questions is recommended. It is optional.
⚠ When using dynamic inputs in prompts, use curly braces
{}without fail.5-5. Add dynamic inputs You can assign variables whose values change dynamically within the prompt.
Add dynamic input

Enter the name of the dynamic input item to use within the prompt.
Specify the variable value to be assigned to that item. There are two types of variable values that can be assigned to dynamic inputs: system and app.
a. System variable An input that is integrated with the Alli system and automatically receives values.
EMAIL,LANGUAGEare variables automatically provided by the system.
b. App variable
An option that allows you to specify variables directly within the app and enter their values.
Input values can be freely assigned according to the situation and needs, and values may change depending on the app's conversation flow.
Add an app variable

Enter the variable name.
Select the variable type.
Conversation: The value is stored and applied only within the conversation.
User: The user's value is stored and applied even after the conversation ends.
Select the variable kind. (Total 11 types)
For more details, Variable value guide can be found.
Click the Save button.
If necessary, choose the token trimming ON/OFF option. It is recommended to set to ON for variables with long tokens.
2. Manage project prompts
2-1. Single prompt
The basic type that operates as a single prompt. It can be selected and used in the LLM execution node.

Project prompts can be edited, deleted, and copied by any member with permission on the prompt management page. Also, prompts modified in the management screen are applied immediately to the nodes in use and can be shared across multiple apps. You can also copy a project prompt and use it as an app prompt. For details, App prompt guideplease refer to it.
Add a single prompt and use it in the LLM execution node
Follow the steps below to create a new single prompt and use it in an actual node.

Click the Add Prompt button.

After writing the necessary content for the prompt, click the Save button.
In the app edit screen, select the LLM execution node.

Select the prompt scope. Choose Project Prompt.
Select the LLM model that will execute the prompt.
When you click the prompt dropdown, the prompt you just wrote appears in the list. Select that prompt from the list and click the Apply button.
2-2. Group prompt
A group prompt is a form in which multiple prompts are linked step by step and operate organically.

Group prompts are prompt bundles provided by Alli by default; they cannot be newly created and can only be used by copying and modifying. They are used in answer generation nodes; the prompt settings page does not allow new creation and only supports copying, editing, and deleting.
Edit a group prompt and use it in the answer generation node
Follow the steps below to edit a group prompt and use it in an actual node.


Click the Copy Prompt button.

Navigate to the step you want to edit in the prompt, then select that step to proceed with editing. Eight steps are chained in total, and clicking each step lets you view details.

*The main step that actually generates the answer is step 5-1; if edits are needed, it is recommended to edit the content of this step.
After editing, click the Save button.
In the app edit screen, select the answer generation node.

Select the group prompt.
Select the LLM model that will execute the prompt.
When you click the prompt dropdown, the group prompt you just edited appears in the list. Select that prompt from the list and click the Apply button.
Last updated