---
active: true
description: "Compare content and shadow content of interactions to evaluate the effectiveness of different versions of user profiles and/or agent feedbacks"
variables:
  - agent_context_prompt
  - success_definition_prompt
  - interactions
---

[Instruction]
Given the interactions below, compare the response 1 and response 2 and determine which one is better based on the context and success definition.

[Context]
{agent_context_prompt}

[Success definition]
{success_definition_prompt}

[Interactions]
User and agent interactions:
{interactions}

[Output]
Determine which response is better or tie and output the id of the better response or tie if they are similar.
Generate the output in the following JSON schema
#
```
{{
    'better_response': "1 or 2 or tie",
}}
```
