Before you run your prompt, notice the Variables section in the bottom right to set variable values.
Variables are placeholders for values that will be used in your prompt at runtime.
These usually represent the end-user inputs, additional context, outputs from previous prompts, etc.
Click on Run button (top right) in the Playground to run your prompt.
Congratulations! You just ran your first prompt in Adaline.
(Optional) This guide assumes the default prompt but you can edit the prompt and variables to suit your use case.
Add as many messages as you need for zero shot or few shot prompts.
Update roles per message by clicking on the role (eg. User in the screenshot).
Add as many variables as you need by typing variable name between double curly brackets {{}}.
Update the variable values in the Variable Editor.
Before you can evaluate your prompt responses, you need to setup a dataset.
A dataset is a collection of test cases that you can use to evaluate your prompt responses.
Each column in the dataset represents a variable from the prompt.
Each row in the dataset represents a test case.
Click on Dataset in the sidebar.
Click on Add column.
Double-click the column name to rename it. Name the column to persona. Your dataset must have at least the columns exactly matching the variable names in your prompt to run evaluations.
Click on Add row to add test cases.
After you’ve added a row, double-click the cell to edit the value.
Add 3-5 rows with different variable values to simulate various test cases.
Now that you’ve successfully ran your first prompt and evaluated it, feel free to orchestrate new prompt ideas or bring your existing prompts to Adaline.
Sidebar will allow you to create, rename, and move folders, projects, prompts, datasets.
A project can contain multiple prompts and datasets, each representing a node in a larger workflow or even an end-to-end workflow.
To deploy a prompt to your application and monitor its performance, refer to this guide.