Create a prompt and test cases in 5 minutes
positive
or negative
.Movie Review Sentiment
`system` message
`user` message
{{ }}
).Model Configuration
gpt-4
, claude
, etc.)0
for consistent deterministic outputsJSON
Define Prompt Parameters
review
text
to allow multi-line input{{review}}
placeholder in your promptDefine the Output Schema
sentiment
Try a Negative Input
Add Sample Input
review
parameter. For example:Positive reviewRun and Inspect
Repeat with Another Input
Add Test Case
positive 1
review
to:Add Assertion
sentiment
as the output field to checkequal
positive
Run All Tests
Set API Key (if required)
Review Results
equal
— e.g., contains
, regex
, `in list- Modify the prompt instructions to improve classification accuracy