Quick start
Learn how to create a trustworthy LLM prompt in 10 minutes.
Overview of steps
- Sign in to Gists
- Create a gist
- Edit the default variant
- Run the gist
- Save the run as a test case
Step-by-step guide
Create a free Gists account on the Sign In page if you haven’t already.
- Navigate to
Gists
on the left menu - Click on
New Gist
button on the page - Accept the default name or give it a custom name in the modal
- Click on the
Create
button
On the management page for the new gist you just created,
-
Click on
Default
variant in the list to enter theVariant Editor
page -
On the right panel of
Variant Editor
, enter your LLM prompts. You can add variables by wrapping the variable name with curly brackets like this:{{<variable_name>}}
Space between curly brackets and variable names or in the variable names are not supported.Here is an example LLM prompt you can copy and try: -
Click on
Save
button on the top right
-
On the bottom of the right panel, find the
Run
tab -
You should see a table with headers
variant
andvalue
-
Enter some value into the
value
cell for the variables. E.g.Patriots have lost another game this season
if you’re using the example prompt above -
Click on the green
Run
button at the bottomIt can take the LLM a few seconds to respond
When the LLM responds, the output will show up in the Output
panel, next to the Variable
panel
- Click on the More icon with three vertical dots on the right
- Click on
Add to Tests
on the menu - On the bottom left corner of the page, you’ll see the
Tests
tab. A new test case calledUntitled test case
should be added. Feel free to change its name.