Prompt Studio
Prompt Studio is a prompting environment, where you can create your prompts and test them. After testing the prompts, you can save save them, adding them to the list and to be used later in the templates or in the portal.
Prompts List
When first accessing the Prompts list, you will find a list of preset prompts to be used as examples.
For each prompt, you have the option to Edit or Delete.
Edit: prompts can be edited by clicking on the name of the prompt or by clicking on the three dots under the Action and selecting Edit.
Delete: prompts can be deleted by clicking on the three dots under the Action and selecting Delete.
Create Prompts
Click on “Create prompt”
Start writing your prompt in the Prompt text box:
Prompts need to be specific to your use case. A prompt is an instruction you give to the model on what it needs to do, so it needs to be tailored to the specific workflow stage you want to connect it to.
Fill in the required settings:
Name: give a name to your prompt
Description: the description will help you remember what your prompt is useful for
Model: select the LLM model you want to use
Temperature: for LLMs, the temperature is an measure of the creativity level for the output. Low temperature means low creativity but high consistency in the output. High temperature will provide more creative generations, but the consistency and accuracy will decrease.
Workflow Stage:
Pre-editing: the prompt will be visible in the Templates in the Pre-editing step drop-down list
Post-editing: the prompt will be visible in the Templates in the Post-editing step drop-down list
Portal: the prompt can be connected to the Writing section of the portal through the admin panel
See APE Prompt Design Guide for a practical style guide to create Post-Editing prompts.
Check that your prompt has the variable {text}. Depending on the workflow stage the prompt will be connected to, this variable is a placeholder for:
Pre-editing: the source text of the translation
Post-editing: the translation, the translated target text
Portal: the text provided in the text interface or in the uploaded document
Make sure your {text} variable is pointing to the correct text your prompt is meant for, otherwise the output of the model will be mostly hallucinations.
Test your prompt:
Insert the sentence you want to modify in the text box
Click “Test prompt”
Correct the prompt to get the desired output.
Save the prompt by clicking “Save”