Iterate on and compare prompt versions.
Create New Session
.
TLDR: Write your prompt, use {{}}
to define template variables. Fill in the input values and click Compare
🎉!
Parea’s prompt playground is a grid where your prompt templates are the columns, and the template inputs are the rows.
Every time you change prompt parameters and run an inference, a new prompt version is created, making it easy to track
all prompt changes and compare different versions.
{{}}
.
Template variables will automatically appear as input rows; the values will be interpolated at runtime.
The prompt section is flexible for various LLM models.
For models that support multiple messages and roles, such as OpenAI models, Claude 2.1 (with system message role),
and Anyscale’s OSS models, you will be able to add new messages and define the roles; Parea will handle the proper
prompt formatting in the background.
For models that support function calling, such as OpenAI models and Anyscale’s Mistral-7B-Instruct, you can
click Add Function
to either attach an existing function schema or create a new one. Using the selected function,
you can instruct the model to call a specific function, or select auto
to allow the model to determine whether to use a function.
Add to test collection
button and optionally provide a target value.
gpt-4-vision-preview
from the model dropdown menu. When you select GPT-4 Vision, the input cell will change to support uploading images.{{image}}
image icon
next to the template variable you added to switch to image input mode.Choose file
to upload an image