CustomPrompt
class.
response
, query
, context
, expected_response
(whichever you specify in your prompt).boolean
passed
(0 or 1)query
and refund policy, determine if the response
adheres to the refund policy. User query
: Refund policy: response
: ”query
: “How many vacation days are we allowed?”context
: “Employees are allowed 15 holidays per year, and 5 days of paid leave.”response
: “Employees are allowed 20 vacation days per year, and 5 days of paid leave.”response
does not adhere to the refund policy provided. The refund policy is that employees are allowed 15 holidays per year, and 5 days of paid leave.CustomPrompt
class and specify your own eval_prompt
.
query
, context
,
response
) will be interpolated from your dataset
.